Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001266/0.001266, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001412/0.001412, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.379/1.379, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.61/2.61, allocations: 436.5 MB / 0.7104 GB, free: 7.879 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003251/0.0003252, allocations: 8 kB / 0.8707 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6155/0.6158, allocations: 153.7 MB / 1.021 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.14/0.7558, allocations: 125.9 MB / 1.144 GB, free: 2.902 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.003564/0.7595, allocations: 3.009 MB / 1.147 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.368e-05/0.7596, allocations: 4 kB / 1.147 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0002318/0.7598, allocations: 47.78 kB / 1.147 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0002501/0.7601, allocations: 91.77 kB / 1.147 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.00173/0.7618, allocations: 0.6807 MB / 1.147 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0002488/0.7621, allocations: 192.6 kB / 1.148 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 4.839e-05/0.7621, allocations: 13.56 kB / 1.148 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003192/0.7624, allocations: 159.4 kB / 1.148 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001326/0.7626, allocations: 99.64 kB / 1.148 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 2.588e-05/0.7626, allocations: 8 kB / 1.148 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001394/0.764, allocations: 0.6825 MB / 1.149 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 8.902e-05/0.7641, allocations: 63.86 kB / 1.149 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 5.338e-05/0.7642, allocations: 61.58 kB / 1.149 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0005551/0.7648, allocations: 377.1 kB / 1.149 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 2.564e-06/0.7648, allocations: 0 / 1.149 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.373e-06/0.7648, allocations: 0 / 1.149 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.7648, allocations: 0 / 1.149 GB, free: 13.42 MB / 0.9044 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.0009963/0.7658, allocations: 0.5497 MB / 1.15 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.7658, allocations: 8.031 kB / 1.15 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001204/0.767, allocations: 135.7 kB / 1.15 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002589/0.7673, allocations: 218.7 kB / 1.15 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.792e-05/0.7673, allocations: 16.38 kB / 1.15 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.151e-05/0.7674, allocations: 16 kB / 1.15 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005288/0.7679, allocations: 334.3 kB / 1.15 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.7679, allocations: 0 / 1.15 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.297e-05/0.768, allocations: 11.94 kB / 1.15 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.475e-05/0.768, allocations: 15.98 kB / 1.15 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005137/0.7685, allocations: 324.1 kB / 1.151 GB, free: 11.7 MB / 0.9044 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.001609/0.7701, allocations: 1.113 MB / 1.152 GB, free: 10.5 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004791/0.7706, allocations: 190.6 kB / 1.152 GB, free: 10.3 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000526/0.7712, allocations: 461.5 kB / 1.152 GB, free: 9.762 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.23e-05/0.7712, allocations: 34.56 kB / 1.152 GB, free: 9.719 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=21): time 1.913e-06/0.7712, allocations: 0 / 1.152 GB, free: 9.719 MB / 0.9044 GB Notification: Performance of matching and sorting (n=21): time 0.0006927/0.7719, allocations: 352.7 kB / 1.153 GB, free: 9.355 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.804e-05/0.772, allocations: 55.41 kB / 1.153 GB, free: 9.289 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001922/0.7722, allocations: 207.1 kB / 1.153 GB, free: 9.074 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.201e-05/0.7722, allocations: 33.7 kB / 1.153 GB, free: 9.035 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 8.773e-05/0.7723, allocations: 147.9 kB / 1.153 GB, free: 8.887 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 5.113e-05/0.7724, allocations: 71 kB / 1.153 GB, free: 8.816 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.375e-05/0.7724, allocations: 4 kB / 1.153 GB, free: 8.812 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.7725, allocations: 326.8 kB / 1.154 GB, free: 8.484 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001201/0.7726, allocations: 72.16 kB / 1.154 GB, free: 8.414 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001714/0.7728, allocations: 159.7 kB / 1.154 GB, free: 8.219 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000147/0.773, allocations: 91.91 kB / 1.154 GB, free: 8.129 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.773, allocations: 0 / 1.154 GB, free: 8.129 MB / 0.9044 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005027/0.7735, allocations: 281.4 kB / 1.154 GB, free: 7.848 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.7735, allocations: 6.031 kB / 1.154 GB, free: 7.844 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.7735, allocations: 4 kB / 1.154 GB, free: 7.84 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.7735, allocations: 4 kB / 1.154 GB, free: 7.836 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002971/0.7738, allocations: 67.84 kB / 1.154 GB, free: 7.77 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.7739, allocations: 4 kB / 1.154 GB, free: 7.766 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002164/0.7741, allocations: 35.59 kB / 1.154 GB, free: 7.73 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.19e-05/0.7741, allocations: 12 kB / 1.154 GB, free: 7.719 MB / 0.9044 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001346/0.7743, allocations: 145.8 kB / 1.154 GB, free: 7.566 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001282/0.7744, allocations: 27.86 kB / 1.154 GB, free: 7.539 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004667/0.7749, allocations: 271.3 kB / 1.155 GB, free: 7.273 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.7749, allocations: 7.938 kB / 1.155 GB, free: 7.266 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.636e-06/0.7749, allocations: 0 / 1.155 GB, free: 7.266 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.7749, allocations: 0 / 1.155 GB, free: 7.266 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007155/0.7756, allocations: 0.5857 MB / 1.155 GB, free: 6.617 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.7756, allocations: 0 / 1.155 GB, free: 6.617 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001902/0.7758, allocations: 31.98 kB / 1.155 GB, free: 6.586 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.7758, allocations: 3.984 kB / 1.155 GB, free: 6.582 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.703e-05/0.7759, allocations: 8 kB / 1.155 GB, free: 6.574 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.7759, allocations: 0 / 1.155 GB, free: 6.574 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.7759, allocations: 3.938 kB / 1.155 GB, free: 6.57 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005167/0.7764, allocations: 368.4 kB / 1.156 GB, free: 6.176 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000132/0.7765, allocations: 124.7 kB / 1.156 GB, free: 6.035 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.227e-05/0.7766, allocations: 11.95 kB / 1.156 GB, free: 6.023 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002631/0.7769, allocations: 15.98 kB / 1.156 GB, free: 6.008 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.654e-05/0.7769, allocations: 15.98 kB / 1.156 GB, free: 5.992 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.668e-05/0.7769, allocations: 8 kB / 1.156 GB, free: 5.984 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001293/0.7771, allocations: 153.4 kB / 1.156 GB, free: 5.836 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7771, allocations: 4 kB / 1.156 GB, free: 5.832 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004743/0.7776, allocations: 111.9 kB / 1.156 GB, free: 5.723 MB / 0.9044 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 (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.0003318/0.7779, allocations: 198.9 kB / 1.156 GB, free: 5.52 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003522/0.7783, allocations: 211.2 kB / 1.156 GB, free: 5.316 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.7783, allocations: 0 / 1.156 GB, free: 5.316 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001538/0.7784, allocations: 103.8 kB / 1.157 GB, free: 5.215 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005502/0.779, allocations: 100.6 kB / 1.157 GB, free: 5.117 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007732/0.7798, allocations: 0.5502 MB / 1.157 GB, free: 4.535 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003015/0.7801, allocations: 0.7445 MB / 1.158 GB, free: 3.766 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0002923/0.7804, allocations: 58.25 kB / 1.158 GB, free: 3.703 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.036e-05/0.7805, allocations: 19.44 kB / 1.158 GB, free: 3.684 MB / 0.9044 GB Notification: Performance of SimCode: time 2.31e-07/0.7805, allocations: 0 / 1.158 GB, free: 3.684 MB / 0.9044 GB Notification: Performance of Templates: time 0.009036/0.7895, allocations: 5.113 MB / 1.163 GB, free: 14.64 MB / 0.92 GB make -j1 -f Buildings_latest_Buildings.Media.Examples.AirProperties.makefile (rm -f Buildings_latest_Buildings.Media.Examples.AirProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.AirProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.AirProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.AirProperties.sim & ./Buildings_latest_Buildings.Media.Examples.AirProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.AirProperties.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Examples.AirProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_AirProperties.csv","../files/Buildings_latest_Buildings.Media.Examples.AirProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches