Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|phi.phi",fileNamePrefix="Buildings_latest_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_latest_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 10.0.0-master/package.mo): time 1.993/1.993, allocations: 390.4 MB / 397.7 MB, free: 11.27 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 165.3 kB / 490.8 MB, free: 1.938 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.327/1.327, allocations: 221.3 MB / 0.7863 GB, free: 13.67 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000852/0.000852, allocations: 87.73 kB / 0.9264 GB, free: 14.2 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 7.714e-06/7.744e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2292/0.2292, allocations: 143 MB / 1.212 GB, free: 40.12 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6172/0.8464, allocations: 151.2 MB / 1.359 GB, free: 17.14 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002212/0.8467, allocations: 70.69 kB / 1.359 GB, free: 17.14 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.007991/0.8547, allocations: 2.268 MB / 1.362 GB, free: 16.98 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.053e-06/0.8547, allocations: 1.469 kB / 1.362 GB, free: 16.98 MB / 0.823 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.0004787/0.8552, allocations: 389.5 kB / 1.362 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.8553, allocations: 9.094 kB / 1.362 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.708e-05/0.8553, allocations: 6.656 kB / 1.362 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.794e-05/0.8554, allocations: 175.7 kB / 1.362 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.8554, allocations: 5.406 kB / 1.362 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.908e-06/0.8555, allocations: 1.344 kB / 1.362 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.793e-05/0.8555, allocations: 19.41 kB / 1.362 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.949e-05/0.8556, allocations: 51.14 kB / 1.362 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.8556, allocations: 0 / 1.362 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.8557, allocations: 1.344 kB / 1.362 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.8557, allocations: 0.75 kB / 1.362 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003098/0.856, allocations: 261.2 kB / 1.362 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.96e-05/0.8561, allocations: 30.95 kB / 1.362 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.07e-05/0.8561, allocations: 19.25 kB / 1.362 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001611/0.8563, allocations: 89.8 kB / 1.363 GB, free: 32 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.218e-05/0.8563, allocations: 31.53 kB / 1.363 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.8563, allocations: 7.328 kB / 1.363 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0003554/0.8567, allocations: 80.27 kB / 1.363 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.521e-05/0.8567, allocations: 56.47 kB / 1.363 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.473e-05/0.8567, allocations: 99.88 kB / 1.363 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.165e-06/0.8568, allocations: 25.7 kB / 1.363 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.087e-05/0.8568, allocations: 87.16 kB / 1.363 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.574e-05/0.8568, allocations: 10.33 kB / 1.363 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.878e-06/0.8568, allocations: 1.094 kB / 1.363 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.102e-05/0.8569, allocations: 324.8 kB / 1.363 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.213e-05/0.8569, allocations: 8.656 kB / 1.363 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.125e-05/0.857, allocations: 8.094 kB / 1.363 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001994/0.8572, allocations: 39.45 kB / 1.363 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.8572, allocations: 0 / 1.363 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002446/0.8574, allocations: 82.64 kB / 1.363 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.8575, allocations: 8.5 kB / 1.363 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.8575, allocations: 3.906 kB / 1.363 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.8575, allocations: 1.438 kB / 1.363 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000135/0.8576, allocations: 26.45 kB / 1.363 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.8576, allocations: 0 / 1.363 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.1e-05/0.8577, allocations: 21.27 kB / 1.363 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.785e-06/0.8577, allocations: 1.984 kB / 1.363 GB, free: 31.27 MB / 0.8386 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.596e-05/0.8578, allocations: 103.8 kB / 1.364 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.84e-05/0.8578, allocations: 5.375 kB / 1.364 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002857/0.8581, allocations: 89.42 kB / 1.364 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.8581, allocations: 1.344 kB / 1.364 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.8582, allocations: 8.922 kB / 1.364 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.8582, allocations: 0 / 1.364 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001117/0.8583, allocations: 151.6 kB / 1.364 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.8583, allocations: 0.6875 kB / 1.364 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001234/0.8584, allocations: 23.83 kB / 1.364 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.8584, allocations: 4 kB / 1.364 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.8584, allocations: 1.562 kB / 1.364 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.8584, allocations: 0.875 kB / 1.364 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.8584, allocations: 0 / 1.364 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002904/0.8587, allocations: 175.9 kB / 1.364 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.428e-05/0.8588, allocations: 82.36 kB / 1.364 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.835e-05/0.8588, allocations: 1.594 kB / 1.364 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001307/0.8589, allocations: 26.2 kB / 1.364 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.972e-05/0.859, allocations: 10.06 kB / 1.364 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.653e-06/0.859, allocations: 5.156 kB / 1.364 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5.136e-05/0.8591, allocations: 86.28 kB / 1.364 GB, free: 30.63 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000299/0.8594, allocations: 37.66 kB / 1.364 GB, free: 30.62 MB / 0.8386 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.0002744/0.8597, allocations: 135 kB / 1.364 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001199/0.8598, allocations: 22.33 kB / 1.364 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.8598, allocations: 0 / 1.364 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.133e-05/0.8598, allocations: 15.59 kB / 1.364 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000212/0.8601, allocations: 13.61 kB / 1.364 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003245/0.8604, allocations: 83.19 kB / 1.364 GB, free: 30.44 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004132/0.8608, allocations: 0.6958 MB / 1.365 GB, free: 29.74 MB / 0.8386 GB Notification: Performance of SimCode: time 2.51e-07/0.8608, allocations: 0 / 1.365 GB, free: 29.74 MB / 0.8386 GB Notification: Performance of Templates: time 0.005594/0.8664, allocations: 1.193 MB / 1.366 GB, free: 29.63 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.csv","../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches