Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Validation.FangerCBE.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.Comfort.Validation.FangerCBE,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|PMVRef.y.1.|com.PMV",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Validation.FangerCBE") translateModel(Buildings.Utilities.Comfort.Validation.FangerCBE,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|PMVRef.y.1.|com.PMV",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Validation.FangerCBE") [: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.197/1.197, allocations: 249.4 MB / 256.7 MB, free: 7.098 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.0009684/0.0009684, allocations: 185 kB / 316 MB, free: 3.578 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.061/1.061, allocations: 205.2 MB / 0.5667 GB, free: 15.71 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.0008435/0.0008436, allocations: 92.66 kB / 0.671 GB, free: 4.844 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.38e-06/5.4e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1509/0.1509, allocations: 106.3 MB / 0.8846 GB, free: 12.69 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.483/3.634, allocations: 2.193 GB / 3.077 GB, free: 212.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002655/3.634, allocations: 83.92 kB / 3.077 GB, free: 212.3 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.09863/3.733, allocations: 54.65 MB / 3.131 GB, free: 156.8 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.813e-05/3.733, allocations: 16 kB / 3.131 GB, free: 156.8 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001288/3.734, allocations: 0.9073 MB / 3.132 GB, free: 155.9 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/3.734, allocations: 8.031 kB / 3.132 GB, free: 155.9 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00155/3.736, allocations: 206.7 kB / 3.132 GB, free: 155.7 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008794/3.736, allocations: 0.5268 MB / 3.132 GB, free: 155.1 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.848e-05/3.736, allocations: 11.91 kB / 3.132 GB, free: 155.1 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.439e-05/3.737, allocations: 12 kB / 3.132 GB, free: 155.1 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004739/3.737, allocations: 284.6 kB / 3.133 GB, free: 154.8 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003789/3.737, allocations: 270.9 kB / 3.133 GB, free: 154.5 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/3.737, allocations: 0 / 3.133 GB, free: 154.5 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.968e-05/3.737, allocations: 0 / 3.133 GB, free: 154.5 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.688e-06/3.737, allocations: 8 kB / 3.133 GB, free: 154.5 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002205/3.74, allocations: 1.175 MB / 3.134 GB, free: 153.3 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004402/3.74, allocations: 337.6 kB / 3.134 GB, free: 152.9 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000214/3.74, allocations: 169.7 kB / 3.135 GB, free: 152.8 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.165e-05/3.74, allocations: 11.98 kB / 3.135 GB, free: 152.8 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003214/3.741, allocations: 264.8 kB / 3.135 GB, free: 152.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=30): time 2.304e-06/3.741, allocations: 4 kB / 3.135 GB, free: 152.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=30): time 0.003242/3.744, allocations: 0.6076 MB / 3.135 GB, free: 151.9 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.66e-05/3.744, allocations: 89.05 kB / 3.135 GB, free: 151.7 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001443/3.746, allocations: 1.172 MB / 3.137 GB, free: 150.6 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.069e-05/3.746, allocations: 29.7 kB / 3.137 GB, free: 150.5 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 8.934e-05/3.746, allocations: 196.4 kB / 3.137 GB, free: 150.3 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 6.295e-05/3.746, allocations: 98.62 kB / 3.137 GB, free: 150.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.416e-05/3.746, allocations: 0 / 3.137 GB, free: 150.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 5.723e-05/3.746, allocations: 318 kB / 3.137 GB, free: 149.9 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001799/3.746, allocations: 143.9 kB / 3.137 GB, free: 149.8 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001987/3.746, allocations: 201.8 kB / 3.138 GB, free: 149.6 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003036/3.747, allocations: 164 kB / 3.138 GB, free: 149.4 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/3.747, allocations: 0 / 3.138 GB, free: 149.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.002984/3.75, allocations: 0.6454 MB / 3.138 GB, free: 148.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/3.75, allocations: 4 kB / 3.138 GB, free: 148.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/3.75, allocations: 4 kB / 3.138 GB, free: 148.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003805/3.75, allocations: 128.8 kB / 3.138 GB, free: 148.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003449/3.75, allocations: 59.91 kB / 3.139 GB, free: 148.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003809/3.754, allocations: 1.834 MB / 3.14 GB, free: 146.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006079/3.755, allocations: 43.81 kB / 3.14 GB, free: 146.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.987e-05/3.755, allocations: 15.98 kB / 3.14 GB, free: 146.5 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.inp.nextTimeEvent,inp.nextTimeEvent,$PRE.inp.nextTimeEventScaled,inp.nextTimeEventScaled,$whenCondition1,$PRE.PMVRef.nextTimeEvent,PMVRef.nextTimeEvent,$PRE.PMVRef.nextTimeEventScaled,PMVRef.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 33 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001177/3.755, allocations: 113.4 kB / 3.14 GB, free: 146.4 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000114/3.755, allocations: 82.97 kB / 3.141 GB, free: 146.3 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00336/3.758, allocations: 0.7664 MB / 3.141 GB, free: 145.6 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/3.758, allocations: 4 kB / 3.141 GB, free: 145.6 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/3.758, allocations: 0 / 3.141 GB, free: 145.6 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/3.758, allocations: 7.984 kB / 3.141 GB, free: 145.6 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006006/3.759, allocations: 0.6059 MB / 3.142 GB, free: 144.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/3.759, allocations: 0 / 3.142 GB, free: 144.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003032/3.759, allocations: 59.91 kB / 3.142 GB, free: 144.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003057/3.76, allocations: 124.7 kB / 3.142 GB, free: 144.7 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.757e-05/3.76, allocations: 11.98 kB / 3.142 GB, free: 144.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003753/3.763, allocations: 1.841 MB / 3.144 GB, free: 142.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/3.764, allocations: 0 / 3.144 GB, free: 142.8 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003008/3.767, allocations: 0.7124 MB / 3.145 GB, free: 142 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002251/3.767, allocations: 227.9 kB / 3.145 GB, free: 141.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001146/3.767, allocations: 4 kB / 3.145 GB, free: 141.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004641/3.767, allocations: 31.88 kB / 3.145 GB, free: 141.7 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.092e-05/3.767, allocations: 19.97 kB / 3.145 GB, free: 141.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.853e-05/3.767, allocations: 19.98 kB / 3.145 GB, free: 141.7 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0008543/3.768, allocations: 0.9325 MB / 3.146 GB, free: 140.8 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0006663/3.769, allocations: 199.8 kB / 3.146 GB, free: 140.6 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: 6 ($whenCondition2,inp.nextTimeEvent,inp.nextTimeEventScaled,$whenCondition1,PMVRef.nextTimeEvent,PMVRef.nextTimeEventScaled) * Number of discrete states: 4 (PMVRef.nextTimeEvent,PMVRef.nextTimeEventScaled,inp.nextTimeEvent,inp.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.001245/3.77, allocations: 0.9129 MB / 3.147 GB, free: 139.7 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0007709/3.771, allocations: 497.5 kB / 3.147 GB, free: 139.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/3.771, allocations: 0 / 3.147 GB, free: 139.2 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004331/3.771, allocations: 333.7 kB / 3.148 GB, free: 138.9 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005471/3.772, allocations: 105.3 kB / 3.148 GB, free: 138.8 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001812/3.774, allocations: 1.383 MB / 3.149 GB, free: 137.4 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005235/3.774, allocations: 1.058 MB / 3.15 GB, free: 136.3 MB / 0.8698 GB Notification: Performance of SimCode: time 2.41e-07/3.774, allocations: 0 / 3.15 GB, free: 136.3 MB / 0.8698 GB Notification: Performance of Templates: time 0.01826/3.793, allocations: 14.6 MB / 3.164 GB, free: 121.7 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Validation.FangerCBE.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Validation.FangerCBE.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Validation.FangerCBE -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Validation.FangerCBE_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Comfort_Validation_FangerCBE.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Validation.FangerCBE.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches