Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Media.Examples.AirProperties.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.Media.Examples.AirProperties,fileNamePrefix="Buildings_9_Buildings_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirProperties,fileNamePrefix="Buildings_9_Buildings_Media_Examples_AirProperties",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.008102/0.008103, allocations: 103 kB / 15.73 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001903/0.001903, allocations: 194.1 kB / 16.68 MB, free: 5.965 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.452/1.452, allocations: 222.9 MB / 240.4 MB, free: 4.172 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.384/2.384, allocations: 390.2 MB / 0.6648 GB, free: 152 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002153/0.002153, allocations: 74.31 kB / 0.9504 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2879/0.2901, allocations: 140.4 MB / 1.088 GB, free: 1.926 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.1571/0.4472, allocations: 149.1 MB / 1.233 GB, free: 12.24 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00453/0.4518, allocations: 3.62 MB / 1.237 GB, free: 8.617 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001822/0.452, allocations: 0 / 1.237 GB, free: 8.617 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.000419/0.4524, allocations: 67.56 kB / 1.237 GB, free: 8.551 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003794/0.4529, allocations: 131.2 kB / 1.237 GB, free: 8.422 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002592/0.4555, allocations: 1.014 MB / 1.238 GB, free: 7.406 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0005123/0.456, allocations: 327.7 kB / 1.238 GB, free: 7.086 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.644e-05/0.4561, allocations: 9.562 kB / 1.238 GB, free: 7.074 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004342/0.4565, allocations: 195.1 kB / 1.238 GB, free: 6.883 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002034/0.4567, allocations: 127.5 kB / 1.238 GB, free: 6.758 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.017e-05/0.4568, allocations: 12 kB / 1.238 GB, free: 6.746 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002022/0.4588, allocations: 1.22 MB / 1.24 GB, free: 5.523 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001129/0.4589, allocations: 71.84 kB / 1.24 GB, free: 5.453 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001371/0.4591, allocations: 111.5 kB / 1.24 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001359/0.4604, allocations: 0.631 MB / 1.24 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.104e-06/0.4604, allocations: 3.984 kB / 1.24 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.383e-06/0.4605, allocations: 0 / 1.24 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.047e-05/0.4605, allocations: 0 / 1.24 GB, free: 4.711 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001312/0.4618, allocations: 0.5889 MB / 1.241 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.4618, allocations: 8.031 kB / 1.241 GB, free: 4.066 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.39e-05/0.4619, allocations: 58.73 kB / 1.241 GB, free: 4 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001213/0.4631, allocations: 132.5 kB / 1.241 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003051/0.4634, allocations: 235.7 kB / 1.241 GB, free: 3.602 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.931e-05/0.4635, allocations: 12.36 kB / 1.241 GB, free: 3.59 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.049e-05/0.4635, allocations: 19.94 kB / 1.241 GB, free: 3.57 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005483/0.4641, allocations: 338 kB / 1.242 GB, free: 3.219 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.4641, allocations: 0 / 1.242 GB, free: 3.219 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.764e-05/0.4641, allocations: 8 kB / 1.242 GB, free: 3.211 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.378e-05/0.4642, allocations: 23.98 kB / 1.242 GB, free: 3.188 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005228/0.4647, allocations: 324.1 kB / 1.242 GB, free: 2.871 MB / 0.9981 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001644/0.4663, allocations: 1.098 MB / 1.243 GB, free: 1.684 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005062/0.4669, allocations: 198.4 kB / 1.243 GB, free: 1.48 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001325/0.467, allocations: 80.75 kB / 1.243 GB, free: 1.398 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005602/0.4676, allocations: 457.5 kB / 1.244 GB, free: 0.8594 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.389e-05/0.4676, allocations: 42.56 kB / 1.244 GB, free: 0.8086 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=21): time 1.523e-06/0.4676, allocations: 3.938 kB / 1.244 GB, free: 0.8047 MB / 0.9981 GB Notification: Performance of matching and sorting (n=21): time 0.0006372/0.4683, allocations: 263.7 kB / 1.244 GB, free: 0.543 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.426e-05/0.4683, allocations: 51.41 kB / 1.244 GB, free: 492 kB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001881/0.4685, allocations: 203.1 kB / 1.244 GB, free: 276 kB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.156e-05/0.4686, allocations: 33.81 kB / 1.244 GB, free: 236 kB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.98e-05/0.4686, allocations: 143.9 kB / 1.245 GB, free: 88 kB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.025e-05/0.4687, allocations: 71 kB / 1.245 GB, free: 16 kB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.798e-05/0.4688, allocations: 53.61 kB / 1.245 GB, free: 15.96 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.4689, allocations: 330.8 kB / 1.245 GB, free: 15.62 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001217/0.4691, allocations: 72.22 kB / 1.245 GB, free: 15.55 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001791/0.4693, allocations: 160.7 kB / 1.245 GB, free: 15.36 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003047/0.4696, allocations: 249.8 kB / 1.246 GB, free: 15.08 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.4696, allocations: 3.938 kB / 1.246 GB, free: 15.07 MB / 1.014 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004871/0.4701, allocations: 285.1 kB / 1.246 GB, free: 14.79 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.4701, allocations: 8 kB / 1.246 GB, free: 14.78 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.814e-06/0.4701, allocations: 4 kB / 1.246 GB, free: 14.78 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.4701, allocations: 11.92 kB / 1.246 GB, free: 14.77 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002699/0.4704, allocations: 51.92 kB / 1.246 GB, free: 14.71 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.112e-05/0.4704, allocations: 7.984 kB / 1.246 GB, free: 14.71 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001963/0.4706, allocations: 35.53 kB / 1.246 GB, free: 14.67 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.621e-05/0.4707, allocations: 20.34 kB / 1.246 GB, free: 14.65 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 0.0001208/0.4708, allocations: 138.3 kB / 1.246 GB, free: 14.51 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001245/0.4709, allocations: 23.8 kB / 1.246 GB, free: 14.48 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000485/0.4714, allocations: 275.2 kB / 1.246 GB, free: 14.21 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.784e-06/0.4714, allocations: 4 kB / 1.246 GB, free: 14.21 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.4715, allocations: 0 / 1.246 GB, free: 14.21 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.4715, allocations: 0 / 1.246 GB, free: 14.21 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007371/0.4722, allocations: 0.5982 MB / 1.247 GB, free: 13.55 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.4722, allocations: 0 / 1.247 GB, free: 13.55 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001832/0.4724, allocations: 35.86 kB / 1.247 GB, free: 13.51 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.4724, allocations: 4 kB / 1.247 GB, free: 13.51 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.687e-05/0.4724, allocations: 4 kB / 1.247 GB, free: 13.5 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.4725, allocations: 4 kB / 1.247 GB, free: 13.5 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.4725, allocations: 0 / 1.247 GB, free: 13.5 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005042/0.473, allocations: 350.7 kB / 1.247 GB, free: 13.14 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000138/0.4731, allocations: 120.7 kB / 1.247 GB, free: 13 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.725e-05/0.4732, allocations: 11.98 kB / 1.247 GB, free: 12.99 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002399/0.4734, allocations: 11.94 kB / 1.247 GB, free: 12.98 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.206e-05/0.4735, allocations: 11.98 kB / 1.247 GB, free: 12.96 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.09e-05/0.4735, allocations: 15.98 kB / 1.247 GB, free: 12.95 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001256/0.4736, allocations: 152.3 kB / 1.248 GB, free: 12.8 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.2e-07/0.4736, allocations: 0 / 1.248 GB, free: 12.8 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004671/0.4741, allocations: 119.9 kB / 1.248 GB, free: 12.68 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001056/0.4752, allocations: 0.9781 MB / 1.249 GB, free: 11.67 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0003826/0.4756, allocations: 211.6 kB / 1.249 GB, free: 11.47 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4756, allocations: 128 / 1.249 GB, free: 11.47 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001423/0.4757, allocations: 107.8 kB / 1.249 GB, free: 11.36 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006209/0.4763, allocations: 101.6 kB / 1.249 GB, free: 11.27 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002762/0.4791, allocations: 2.488 MB / 1.252 GB, free: 8.617 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003054/0.4794, allocations: 0.7367 MB / 1.252 GB, free: 7.855 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0002309/0.4797, allocations: 62.17 kB / 1.252 GB, free: 7.797 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001163/0.4798, allocations: 59.41 kB / 1.252 GB, free: 7.738 MB / 1.014 GB Notification: Performance of SimCode: time 2.41e-07/0.4798, allocations: 0 / 1.252 GB, free: 7.738 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02533/0.5051, allocations: 7.819 MB / 1.26 GB, free: 48 kB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.257/8.762, allocations: 13.75 kB / 1.26 GB, free: 44 kB / 1.014 GB (rm -f Buildings_9_Buildings.Media.Examples.AirProperties.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.AirProperties.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.AirProperties.pipe >> ../files/Buildings_9_Buildings.Media.Examples.AirProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Media.Examples.AirProperties_res.mat --tempDir=temp_Buildings_9_Buildings_Media_Examples_AirProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Media_Examples_AirProperties.fmu > Buildings_9_Buildings.Media.Examples.AirProperties.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Examples.AirProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Examples_AirProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Examples.AirProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches