Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.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.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|X_w|phi",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|X_w|phi",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.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.203/1.203, allocations: 249.4 MB / 256.7 MB, free: 7.156 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.0009404/0.0009404, allocations: 189.2 kB / 316 MB, free: 3.547 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.05/1.05, allocations: 205.2 MB / 0.5667 GB, free: 15.62 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.0008086/0.0008085, allocations: 82.33 kB / 0.671 GB, free: 4.762 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.092e-06/6.111e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1415, allocations: 106.3 MB / 0.8846 GB, free: 12.65 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4149/0.5565, allocations: 133.6 MB / 1.015 GB, free: 5.137 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001897/0.5567, allocations: 87.58 kB / 1.015 GB, free: 5.086 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.007671/0.5644, allocations: 2.345 MB / 1.017 GB, free: 3.129 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.133e-06/0.5644, allocations: 4 kB / 1.017 GB, free: 3.125 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002987/0.5647, allocations: 354.2 kB / 1.018 GB, free: 2.738 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.5647, allocations: 8.031 kB / 1.018 GB, free: 2.73 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.107e-05/0.5648, allocations: 4 kB / 1.018 GB, free: 2.727 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000106/0.5649, allocations: 167 kB / 1.018 GB, free: 2.523 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.92e-05/0.565, allocations: 29.7 kB / 1.018 GB, free: 2.488 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.115e-06/0.565, allocations: 4.812 kB / 1.018 GB, free: 2.484 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.841e-05/0.565, allocations: 8 kB / 1.018 GB, free: 2.477 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.142e-05/0.5651, allocations: 37.19 kB / 1.018 GB, free: 2.438 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.5651, allocations: 0 / 1.018 GB, free: 2.438 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.5651, allocations: 4 kB / 1.018 GB, free: 2.434 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.5651, allocations: 7.984 kB / 1.018 GB, free: 2.426 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001286/0.5653, allocations: 135.4 kB / 1.018 GB, free: 2.262 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001493/0.5654, allocations: 37.92 kB / 1.018 GB, free: 2.219 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.526e-05/0.5655, allocations: 14.48 kB / 1.018 GB, free: 2.207 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002519/0.5657, allocations: 186.3 kB / 1.018 GB, free: 1.988 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.143e-05/0.5658, allocations: 41.75 kB / 1.018 GB, free: 1.941 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.5658, allocations: 0 / 1.018 GB, free: 1.941 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0004502/0.5662, allocations: 96.53 kB / 1.018 GB, free: 1.848 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.305e-05/0.5663, allocations: 55.41 kB / 1.019 GB, free: 1.781 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.221e-05/0.5663, allocations: 92.67 kB / 1.019 GB, free: 1.688 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.616e-05/0.5663, allocations: 29.7 kB / 1.019 GB, free: 1.652 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.377e-05/0.5664, allocations: 80.14 kB / 1.019 GB, free: 1.57 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.292e-05/0.5664, allocations: 16.5 kB / 1.019 GB, free: 1.551 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.267e-06/0.5664, allocations: 0 / 1.019 GB, free: 1.551 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.748e-05/0.5665, allocations: 314.4 kB / 1.019 GB, free: 1.238 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.525e-05/0.5665, allocations: 4 kB / 1.019 GB, free: 1.234 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.273e-05/0.5666, allocations: 7.5 kB / 1.019 GB, free: 1.23 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003313/0.5669, allocations: 62.77 kB / 1.019 GB, free: 1.176 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.5669, allocations: 4 kB / 1.019 GB, free: 1.172 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003682/0.5673, allocations: 108.2 kB / 1.019 GB, free: 1.066 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.398e-06/0.5673, allocations: 7.938 kB / 1.019 GB, free: 1.059 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.5673, allocations: 4 kB / 1.019 GB, free: 1.055 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.658e-06/0.5673, allocations: 3.938 kB / 1.019 GB, free: 1.051 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.255e-05/0.5674, allocations: 4 kB / 1.019 GB, free: 1.047 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.376e-06/0.5674, allocations: 0 / 1.019 GB, free: 1.047 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.018e-05/0.5674, allocations: 7.984 kB / 1.019 GB, free: 1.039 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-06/0.5674, allocations: 0 / 1.019 GB, free: 1.039 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 (4): * Single equations (assignments): 4 * 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.767e-05/0.5675, allocations: 108.9 kB / 1.019 GB, free: 0.9258 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.082e-05/0.5675, allocations: 7.75 kB / 1.019 GB, free: 0.9219 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004279/0.568, allocations: 111.6 kB / 1.019 GB, free: 0.8164 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.568, allocations: 0 / 1.019 GB, free: 0.8164 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.568, allocations: 0 / 1.019 GB, free: 0.8164 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.568, allocations: 3.984 kB / 1.019 GB, free: 0.8125 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.708e-05/0.5681, allocations: 130.2 kB / 1.02 GB, free: 0.6484 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.5681, allocations: 4 kB / 1.02 GB, free: 0.6445 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.85e-05/0.5681, allocations: 11.55 kB / 1.02 GB, free: 0.6367 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.5681, allocations: 4 kB / 1.02 GB, free: 0.6328 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-06/0.5682, allocations: 0 / 1.02 GB, free: 0.6328 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.5682, allocations: 4 kB / 1.02 GB, free: 0.6289 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.5682, allocations: 0 / 1.02 GB, free: 0.6289 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003921/0.5686, allocations: 127.9 kB / 1.02 GB, free: 0.4961 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.338e-05/0.5686, allocations: 81.09 kB / 1.02 GB, free: 408 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.373e-05/0.5686, allocations: 4.047 kB / 1.02 GB, free: 404 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.428e-05/0.5687, allocations: 11.89 kB / 1.02 GB, free: 392 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.055e-05/0.5687, allocations: 3.984 kB / 1.02 GB, free: 388 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.163e-06/0.5688, allocations: 4 kB / 1.02 GB, free: 384 kB / 0.6355 GB Notification: Performance of sort global known variables: time 3.361e-05/0.5688, allocations: 81.84 kB / 1.02 GB, free: 304 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002108/0.569, allocations: 35.94 kB / 1.02 GB, free: 268 kB / 0.6355 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 (4): * Single equations (assignments): 4 * 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.0002134/0.5692, allocations: 143.1 kB / 1.02 GB, free: 112 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.738e-05/0.5693, allocations: 19.69 kB / 1.02 GB, free: 100 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.492e-06/0.5693, allocations: 8 kB / 1.02 GB, free: 92 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.148e-05/0.5693, allocations: 15.92 kB / 1.02 GB, free: 76 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001274/0.5695, allocations: 0 / 1.02 GB, free: 76 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000192/0.5697, allocations: 63.34 kB / 1.02 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002328/0.5699, allocations: 0.6915 MB / 1.021 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of SimCode: time 2.61e-07/0.5699, allocations: 0 / 1.021 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of Templates: time 0.002762/0.5727, allocations: 1.057 MB / 1.022 GB, free: 14.23 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches