Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Examples.AirProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.Media.Examples.AirProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.473/1.473, allocations: 249.5 MB / 257 MB, free: 6.941 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001309/0.001309, allocations: 176.9 kB / 316.3 MB, free: 3.281 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.969/1.969, allocations: 205.3 MB / 0.5671 GB, free: 15.91 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001031/0.001031, allocations: 102 kB / 0.6715 GB, free: 5.012 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.658e-05/1.66e-05, allocations: 0 / 0.7814 GB, free: 102.8 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2543/0.2543, allocations: 106.3 MB / 0.8852 GB, free: 12.32 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.757/7.011, allocations: 2.205 GB / 3.09 GB, free: 203.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003359/7.012, allocations: 71.95 kB / 3.09 GB, free: 203.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1066/7.119, allocations: 49.9 MB / 3.139 GB, free: 152.7 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.983e-06/7.119, allocations: 0 / 3.139 GB, free: 152.7 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 2.331e-05/7.119, allocations: 4 kB / 3.139 GB, free: 152.7 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.001564/7.12, allocations: 0.5722 MB / 3.14 GB, free: 152.1 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.801e-05/7.12, allocations: 8.031 kB / 3.14 GB, free: 152.1 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001209/7.121, allocations: 135.6 kB / 3.14 GB, free: 152 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002778/7.122, allocations: 222.8 kB / 3.14 GB, free: 151.7 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.862e-05/7.122, allocations: 8 kB / 3.14 GB, free: 151.7 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.845e-05/7.122, allocations: 12 kB / 3.14 GB, free: 151.7 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005203/7.122, allocations: 312.7 kB / 3.14 GB, free: 151.4 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004162/7.123, allocations: 282.5 kB / 3.141 GB, free: 151.1 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/7.123, allocations: 3.984 kB / 3.141 GB, free: 151.1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.597e-05/7.123, allocations: 4 kB / 3.141 GB, free: 151.1 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.814e-05/7.123, allocations: 12.38 kB / 3.141 GB, free: 151.1 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001521/7.124, allocations: 1.131 MB / 3.142 GB, free: 149.8 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003983/7.125, allocations: 178.4 kB / 3.142 GB, free: 149.6 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001021/7.125, allocations: 72.83 kB / 3.142 GB, free: 149.6 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004047/7.125, allocations: 352.4 kB / 3.142 GB, free: 149.2 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.862e-05/7.125, allocations: 38.56 kB / 3.142 GB, free: 149.1 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=20): time 1.493e-06/7.125, allocations: 4 kB / 3.142 GB, free: 149.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=20): time 0.0004459/7.126, allocations: 172.3 kB / 3.143 GB, free: 148.9 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.632e-05/7.126, allocations: 51.41 kB / 3.143 GB, free: 148.9 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00013/7.126, allocations: 153.2 kB / 3.143 GB, free: 148.7 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.46e-05/7.126, allocations: 25.7 kB / 3.143 GB, free: 148.7 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.762e-05/7.126, allocations: 159.8 kB / 3.143 GB, free: 148.5 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.85e-05/7.126, allocations: 67.02 kB / 3.143 GB, free: 148.5 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.326e-05/7.126, allocations: 0 / 3.143 GB, free: 148.5 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.992e-05/7.126, allocations: 322.8 kB / 3.143 GB, free: 148.1 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.155e-05/7.126, allocations: 64.23 kB / 3.143 GB, free: 148.1 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001318/7.127, allocations: 156.4 kB / 3.143 GB, free: 147.9 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001581/7.127, allocations: 92 kB / 3.144 GB, free: 147.8 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/7.127, allocations: 0 / 3.144 GB, free: 147.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003714/7.127, allocations: 243.6 kB / 3.144 GB, free: 147.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/7.127, allocations: 11.95 kB / 3.144 GB, free: 147.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/7.127, allocations: 4 kB / 3.144 GB, free: 147.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/7.127, allocations: 4 kB / 3.144 GB, free: 147.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002484/7.128, allocations: 56.31 kB / 3.144 GB, free: 147.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/7.128, allocations: 11.94 kB / 3.144 GB, free: 147.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001917/7.128, allocations: 31.69 kB / 3.144 GB, free: 147.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.664e-05/7.128, allocations: 15.98 kB / 3.144 GB, free: 147.4 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.734e-05/7.128, allocations: 108.9 kB / 3.144 GB, free: 147.3 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.372e-05/7.128, allocations: 15.95 kB / 3.144 GB, free: 147.3 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003716/7.128, allocations: 210.1 kB / 3.144 GB, free: 147.1 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/7.128, allocations: 0 / 3.144 GB, free: 147.1 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/7.128, allocations: 4 kB / 3.144 GB, free: 147.1 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/7.128, allocations: 0 / 3.144 GB, free: 147.1 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004952/7.129, allocations: 479.5 kB / 3.145 GB, free: 146.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/7.129, allocations: 0 / 3.145 GB, free: 146.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001635/7.129, allocations: 35.92 kB / 3.145 GB, free: 146.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/7.129, allocations: 3.984 kB / 3.145 GB, free: 146.5 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.619e-05/7.129, allocations: 4 kB / 3.145 GB, free: 146.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/7.129, allocations: 4.031 kB / 3.145 GB, free: 146.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/7.129, allocations: 0 / 3.145 GB, free: 146.5 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003039/7.129, allocations: 285.2 kB / 3.145 GB, free: 146.2 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001072/7.13, allocations: 116.8 kB / 3.145 GB, free: 146.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.517e-05/7.13, allocations: 7.953 kB / 3.145 GB, free: 146.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002188/7.13, allocations: 8 kB / 3.145 GB, free: 146.1 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.426e-05/7.13, allocations: 11.98 kB / 3.145 GB, free: 146 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.506e-05/7.13, allocations: 11.98 kB / 3.145 GB, free: 146 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 7.308e-05/7.13, allocations: 119.2 kB / 3.145 GB, free: 145.9 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.4e-07/7.13, allocations: 0 / 3.145 GB, free: 145.9 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0006312/7.131, allocations: 139.8 kB / 3.145 GB, free: 145.8 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009981/7.132, allocations: 0.7188 MB / 3.146 GB, free: 145.1 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002861/7.132, allocations: 178.3 kB / 3.146 GB, free: 144.9 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/7.132, allocations: 4.312 kB / 3.146 GB, free: 144.9 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 8.392e-05/7.132, allocations: 71.91 kB / 3.146 GB, free: 144.8 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003949/7.132, allocations: 45.33 kB / 3.146 GB, free: 144.8 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005035/7.133, allocations: 234.2 kB / 3.147 GB, free: 144.5 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002225/7.133, allocations: 0.7365 MB / 3.147 GB, free: 143.8 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0002703/7.133, allocations: 49.81 kB / 3.147 GB, free: 143.7 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.466e-05/7.133, allocations: 23.44 kB / 3.147 GB, free: 143.7 MB / 0.8698 GB Notification: Performance of SimCode: time 3.11e-07/7.134, allocations: 0 / 3.147 GB, free: 143.7 MB / 0.8698 GB Notification: Performance of Templates: time 0.01076/7.144, allocations: 6.887 MB / 3.154 GB, free: 136.8 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Examples.AirProperties.makefile (rm -f Buildings_maint.7.0.x_Buildings.Media.Examples.AirProperties.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Examples.AirProperties.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Examples.AirProperties.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Examples.AirProperties.sim & ./Buildings_maint.7.0.x_Buildings.Media.Examples.AirProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Media.Examples.AirProperties.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Media.Examples.AirProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Media_Examples_AirProperties.csv","../files/Buildings_maint.7.0.x_Buildings.Media.Examples.AirProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference: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 Variables in the result:MM,TMax,TMed,TMin,X[1],X[2],basPro.preferredMediumStates,basPro.standardOrderComponents,beta,cp,cv,d,ddTp,dddX[1],ddpT,eta,f,g,h,hIse,hLiq,kappa,lambda,p,pMed,s,time,u