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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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: translateModel(Buildings.Media.Examples.AirProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|X.1.|d|eta|h|hLiq|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_9_Buildings.Media.Examples.AirProperties") translateModel(Buildings.Media.Examples.AirProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|X.1.|d|eta|h|hLiq|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_9_Buildings.Media.Examples.AirProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001353/0.001353, allocations: 114.3 kB / 16.37 MB, free: 5.539 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.001432/0.001432, allocations: 187.5 kB / 17.3 MB, free: 5.184 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.324/1.324, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.212/2.212, allocations: 390.3 MB / 0.6655 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001195, allocations: 64.28 kB / 0.814 GB, free: 32.73 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2597/0.2609, allocations: 140.4 MB / 0.9511 GB, free: 8.07 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.6894/0.9504, allocations: 149.1 MB / 1.097 GB, free: 5.66 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003753/0.9542, allocations: 3.616 MB / 1.1 GB, free: 5.594 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.873e-05/0.9543, allocations: 3.281 kB / 1.1 GB, free: 5.594 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000327/0.9546, allocations: 62.58 kB / 1.1 GB, free: 5.594 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003172/0.955, allocations: 133 kB / 1.1 GB, free: 5.586 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002241/0.9573, allocations: 1.013 MB / 1.101 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004195/0.9577, allocations: 316.4 kB / 1.102 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.516e-05/0.9578, allocations: 11.77 kB / 1.102 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003878/0.9582, allocations: 196.2 kB / 1.102 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002117/0.9584, allocations: 132.1 kB / 1.102 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.164e-05/0.9584, allocations: 11.41 kB / 1.102 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002058/0.9605, allocations: 1.217 MB / 1.103 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000117/0.9606, allocations: 75.78 kB / 1.103 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000147/0.9608, allocations: 107.8 kB / 1.103 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001315/0.9621, allocations: 0.6346 MB / 1.104 GB, free: 5.461 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.9621, allocations: 0 / 1.104 GB, free: 5.461 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.884e-06/0.9621, allocations: 1.094 kB / 1.104 GB, free: 5.461 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.9621, allocations: 1.094 kB / 1.104 GB, free: 5.461 MB / 0.8575 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.001369/0.9635, allocations: 0.5918 MB / 1.105 GB, free: 21.01 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.9635, allocations: 9.469 kB / 1.105 GB, free: 21.01 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001251/0.9648, allocations: 134.7 kB / 1.105 GB, free: 21 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003005/0.9651, allocations: 220.6 kB / 1.105 GB, free: 20.79 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.917e-05/0.9651, allocations: 15.19 kB / 1.105 GB, free: 20.79 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.518e-05/0.9652, allocations: 21.12 kB / 1.105 GB, free: 20.79 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005816/0.9658, allocations: 342.8 kB / 1.105 GB, free: 20.71 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.9658, allocations: 0 / 1.105 GB, free: 20.71 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.152e-05/0.9658, allocations: 11.19 kB / 1.105 GB, free: 20.71 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.609e-05/0.9659, allocations: 14.81 kB / 1.105 GB, free: 20.71 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005679/0.9664, allocations: 320.5 kB / 1.106 GB, free: 20.71 MB / 0.8731 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.001729/0.9682, allocations: 1.113 MB / 1.107 GB, free: 19.94 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005331/0.9687, allocations: 193.6 kB / 1.107 GB, free: 19.91 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001521/0.9689, allocations: 79.7 kB / 1.107 GB, free: 19.91 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005866/0.9695, allocations: 465.2 kB / 1.107 GB, free: 19.43 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.858e-05/0.9695, allocations: 37.22 kB / 1.107 GB, free: 19.39 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=21): time 2.274e-06/0.9695, allocations: 0 / 1.107 GB, free: 19.39 MB / 0.8731 GB Notification: Performance of matching and sorting (n=21): time 0.0007306/0.9703, allocations: 264.7 kB / 1.108 GB, free: 19.34 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.887e-05/0.9703, allocations: 53.44 kB / 1.108 GB, free: 19.28 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002213/0.9705, allocations: 202.3 kB / 1.108 GB, free: 19.18 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.432e-05/0.9706, allocations: 35.91 kB / 1.108 GB, free: 19.14 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 8.401e-05/0.9707, allocations: 145.6 kB / 1.108 GB, free: 19.03 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 5.183e-05/0.9707, allocations: 80.12 kB / 1.108 GB, free: 18.98 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.04e-05/0.9708, allocations: 52.72 kB / 1.108 GB, free: 18.96 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.9709, allocations: 327.6 kB / 1.109 GB, free: 18.64 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001387/0.9711, allocations: 76.36 kB / 1.109 GB, free: 18.64 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001951/0.9713, allocations: 162.8 kB / 1.109 GB, free: 18.54 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003877/0.9717, allocations: 248 kB / 1.109 GB, free: 18.42 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.9717, allocations: 1.766 kB / 1.109 GB, free: 18.42 MB / 0.8731 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006156/0.9723, allocations: 283.5 kB / 1.109 GB, free: 18.38 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.9724, allocations: 7.266 kB / 1.109 GB, free: 18.38 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.9724, allocations: 2.875 kB / 1.109 GB, free: 18.38 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.9724, allocations: 4.312 kB / 1.109 GB, free: 18.38 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002729/0.9727, allocations: 65.42 kB / 1.109 GB, free: 18.37 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.203e-05/0.9727, allocations: 6.797 kB / 1.109 GB, free: 18.37 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001982/0.9729, allocations: 30.75 kB / 1.109 GB, free: 18.36 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.863e-05/0.9729, allocations: 11.45 kB / 1.109 GB, free: 18.36 MB / 0.8731 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.0001276/0.9731, allocations: 141.2 kB / 1.11 GB, free: 18.24 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001238/0.9732, allocations: 23.36 kB / 1.11 GB, free: 18.23 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005007/0.9737, allocations: 273 kB / 1.11 GB, free: 18.19 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.656e-06/0.9737, allocations: 10.97 kB / 1.11 GB, free: 18.18 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.9737, allocations: 3.156 kB / 1.11 GB, free: 18.18 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.9737, allocations: 3.609 kB / 1.11 GB, free: 18.18 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008199/0.9746, allocations: 0.5819 MB / 1.11 GB, free: 17.86 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.9746, allocations: 5.406 kB / 1.11 GB, free: 17.86 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002/0.9748, allocations: 33.3 kB / 1.11 GB, free: 17.86 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.06e-06/0.9748, allocations: 1.25 kB / 1.11 GB, free: 17.86 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.16e-05/0.9748, allocations: 8.422 kB / 1.111 GB, free: 17.86 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.9748, allocations: 6.578 kB / 1.111 GB, free: 17.85 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.9748, allocations: 1.219 kB / 1.111 GB, free: 17.85 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005388/0.9754, allocations: 338.7 kB / 1.111 GB, free: 17.7 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001595/0.9756, allocations: 122.3 kB / 1.111 GB, free: 17.59 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.905e-05/0.9756, allocations: 5.875 kB / 1.111 GB, free: 17.59 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002454/0.9759, allocations: 20.5 kB / 1.111 GB, free: 17.58 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.896e-05/0.9759, allocations: 11.3 kB / 1.111 GB, free: 17.58 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.322e-05/0.9759, allocations: 15.28 kB / 1.111 GB, free: 17.58 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001424/0.9761, allocations: 151.5 kB / 1.111 GB, free: 17.5 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9761, allocations: 2.344 kB / 1.111 GB, free: 17.5 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0006026/0.9767, allocations: 113.5 kB / 1.111 GB, free: 17.5 MB / 0.8731 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.0004603/0.9772, allocations: 225 kB / 1.111 GB, free: 17.38 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004588/0.9776, allocations: 209.7 kB / 1.112 GB, free: 17.38 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.9777, allocations: 0.75 kB / 1.112 GB, free: 17.38 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001857/0.9778, allocations: 108.6 kB / 1.112 GB, free: 17.37 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006112/0.9785, allocations: 101.5 kB / 1.112 GB, free: 17.35 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007577/0.9792, allocations: 458.2 kB / 1.112 GB, free: 17.13 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002869/0.9795, allocations: 0.7333 MB / 1.113 GB, free: 16.44 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002139/0.9798, allocations: 58.47 kB / 1.113 GB, free: 16.41 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.056e-05/0.9798, allocations: 23.62 kB / 1.113 GB, free: 16.41 MB / 0.8731 GB Notification: Performance of SimCode: time 2.31e-07/0.9798, allocations: 1.781 kB / 1.113 GB, free: 16.41 MB / 0.8731 GB Notification: Performance of Templates: time 0.01166/0.9915, allocations: 5.49 MB / 1.118 GB, free: 16.03 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Media.Examples.AirProperties.makefile (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 & ./Buildings_9_Buildings.Media.Examples.AirProperties -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > 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