Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.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.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|QCoo_flow|QHea_flow|QWatHea_flow",fileNamePrefix="Buildings_latest_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_latest_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 10.0.0-master/package.mo): time 1.981/1.981, 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.001359/0.00136, allocations: 189.2 kB / 490.8 MB, free: 1.934 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.294/1.294, allocations: 221.4 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.0009712/0.0009714, allocations: 101.4 kB / 0.9264 GB, free: 14.2 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 6.883e-06/6.913e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2716/0.2717, allocations: 143 MB / 1.212 GB, free: 40.14 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8132/1.085, allocations: 151.4 MB / 1.359 GB, free: 17.12 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003013/1.085, allocations: 88.12 kB / 1.359 GB, free: 17.11 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.07876/1.164, allocations: 42.1 MB / 1.401 GB, free: 7.637 MB / 0.823 GB Notification: Performance of Transformations before backend: time 9.418e-06/1.164, allocations: 0.6562 kB / 1.401 GB, free: 7.637 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.0008429/1.165, allocations: 408.2 kB / 1.401 GB, free: 23.24 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.39e-05/1.165, allocations: 8.812 kB / 1.401 GB, free: 23.24 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.196e-05/1.165, allocations: 84.83 kB / 1.401 GB, free: 23.16 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001645/1.165, allocations: 247.2 kB / 1.401 GB, free: 22.88 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.742e-05/1.165, allocations: 150.6 kB / 1.401 GB, free: 22.73 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.7e-05/1.165, allocations: 151.6 kB / 1.402 GB, free: 22.58 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.984e-05/1.165, allocations: 155.5 kB / 1.402 GB, free: 22.43 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.437e-05/1.166, allocations: 104.8 kB / 1.402 GB, free: 22.32 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.867e-05/1.166, allocations: 80.25 kB / 1.402 GB, free: 22.24 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.375e-05/1.166, allocations: 150.6 kB / 1.402 GB, free: 22.09 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.802e-05/1.166, allocations: 151.4 kB / 1.402 GB, free: 21.95 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002774/1.166, allocations: 427.9 kB / 1.403 GB, free: 21.49 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.335e-05/1.166, allocations: 181.8 kB / 1.403 GB, free: 21.31 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.468e-05/1.166, allocations: 80.14 kB / 1.403 GB, free: 21.23 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.565e-05/1.166, allocations: 75.97 kB / 1.403 GB, free: 21.15 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.003e-05/1.166, allocations: 107.4 kB / 1.403 GB, free: 21.04 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/1.166, allocations: 0 / 1.403 GB, free: 21.04 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 8.687e-05/1.166, allocations: 27.48 kB / 1.403 GB, free: 21.01 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.111e-05/1.166, allocations: 129.4 kB / 1.403 GB, free: 20.85 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/1.167, allocations: 104 kB / 1.403 GB, free: 20.75 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.125e-05/1.167, allocations: 25.7 kB / 1.403 GB, free: 20.72 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.667e-05/1.167, allocations: 81.64 kB / 1.403 GB, free: 20.64 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.114e-06/1.167, allocations: 0 / 1.403 GB, free: 20.64 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.6e-07/1.167, allocations: 0 / 1.403 GB, free: 20.64 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001342/1.167, allocations: 311.5 kB / 1.404 GB, free: 20.32 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.791e-06/1.167, allocations: 4.625 kB / 1.404 GB, free: 20.32 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.684e-05/1.167, allocations: 23.67 kB / 1.404 GB, free: 20.29 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.304e-05/1.167, allocations: 76.94 kB / 1.404 GB, free: 20.22 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.621e-05/1.167, allocations: 75.28 kB / 1.404 GB, free: 20.14 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.848e-05/1.167, allocations: 36.91 kB / 1.404 GB, free: 20.11 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/1.167, allocations: 5.688 kB / 1.404 GB, free: 20.11 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.779e-05/1.167, allocations: 79.27 kB / 1.404 GB, free: 20.03 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.766e-05/1.167, allocations: 155.8 kB / 1.404 GB, free: 19.88 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.248e-05/1.167, allocations: 80 kB / 1.404 GB, free: 19.8 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-05/1.167, allocations: 159.2 kB / 1.404 GB, free: 19.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001471/1.167, allocations: 83.45 kB / 1.404 GB, free: 19.56 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.776e-05/1.167, allocations: 79.72 kB / 1.405 GB, free: 19.49 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 (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.0001334/1.167, allocations: 254.1 kB / 1.405 GB, free: 19.23 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.728e-05/1.168, allocations: 110.2 kB / 1.405 GB, free: 19.12 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.759e-05/1.168, allocations: 113.3 kB / 1.405 GB, free: 19.01 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.989e-05/1.168, allocations: 181.6 kB / 1.405 GB, free: 18.82 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.086e-05/1.168, allocations: 181.6 kB / 1.405 GB, free: 18.64 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.838e-05/1.168, allocations: 176.3 kB / 1.406 GB, free: 18.46 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002417/1.168, allocations: 382.8 kB / 1.406 GB, free: 18.05 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.961e-05/1.168, allocations: 113.7 kB / 1.406 GB, free: 17.93 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.248e-05/1.168, allocations: 101.7 kB / 1.406 GB, free: 17.82 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.03e-05/1.168, allocations: 181.6 kB / 1.406 GB, free: 17.64 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.005e-05/1.168, allocations: 184.9 kB / 1.406 GB, free: 17.45 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.132e-05/1.168, allocations: 181 kB / 1.407 GB, free: 17.27 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.734e-05/1.168, allocations: 184.5 kB / 1.407 GB, free: 17.09 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001385/1.169, allocations: 307.7 kB / 1.407 GB, free: 16.77 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.679e-05/1.169, allocations: 186.9 kB / 1.407 GB, free: 16.56 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.722e-05/1.169, allocations: 185.4 kB / 1.407 GB, free: 16.38 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001358/1.169, allocations: 103.3 kB / 1.408 GB, free: 16.27 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.989e-05/1.169, allocations: 181.2 kB / 1.408 GB, free: 16.09 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.496e-05/1.169, allocations: 106.2 kB / 1.408 GB, free: 15.98 MB / 0.8386 GB Notification: Performance of sort global known variables: time 4.089e-05/1.169, allocations: 81.61 kB / 1.408 GB, free: 15.9 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003759/1.169, allocations: 5.125 kB / 1.408 GB, free: 15.9 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.0001644/1.17, allocations: 171.6 kB / 1.408 GB, free: 15.74 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 5.554e-05/1.17, allocations: 5 kB / 1.408 GB, free: 15.74 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/1.17, allocations: 4.812 kB / 1.408 GB, free: 15.73 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.563e-06/1.17, allocations: 0.7812 kB / 1.408 GB, free: 15.73 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003183/1.17, allocations: 0.5205 MB / 1.409 GB, free: 15.21 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002185/1.17, allocations: 127 kB / 1.409 GB, free: 15.07 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002809/1.17, allocations: 0.6799 MB / 1.409 GB, free: 14.36 MB / 0.8386 GB Notification: Performance of SimCode: time 4.21e-07/1.17, allocations: 4 kB / 1.409 GB, free: 14.36 MB / 0.8386 GB Notification: Performance of Templates: time 0.002698/1.173, allocations: 451.2 kB / 1.41 GB, free: 14.14 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.makefile (rm -f Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; mkfifo Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe >> ../files/Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.sim & ./Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Experimental_DHC_Loads_BaseClasses_Validation_GetPeakLoad.csv","../files/Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches