Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|QCoo_flow|QHea_flow|QWatHea_flow",fileNamePrefix="Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad") translateModel(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|QCoo_flow|QHea_flow|QWatHea_flow",fileNamePrefix="Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad") [: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 9.1.1-maint.9.1.x/package.mo): time 1.924/1.924, allocations: 387.2 MB / 394.5 MB, free: 13.66 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.001017/0.001017, allocations: 177.3 kB / 487 MB, free: 5.359 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.251/1.251, allocations: 221.3 MB / 0.7819 GB, free: 1.453 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001003/0.001003, allocations: 104.8 kB / 0.9213 GB, free: 2.699 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.151e-06/6.171e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2413/0.2413, allocations: 142.3 MB / 1.205 GB, free: 26.24 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6383/0.8796, allocations: 150.6 MB / 1.352 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002915/0.88, allocations: 88.59 kB / 1.352 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.07023/0.9502, allocations: 42.1 MB / 1.393 GB, free: 6.57 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.724e-06/0.9503, allocations: 0 / 1.393 GB, free: 6.57 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0006279/0.9509, allocations: 409.2 kB / 1.394 GB, free: 6.137 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.951, allocations: 9.031 kB / 1.394 GB, free: 6.129 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.572e-05/0.9511, allocations: 82.34 kB / 1.394 GB, free: 6.051 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001389/0.9512, allocations: 246.2 kB / 1.394 GB, free: 5.77 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.766e-05/0.9513, allocations: 150.6 kB / 1.394 GB, free: 5.621 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.995e-05/0.9513, allocations: 150.6 kB / 1.394 GB, free: 5.473 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.329e-05/0.9514, allocations: 154.5 kB / 1.395 GB, free: 5.32 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.214e-05/0.9514, allocations: 101 kB / 1.395 GB, free: 5.215 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.371e-05/0.9514, allocations: 83.27 kB / 1.395 GB, free: 5.133 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.277e-05/0.9515, allocations: 154.6 kB / 1.395 GB, free: 4.98 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-05/0.9516, allocations: 154.1 kB / 1.395 GB, free: 4.832 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002375/0.9518, allocations: 422.4 kB / 1.396 GB, free: 4.383 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 7.185e-05/0.9519, allocations: 169.1 kB / 1.396 GB, free: 4.207 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.17e-05/0.9519, allocations: 95.19 kB / 1.396 GB, free: 4.113 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.03e-05/0.9519, allocations: 75.28 kB / 1.396 GB, free: 4.039 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.623e-05/0.952, allocations: 109.8 kB / 1.396 GB, free: 3.922 MB / 0.823 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.952, allocations: 0 / 1.396 GB, free: 3.922 MB / 0.823 GB Notification: Performance of matching and sorting (n=0): time 7.361e-05/0.9521, allocations: 29.7 kB / 1.396 GB, free: 3.887 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.741e-05/0.9521, allocations: 128.5 kB / 1.396 GB, free: 3.73 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.065e-05/0.9522, allocations: 96.56 kB / 1.396 GB, free: 3.633 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.353e-05/0.9522, allocations: 25.7 kB / 1.396 GB, free: 3.602 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 3.624e-05/0.9523, allocations: 80.14 kB / 1.396 GB, free: 3.52 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.152e-06/0.9523, allocations: 3.938 kB / 1.396 GB, free: 3.516 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.9e-07/0.9523, allocations: 0 / 1.396 GB, free: 3.516 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.263e-05/0.9524, allocations: 310.8 kB / 1.397 GB, free: 3.203 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.995e-06/0.9524, allocations: 0 / 1.397 GB, free: 3.203 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.171e-05/0.9524, allocations: 29.81 kB / 1.397 GB, free: 3.168 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.274e-05/0.9525, allocations: 83.19 kB / 1.397 GB, free: 3.086 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.526e-05/0.9525, allocations: 75.28 kB / 1.397 GB, free: 3.012 MB / 0.823 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.083e-05/0.9526, allocations: 29.7 kB / 1.397 GB, free: 2.977 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.9526, allocations: 4 kB / 1.397 GB, free: 2.973 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.396e-05/0.9526, allocations: 79.33 kB / 1.397 GB, free: 2.895 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.663e-05/0.9527, allocations: 158.5 kB / 1.397 GB, free: 2.738 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.132e-05/0.9527, allocations: 83.2 kB / 1.397 GB, free: 2.656 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.86e-05/0.9528, allocations: 154.6 kB / 1.397 GB, free: 2.504 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000172/0.9529, allocations: 84.53 kB / 1.397 GB, free: 2.422 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.915e-05/0.953, allocations: 75.28 kB / 1.397 GB, free: 2.348 MB / 0.823 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 (0): * Single equations (assignments): 0 * 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 0.0001119/0.9531, allocations: 263 kB / 1.398 GB, free: 2.086 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.359e-05/0.9531, allocations: 101 kB / 1.398 GB, free: 1.98 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.777e-05/0.9532, allocations: 119.8 kB / 1.398 GB, free: 1.859 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.862e-05/0.9533, allocations: 180.3 kB / 1.398 GB, free: 1.676 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.304e-05/0.9533, allocations: 176.3 kB / 1.398 GB, free: 1.496 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.705e-05/0.9534, allocations: 180.2 kB / 1.398 GB, free: 1.312 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001872/0.9536, allocations: 385.3 kB / 1.399 GB, free: 0.8945 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.294e-05/0.9536, allocations: 105.2 kB / 1.399 GB, free: 0.7852 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.051e-05/0.9537, allocations: 108.8 kB / 1.399 GB, free: 0.6719 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.139e-05/0.9537, allocations: 180.3 kB / 1.399 GB, free: 500 kB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.834e-05/0.9538, allocations: 180.2 kB / 1.399 GB, free: 312 kB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.343e-05/0.9538, allocations: 188.2 kB / 1.399 GB, free: 116 kB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.275e-05/0.9539, allocations: 176.3 kB / 1.4 GB, free: 15.93 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001249/0.954, allocations: 315.2 kB / 1.4 GB, free: 15.61 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.626e-05/0.9541, allocations: 182 kB / 1.4 GB, free: 15.4 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.424e-05/0.9542, allocations: 180.3 kB / 1.4 GB, free: 15.22 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001314/0.9543, allocations: 104.9 kB / 1.4 GB, free: 15.11 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.301e-05/0.9544, allocations: 187.4 kB / 1.401 GB, free: 14.92 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.2e-05/0.9544, allocations: 105 kB / 1.401 GB, free: 14.81 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.9e-05/0.9545, allocations: 75.28 kB / 1.401 GB, free: 14.74 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002593/0.9547, allocations: 8 kB / 1.401 GB, free: 14.73 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 (0): * Single equations (assignments): 0 * 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.0001262/0.9549, allocations: 178.4 kB / 1.401 GB, free: 14.55 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 4.146e-05/0.9549, allocations: 0 / 1.401 GB, free: 14.55 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.9549, allocations: 4 kB / 1.401 GB, free: 14.54 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.214e-06/0.9549, allocations: 4 kB / 1.401 GB, free: 14.54 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002689/0.9552, allocations: 0.5217 MB / 1.401 GB, free: 14.02 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001706/0.9554, allocations: 119.2 kB / 1.402 GB, free: 13.88 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002114/0.9556, allocations: 0.6841 MB / 1.402 GB, free: 13.16 MB / 0.8386 GB Notification: Performance of SimCode: time 2.5e-07/0.9556, allocations: 7.938 kB / 1.402 GB, free: 13.16 MB / 0.8386 GB Notification: Performance of Templates: time 0.00198/0.9576, allocations: 458.3 kB / 1.403 GB, free: 12.74 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.makefile (rm -f Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; mkfifo Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; head -c 1048576 < Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe >> ../files/Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.sim & ./Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Experimental_DHC_Loads_BaseClasses_Validation_GetPeakLoad.csv","../files/Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches