Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001231/0.001231, allocations: 108 kB / 15.6 MB, free: 124 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001203/0.001203, allocations: 195.6 kB / 16.54 MB, free: 6.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.221/1.221, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.165/2.165, allocations: 390.2 MB / 0.6647 GB, free: 428 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 59.91 kB / 0.8127 GB, free: 14.32 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4949/0.4961, allocations: 140.4 MB / 0.9497 GB, free: 9.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant): time 0.001497/0.4976, allocations: 0.5812 MB / 0.9503 GB, free: 8.68 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 3.029e-05/0.4976, allocations: 0 / 0.9503 GB, free: 8.68 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.856e-05/0.4977, allocations: 1 kB / 0.9503 GB, free: 8.68 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.059e-05/0.4977, allocations: 0 / 0.9503 GB, free: 8.68 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 1.981e-05/0.4977, allocations: 0 / 0.9503 GB, free: 8.68 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 2.606e-05/0.4977, allocations: 0.9062 kB / 0.9503 GB, free: 8.68 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.968e-05/0.4978, allocations: 5.25 kB / 0.9503 GB, free: 8.676 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.944e-05/0.4978, allocations: 1.844 kB / 0.9503 GB, free: 8.676 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.179e-05/0.4978, allocations: 7.938 kB / 0.9503 GB, free: 8.668 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 1.325e-05/0.4979, allocations: 1.344 kB / 0.9503 GB, free: 8.668 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.213e-05/0.4979, allocations: 0 / 0.9503 GB, free: 8.668 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.346e-06/0.4979, allocations: 0 / 0.9503 GB, free: 8.668 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.828e-06/0.4979, allocations: 1.594 kB / 0.9503 GB, free: 8.668 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.637e-05/0.4979, allocations: 11.86 kB / 0.9503 GB, free: 8.656 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 4.313e-05/0.498, allocations: 5.609 kB / 0.9504 GB, free: 8.652 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.498, allocations: 0 / 0.9504 GB, free: 8.652 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.272e-06/0.498, allocations: 0 / 0.9504 GB, free: 8.652 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.529e-06/0.498, allocations: 0 / 0.9504 GB, free: 8.652 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0001739/0.4982, allocations: 315.9 kB / 0.9507 GB, free: 8.297 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.195e-05/0.4982, allocations: 8.188 kB / 0.9507 GB, free: 8.297 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.089e-05/0.4982, allocations: 36.55 kB / 0.9507 GB, free: 8.254 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.628e-05/0.4982, allocations: 4.844 kB / 0.9507 GB, free: 8.25 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.239e-05/0.4983, allocations: 164.3 kB / 0.9509 GB, free: 8.051 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.286e-06/0.4983, allocations: 1.844 kB / 0.9509 GB, free: 8.051 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.559e-06/0.4983, allocations: 384 / 0.9509 GB, free: 8.051 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.529e-05/0.4984, allocations: 29.23 kB / 0.9509 GB, free: 8.02 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.092e-06/0.4984, allocations: 7.922 kB / 0.9509 GB, free: 8.012 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.8e-06/0.4984, allocations: 4 kB / 0.9509 GB, free: 8.008 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.417e-06/0.4984, allocations: 0 / 0.9509 GB, free: 8.008 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.289e-05/0.4984, allocations: 5.938 kB / 0.9509 GB, free: 8.004 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001643/0.4986, allocations: 378.8 kB / 0.9513 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.348e-05/0.4986, allocations: 173.1 kB / 0.9514 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.258e-05/0.4987, allocations: 85.92 kB / 0.9515 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.195e-06/0.4987, allocations: 75.28 kB / 0.9516 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.614e-05/0.4987, allocations: 109.8 kB / 0.9517 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 8.01e-07/0.4987, allocations: 1.688 kB / 0.9517 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 5.061e-05/0.4987, allocations: 29.69 kB / 0.9517 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.37e-05/0.4988, allocations: 128.1 kB / 0.9518 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.388e-05/0.4988, allocations: 100 kB / 0.9519 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.358e-06/0.4988, allocations: 26.89 kB / 0.952 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.058e-05/0.4988, allocations: 80.14 kB / 0.952 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.203e-06/0.4989, allocations: 0 / 0.952 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.502e-05/0.4989, allocations: 10.88 kB / 0.952 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 2.981e-05/0.4989, allocations: 312.3 kB / 0.9523 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.246e-06/0.4989, allocations: 0 / 0.9523 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.515e-06/0.4989, allocations: 0 / 0.9523 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.989e-06/0.4989, allocations: 84.64 kB / 0.9524 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.735e-06/0.4989, allocations: 79.22 kB / 0.9525 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.389e-05/0.499, allocations: 32.17 kB / 0.9525 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.499, allocations: 81.06 kB / 0.9526 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.499, allocations: 76.69 kB / 0.9527 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.254e-05/0.4991, allocations: 159.8 kB / 0.9528 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.336e-06/0.4991, allocations: 79.31 kB / 0.9529 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.424e-05/0.4991, allocations: 159.8 kB / 0.9531 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.355e-05/0.4991, allocations: 76.41 kB / 0.9531 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.346e-06/0.4992, allocations: 84.45 kB / 0.9532 GB, free: 5.52 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.094e-05/0.4992, allocations: 261.6 kB / 0.9535 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.217e-05/0.4992, allocations: 110.2 kB / 0.9536 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.885e-05/0.4993, allocations: 117 kB / 0.9537 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.662e-05/0.4993, allocations: 181.3 kB / 0.9539 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.827e-05/0.4993, allocations: 183.3 kB / 0.954 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.488e-05/0.4993, allocations: 176.3 kB / 0.9542 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001098/0.4994, allocations: 408 kB / 0.9546 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.04e-05/0.4995, allocations: 109 kB / 0.9547 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.007e-05/0.4995, allocations: 110.3 kB / 0.9548 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.688e-05/0.4995, allocations: 177.6 kB / 0.955 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.734e-05/0.4995, allocations: 176.3 kB / 0.9551 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.535e-05/0.4995, allocations: 181.5 kB / 0.9553 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.681e-05/0.4995, allocations: 185.5 kB / 0.9555 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.858e-05/0.4996, allocations: 311.3 kB / 0.9558 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.132e-05/0.4996, allocations: 183.8 kB / 0.956 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.335e-05/0.4997, allocations: 185.3 kB / 0.9561 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.685e-05/0.4997, allocations: 102.1 kB / 0.9562 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.01e-05/0.4997, allocations: 181.4 kB / 0.9564 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-05/0.4997, allocations: 110.3 kB / 0.9565 GB, free: 1.945 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.465e-05/0.4998, allocations: 76.5 kB / 0.9566 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.4998, allocations: 0 / 0.9566 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002428/0.5, allocations: 1.156 kB / 0.9566 GB, free: 1.871 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001751/0.5002, allocations: 0.8142 MB / 0.9574 GB, free: 1.051 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 2.784e-05/0.5002, allocations: 1.312 kB / 0.9574 GB, free: 1.051 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.5002, allocations: 0 / 0.9574 GB, free: 1.051 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.542e-06/0.5002, allocations: 1.281 kB / 0.9574 GB, free: 1.051 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002307/0.5005, allocations: 457 kB / 0.9578 GB, free: 0.6016 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007365/0.5012, allocations: 1.534 MB / 0.9593 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00019/0.5014, allocations: 0.6791 MB / 0.96 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 5.119e-06/0.5014, allocations: 0 / 0.96 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.773e-05/0.5015, allocations: 7.438 kB / 0.96 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of SimCode: time 2.11e-07/0.5015, allocations: 0 / 0.96 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01319/0.5147, allocations: 0.9012 MB / 0.9609 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.626/7.141, allocations: 11.34 kB / 0.9609 GB, free: 13.77 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Constant.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches