Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality") translateModel(BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality") [: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/BuildingSystems 2.0.0-master/package.mo): time 0.7708/0.7708, allocations: 141.8 MB / 149.1 MB, free: 13.05 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 185.3 kB / 181.9 MB, free: 9.758 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.337/1.337, allocations: 221.4 MB / 436 MB, free: 2.23 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009278/0.0009276, allocations: 101.1 kB / 0.507 GB, free: 10.92 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002392/0.002392, allocations: 274.8 kB / 0.5884 GB, free: 7.766 MB / 474.9 MB Notification: Performance of FrontEnd - loaded program: time 5.951e-06/5.971e-06, allocations: 0 / 0.6759 GB, free: 14.14 MB / 0.5575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4451/0.4451, allocations: 82.77 MB / 0.7567 GB, free: 138.9 MB / 0.5575 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1217/0.5669, allocations: 108.5 MB / 0.8627 GB, free: 30.27 MB / 0.5575 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002115/0.5671, allocations: 84.84 kB / 0.8628 GB, free: 30.19 MB / 0.5575 GB Notification: Performance of FrontEnd: time 0.003579/0.5707, allocations: 1.161 MB / 0.8639 GB, free: 29.05 MB / 0.5575 GB Notification: Performance of Transformations before backend: time 7.224e-06/0.5707, allocations: 0 / 0.8639 GB, free: 29.05 MB / 0.5575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0002854/0.571, allocations: 352.5 kB / 0.8642 GB, free: 28.66 MB / 0.5575 GB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.5711, allocations: 13.78 kB / 0.8642 GB, free: 28.65 MB / 0.5575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.624e-05/0.5711, allocations: 4.625 kB / 0.8642 GB, free: 28.65 MB / 0.5575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001056/0.5712, allocations: 174.9 kB / 0.8644 GB, free: 28.44 MB / 0.5575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.807e-05/0.5713, allocations: 0.6562 kB / 0.8644 GB, free: 28.44 MB / 0.5575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.48e-05/0.5713, allocations: 5.719 kB / 0.8644 GB, free: 28.43 MB / 0.5575 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.252e-05/0.5714, allocations: 23.94 kB / 0.8644 GB, free: 28.41 MB / 0.5575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.923e-05/0.5715, allocations: 49.67 kB / 0.8645 GB, free: 28.36 MB / 0.5575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.5715, allocations: 0 / 0.8645 GB, free: 28.36 MB / 0.5575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.5715, allocations: 3.906 kB / 0.8645 GB, free: 28.35 MB / 0.5575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.5715, allocations: 0.6562 kB / 0.8645 GB, free: 28.35 MB / 0.5575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004521/0.572, allocations: 277.5 kB / 0.8648 GB, free: 28.05 MB / 0.5575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001902/0.5722, allocations: 43.88 kB / 0.8648 GB, free: 28 MB / 0.5575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.602e-05/0.5722, allocations: 16.92 kB / 0.8648 GB, free: 27.98 MB / 0.5575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.933e-05/0.5723, allocations: 0.5625 kB / 0.8648 GB, free: 27.98 MB / 0.5575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.723e-05/0.5723, allocations: 35.47 kB / 0.8649 GB, free: 27.93 MB / 0.5575 GB Notification: Performance of pre-optimization done (n=3): time 1.242e-06/0.5723, allocations: 1.188 kB / 0.8649 GB, free: 27.93 MB / 0.5575 GB Notification: Performance of matching and sorting (n=3): time 0.0001787/0.5725, allocations: 49.69 kB / 0.8649 GB, free: 27.88 MB / 0.5575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.017e-05/0.5725, allocations: 51.41 kB / 0.865 GB, free: 27.82 MB / 0.5575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.412e-05/0.5726, allocations: 105.8 kB / 0.8651 GB, free: 27.71 MB / 0.5575 GB Notification: Performance of collectPreVariables (initialization): time 1.095e-05/0.5726, allocations: 26.73 kB / 0.8651 GB, free: 27.68 MB / 0.5575 GB Notification: Performance of collectInitialEqns (initialization): time 3.176e-05/0.5727, allocations: 88.05 kB / 0.8652 GB, free: 27.59 MB / 0.5575 GB Notification: Performance of collectInitialBindings (initialization): time 2.269e-05/0.5727, allocations: 11.84 kB / 0.8652 GB, free: 27.57 MB / 0.5575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.789e-06/0.5727, allocations: 5.5 kB / 0.8652 GB, free: 27.57 MB / 0.5575 GB Notification: Performance of setup shared object (initialization): time 6.682e-05/0.5728, allocations: 314.8 kB / 0.8655 GB, free: 27.25 MB / 0.5575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.075e-05/0.5728, allocations: 8 kB / 0.8655 GB, free: 27.25 MB / 0.5575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.674e-05/0.5728, allocations: 9.312 kB / 0.8655 GB, free: 27.24 MB / 0.5575 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.207e-05/0.5729, allocations: 11.94 kB / 0.8655 GB, free: 27.23 MB / 0.5575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.5729, allocations: 0 / 0.8655 GB, free: 27.23 MB / 0.5575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.323e-05/0.5729, allocations: 55.28 kB / 0.8656 GB, free: 27.17 MB / 0.5575 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.573, allocations: 4 kB / 0.8656 GB, free: 27.16 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.573, allocations: 0 / 0.8656 GB, free: 27.16 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.573, allocations: 0 / 0.8656 GB, free: 27.16 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.058e-05/0.5731, allocations: 17.45 kB / 0.8656 GB, free: 27.15 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.5731, allocations: 0 / 0.8656 GB, free: 27.15 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.929e-05/0.5732, allocations: 13.3 kB / 0.8656 GB, free: 27.14 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.607e-06/0.5732, allocations: 1.25 kB / 0.8656 GB, free: 27.14 MB / 0.5575 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 6.648e-05/0.5733, allocations: 104.9 kB / 0.8657 GB, free: 27.03 MB / 0.5575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.87e-05/0.5733, allocations: 5.406 kB / 0.8657 GB, free: 27.02 MB / 0.5575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.223e-05/0.5733, allocations: 11.94 kB / 0.8657 GB, free: 27.01 MB / 0.5575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.5733, allocations: 7.984 kB / 0.8657 GB, free: 27 MB / 0.5575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.5734, allocations: 4.656 kB / 0.8657 GB, free: 27 MB / 0.5575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.5734, allocations: 4 kB / 0.8657 GB, free: 26.99 MB / 0.5575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001209/0.5735, allocations: 146.9 kB / 0.8659 GB, free: 26.81 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.5735, allocations: 3.984 kB / 0.8659 GB, free: 26.81 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.784e-05/0.5736, allocations: 9.062 kB / 0.8659 GB, free: 26.8 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.5736, allocations: 1.25 kB / 0.8659 GB, free: 26.8 MB / 0.5575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.5736, allocations: 0 / 0.8659 GB, free: 26.8 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.5736, allocations: 0 / 0.8659 GB, free: 26.8 MB / 0.5575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.5736, allocations: 4.594 kB / 0.8659 GB, free: 26.8 MB / 0.5575 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001125/0.5737, allocations: 148.7 kB / 0.866 GB, free: 26.64 MB / 0.5575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.527e-05/0.5738, allocations: 85.02 kB / 0.8661 GB, free: 26.54 MB / 0.5575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.5738, allocations: 0.5 kB / 0.8661 GB, free: 26.54 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.61e-05/0.5739, allocations: 5.156 kB / 0.8661 GB, free: 26.53 MB / 0.5575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.742e-05/0.574, allocations: 4.703 kB / 0.8661 GB, free: 26.53 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/0.574, allocations: 4.562 kB / 0.8661 GB, free: 26.52 MB / 0.5575 GB Notification: Performance of sort global known variables: time 2.95e-05/0.574, allocations: 87.91 kB / 0.8662 GB, free: 26.44 MB / 0.5575 GB Notification: Performance of remove unused functions: time 0.0002414/0.5742, allocations: 11.91 kB / 0.8662 GB, free: 26.43 MB / 0.5575 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.0001041/0.5744, allocations: 92.06 kB / 0.8663 GB, free: 26.33 MB / 0.5575 GB Notification: Performance of simCode: created initialization part: time 9.309e-05/0.5745, allocations: 20.64 kB / 0.8663 GB, free: 26.31 MB / 0.5575 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.5745, allocations: 8 kB / 0.8663 GB, free: 26.3 MB / 0.5575 GB Notification: Performance of simCode: created simulation system equations: time 2.634e-05/0.5745, allocations: 8 kB / 0.8663 GB, free: 26.29 MB / 0.5575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001982/0.5747, allocations: 11.19 kB / 0.8663 GB, free: 26.29 MB / 0.5575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002269/0.5749, allocations: 82.19 kB / 0.8664 GB, free: 26.18 MB / 0.5575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001386/0.5751, allocations: 0.6993 MB / 0.8671 GB, free: 25.46 MB / 0.5575 GB Notification: Performance of SimCode: time 2.2e-07/0.5751, allocations: 3.938 kB / 0.8671 GB, free: 25.46 MB / 0.5575 GB Notification: Performance of Templates: time 0.002206/0.5773, allocations: 450.1 kB / 0.8675 GB, free: 25.03 MB / 0.5575 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality.sim & ./BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1)