Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.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.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|phi.phi",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX") translateModel(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|phi.phi",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.22/1.22, allocations: 249.4 MB / 256.7 MB, free: 7.012 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.001006/0.001006, allocations: 184.6 kB / 316 MB, free: 3.508 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.076/1.076, allocations: 205.2 MB / 0.5667 GB, free: 15.57 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.0007987/0.0007987, allocations: 90.12 kB / 0.671 GB, free: 4.715 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.13e-06/5.15e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1373, allocations: 106.3 MB / 0.8846 GB, free: 12.63 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4249/0.5622, allocations: 133.9 MB / 1.015 GB, free: 4.77 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001735/0.5624, allocations: 72.83 kB / 1.015 GB, free: 4.73 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.007274/0.5697, allocations: 2.218 MB / 1.018 GB, free: 2.844 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.5697, allocations: 3.188 kB / 1.018 GB, free: 2.844 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004197/0.5701, allocations: 401.8 kB / 1.018 GB, free: 2.41 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.5702, allocations: 8.031 kB / 1.018 GB, free: 2.402 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.99e-05/0.5702, allocations: 3.906 kB / 1.018 GB, free: 2.398 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001058/0.5703, allocations: 174.9 kB / 1.018 GB, free: 2.188 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.5704, allocations: 7.984 kB / 1.018 GB, free: 2.18 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.12e-05/0.5704, allocations: 3.938 kB / 1.018 GB, free: 2.176 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.497e-05/0.5705, allocations: 18.75 kB / 1.018 GB, free: 2.164 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.16e-05/0.5706, allocations: 48.75 kB / 1.018 GB, free: 2.117 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.723e-06/0.5706, allocations: 0 / 1.018 GB, free: 2.117 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.5706, allocations: 0 / 1.018 GB, free: 2.117 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.5706, allocations: 4 kB / 1.018 GB, free: 2.113 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002881/0.5709, allocations: 254.5 kB / 1.018 GB, free: 1.844 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.126e-05/0.571, allocations: 36.83 kB / 1.018 GB, free: 1.805 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.913e-05/0.571, allocations: 12.8 kB / 1.019 GB, free: 1.793 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001581/0.5712, allocations: 97.09 kB / 1.019 GB, free: 1.68 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.71e-05/0.5712, allocations: 37.25 kB / 1.019 GB, free: 1.637 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 2.215e-06/0.5712, allocations: 0 / 1.019 GB, free: 1.637 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0003216/0.5715, allocations: 78.12 kB / 1.019 GB, free: 1.566 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.27e-05/0.5716, allocations: 51.41 kB / 1.019 GB, free: 1.504 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.038e-05/0.5716, allocations: 105.2 kB / 1.019 GB, free: 1.398 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.099e-05/0.5716, allocations: 29.64 kB / 1.019 GB, free: 1.363 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.83e-05/0.5717, allocations: 91.8 kB / 1.019 GB, free: 1.273 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.584e-05/0.5717, allocations: 7.938 kB / 1.019 GB, free: 1.266 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.017e-06/0.5717, allocations: 7.938 kB / 1.019 GB, free: 1.258 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.016e-05/0.5718, allocations: 314.8 kB / 1.019 GB, free: 0.9414 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.071e-05/0.5718, allocations: 7.125 kB / 1.019 GB, free: 0.9375 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.834e-05/0.5719, allocations: 7.188 kB / 1.019 GB, free: 0.9336 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001883/0.572, allocations: 38.08 kB / 1.019 GB, free: 0.9023 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.5721, allocations: 0 / 1.019 GB, free: 0.9023 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002417/0.5723, allocations: 82.67 kB / 1.019 GB, free: 0.8242 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 8.496e-06/0.5723, allocations: 8 kB / 1.019 GB, free: 0.8164 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.5723, allocations: 0 / 1.019 GB, free: 0.8164 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.696e-06/0.5723, allocations: 0 / 1.019 GB, free: 0.8164 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001264/0.5725, allocations: 23.48 kB / 1.019 GB, free: 0.7969 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.965e-06/0.5725, allocations: 0 / 1.019 GB, free: 0.7969 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.25e-05/0.5726, allocations: 31.88 kB / 1.019 GB, free: 0.7656 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.164e-06/0.5726, allocations: 0 / 1.019 GB, free: 0.7656 MB / 0.6355 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 5.803e-05/0.5727, allocations: 107.4 kB / 1.02 GB, free: 0.6562 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.797e-05/0.5727, allocations: 7.906 kB / 1.02 GB, free: 0.6484 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002729/0.573, allocations: 89.08 kB / 1.02 GB, free: 0.5625 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.573, allocations: 0 / 1.02 GB, free: 0.5625 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.573, allocations: 3.938 kB / 1.02 GB, free: 0.5586 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.573, allocations: 3.984 kB / 1.02 GB, free: 0.5547 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001233/0.5731, allocations: 145 kB / 1.02 GB, free: 392 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.5731, allocations: 0 / 1.02 GB, free: 392 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000108/0.5732, allocations: 23.98 kB / 1.02 GB, free: 368 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.5733, allocations: 240 / 1.02 GB, free: 368 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.5733, allocations: 3.906 kB / 1.02 GB, free: 364 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.41e-07/0.5733, allocations: 4 kB / 1.02 GB, free: 360 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.5733, allocations: 0 / 1.02 GB, free: 360 kB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002776/0.5736, allocations: 181.6 kB / 1.02 GB, free: 172 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.791e-05/0.5736, allocations: 85.09 kB / 1.02 GB, free: 68 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.378e-05/0.5736, allocations: 0 / 1.02 GB, free: 68 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001251/0.5738, allocations: 24.8 kB / 1.02 GB, free: 48 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.395e-05/0.5738, allocations: 7.891 kB / 1.02 GB, free: 40 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.157e-06/0.5738, allocations: 0 / 1.02 GB, free: 40 kB / 0.6355 GB Notification: Performance of sort global known variables: time 4.642e-05/0.5739, allocations: 94.41 kB / 1.02 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002315/0.5741, allocations: 31.94 kB / 1.02 GB, free: 15.92 MB / 0.6511 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0001793/0.5743, allocations: 135.2 kB / 1.02 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 8.038e-05/0.5744, allocations: 27 kB / 1.02 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.012e-06/0.5744, allocations: 0 / 1.02 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.901e-05/0.5744, allocations: 14.88 kB / 1.02 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000145/0.5746, allocations: 15.97 kB / 1.02 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00021/0.5748, allocations: 74.02 kB / 1.021 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002431/0.575, allocations: 0.6954 MB / 1.021 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of SimCode: time 2.51e-07/0.575, allocations: 0 / 1.021 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of Templates: time 0.002842/0.5779, allocations: 1.199 MB / 1.022 GB, free: 13.75 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches