Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.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.BuildingWithETS,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|buiTesOutETS.PHea|buiTesOutETS.PCoo|buiTesOutETS.PFan|buiTesOutETS.PPum|buiTesOutETSBui.QHea_flow|buiTesOutETSBui.QCoo_flow|buiTesOutETSBui.PHea|buiTesOutETSBui.PCoo|buiTesOutETSBui.PFan|buiTesOutETSBui.PPum|buiTesFacMul.PHea|buiTesFacMul.PCoo|buiTesFacMul.PFan|buiTesFacMul.PPum|buiTesFacMul.QHea_flow|buiTesFacMul.QCoo_flow",fileNamePrefix="Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS") translateModel(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|buiTesOutETS.PHea|buiTesOutETS.PCoo|buiTesOutETS.PFan|buiTesOutETS.PPum|buiTesOutETSBui.QHea_flow|buiTesOutETSBui.QCoo_flow|buiTesOutETSBui.PHea|buiTesOutETSBui.PCoo|buiTesOutETSBui.PFan|buiTesOutETSBui.PPum|buiTesFacMul.PHea|buiTesFacMul.PCoo|buiTesFacMul.PFan|buiTesFacMul.PPum|buiTesFacMul.QHea_flow|buiTesFacMul.QCoo_flow",fileNamePrefix="Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS") [: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.889/1.889, allocations: 387.2 MB / 394.5 MB, free: 13.33 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00107/0.00107, allocations: 182.7 kB / 487 MB, free: 0.75 MB / 378.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.272/1.272, allocations: 221.3 MB / 0.7819 GB, free: 6.805 MB / 0.573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009429/0.0009429, allocations: 102.1 kB / 0.9213 GB, free: 43.7 MB / 0.6198 GB Notification: Performance of FrontEnd - loaded program: time 7.154e-06/7.184e-06, allocations: 0 / 1.066 GB, free: 7.578 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6535/0.6535, allocations: 142.3 MB / 1.205 GB, free: 72.82 MB / 0.7917 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.687/6.341, allocations: 3.172 GB / 4.377 GB, free: 259.6 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002506/6.341, allocations: 107.6 kB / 4.377 GB, free: 259.5 MB / 1.167 GB Notification: Performance of FrontEnd: time 30.25/36.59, allocations: 10.72 GB / 15.1 GB, free: 27.4 MB / 1.776 GB Notification: Performance of Transformations before backend: time 0.002132/36.6, allocations: 0.5502 MB / 15.1 GB, free: 26.85 MB / 1.776 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3135 * Number of variables: 3135 Notification: Performance of Generate backend data structure: time 0.04333/36.64, allocations: 17.6 MB / 15.12 GB, free: 9.039 MB / 1.776 GB Notification: Performance of prepare preOptimizeDAE: time 3.183e-05/36.64, allocations: 8.031 kB / 15.12 GB, free: 9.031 MB / 1.776 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01209/36.65, allocations: 2.637 MB / 15.12 GB, free: 6.371 MB / 1.776 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04488/36.7, allocations: 20.45 MB / 15.14 GB, free: 1.914 MB / 1.792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005633/36.7, allocations: 392 kB / 15.14 GB, free: 1.531 MB / 1.792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003125/36.7, allocations: 0.7812 MB / 15.14 GB, free: 0.75 MB / 1.792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02075/36.72, allocations: 8.078 MB / 15.15 GB, free: 8.66 MB / 1.807 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03328/36.76, allocations: 11.47 MB / 15.16 GB, free: 12.47 MB / 1.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00064/36.76, allocations: 43.53 kB / 15.16 GB, free: 12.43 MB / 1.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002879/36.76, allocations: 24 kB / 15.16 GB, free: 12.4 MB / 1.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003328/36.76, allocations: 332 kB / 15.16 GB, free: 12.08 MB / 1.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7715/37.53, allocations: 102 MB / 15.26 GB, free: 299.9 MB / 1.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005256/37.54, allocations: 4.339 MB / 15.26 GB, free: 299.3 MB / 1.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002362/37.54, allocations: 2.294 MB / 15.26 GB, free: 299 MB / 1.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05556/37.59, allocations: 43.94 MB / 15.31 GB, free: 266.2 MB / 1.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000114/37.59, allocations: 116.3 kB / 15.31 GB, free: 266.1 MB / 1.823 GB Notification: Performance of pre-optimization done (n=423): time 6.021e-06/37.59, allocations: 0 / 15.31 GB, free: 266.1 MB / 1.823 GB Notification: Performance of matching and sorting (n=423): time 0.0131/37.61, allocations: 5.394 MB / 15.31 GB, free: 265.4 MB / 1.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001168/37.61, allocations: 0.7871 MB / 15.31 GB, free: 264.5 MB / 1.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01267/37.62, allocations: 9.145 MB / 15.32 GB, free: 263.9 MB / 1.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0008531/37.62, allocations: 52.11 kB / 15.32 GB, free: 263.8 MB / 1.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.004047/37.62, allocations: 5.556 MB / 15.33 GB, free: 261.4 MB / 1.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.003302/37.63, allocations: 1.423 MB / 15.33 GB, free: 260.7 MB / 1.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000247/37.63, allocations: 0 / 15.33 GB, free: 260.7 MB / 1.823 GB Notification: Performance of setup shared object (initialization): time 0.0002163/37.63, allocations: 0.5185 MB / 15.33 GB, free: 260.4 MB / 1.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002365/37.63, allocations: 1.758 MB / 15.33 GB, free: 260.4 MB / 1.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003679/37.63, allocations: 5.282 MB / 15.34 GB, free: 256.1 MB / 1.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006786/37.64, allocations: 3.328 MB / 15.34 GB, free: 256.1 MB / 1.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.217e-05/37.64, allocations: 17.91 kB / 15.34 GB, free: 256.1 MB / 1.823 GB Notification: Performance of matching and sorting (n=730) (initialization): time 0.01332/37.65, allocations: 7.251 MB / 15.35 GB, free: 255.4 MB / 1.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/37.66, allocations: 7.812 kB / 15.35 GB, free: 255.4 MB / 1.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.257e-05/37.66, allocations: 64 kB / 15.35 GB, free: 255.4 MB / 1.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.55e-05/37.66, allocations: 111.3 kB / 15.35 GB, free: 255.4 MB / 1.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003861/37.66, allocations: 1.334 MB / 15.35 GB, free: 255.4 MB / 1.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.464e-05/37.66, allocations: 139.3 kB / 15.35 GB, free: 255.4 MB / 1.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007959/37.67, allocations: 0.9114 MB / 15.35 GB, free: 255.2 MB / 1.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005651/37.67, allocations: 412.4 kB / 15.35 GB, free: 255.2 MB / 1.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 295 * Number of states: 0 () * Number of discrete variables: 4 (senDifEntFlo1.state_b1_inflow.phase,senDifEntFlo1.state_a1_inflow.phase,senDifEntFlo.state_b1_inflow.phase,senDifEntFlo.state_a1_inflow.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (730): * Single equations (assignments): 730 * 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.0008827/37.67, allocations: 355.7 kB / 15.35 GB, free: 255.1 MB / 1.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002346/37.67, allocations: 1.347 MB / 15.35 GB, free: 254.5 MB / 1.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01395/37.68, allocations: 7.069 MB / 15.36 GB, free: 254.1 MB / 1.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.77e-05/37.68, allocations: 76.39 kB / 15.36 GB, free: 254.1 MB / 1.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.557e-05/37.68, allocations: 7.938 kB / 15.36 GB, free: 254.1 MB / 1.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00429/37.69, allocations: 3.86 MB / 15.36 GB, free: 252.3 MB / 1.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.044/37.73, allocations: 27.98 MB / 15.39 GB, free: 248.6 MB / 1.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.012e-05/37.73, allocations: 34.34 kB / 15.39 GB, free: 248.6 MB / 1.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002837/37.74, allocations: 0.7691 MB / 15.39 GB, free: 248.6 MB / 1.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.893e-05/37.74, allocations: 58.31 kB / 15.39 GB, free: 248.6 MB / 1.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000379/37.74, allocations: 100.6 kB / 15.39 GB, free: 248.6 MB / 1.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-05/37.74, allocations: 74.27 kB / 15.39 GB, free: 248.6 MB / 1.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.27e-05/37.74, allocations: 52.16 kB / 15.39 GB, free: 248.6 MB / 1.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0175/37.75, allocations: 23.06 MB / 15.41 GB, free: 232.3 MB / 1.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00593/37.76, allocations: 2.358 MB / 15.42 GB, free: 231.5 MB / 1.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002848/37.76, allocations: 61.75 kB / 15.42 GB, free: 231.5 MB / 1.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007138/37.77, allocations: 403.2 kB / 15.42 GB, free: 231.5 MB / 1.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003952/37.77, allocations: 361.9 kB / 15.42 GB, free: 231.5 MB / 1.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005259/37.77, allocations: 260.3 kB / 15.42 GB, free: 231.5 MB / 1.823 GB Notification: Performance of sort global known variables: time 0.01293/37.78, allocations: 6.951 MB / 15.42 GB, free: 231.1 MB / 1.823 GB Notification: Performance of remove unused functions: time 0.01965/37.8, allocations: 6.62 MB / 15.43 GB, free: 230.8 MB / 1.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 149 * Number of states: 15 (buiTesFacMul.bui.loaHea.vol.dynBal.U,buiTesFacMul.bui.loaCoo.vol.dynBal.U,buiTesOutETSBui.bui.loaHea.vol.dynBal.U,buiTesOutETSBui.bui.loaCoo.vol.dynBal.U,buiTesOutETS.bui.loaHea.vol.dynBal.U,buiTesOutETS.bui.loaCoo.vol.dynBal.U,buiComGen5.bui.loaHea.vol.dynBal.U,buiComGen5.bui.loaCoo.vol.dynBal.U,buiComGen2to4.bui.loaHea.vol.dynBal.U,buiComGen2to4.bui.loaCoo.vol.dynBal.U,buiCoo.bui.loaCoo.vol.dynBal.U,buiComGen1.bui.loaHea.vol.dynBal.U,buiComGen1.bui.loaCoo.vol.dynBal.U,buiHeaGen2to4.bui.loaHea.vol.dynBal.U,buiHeaGen1.bui.loaHea.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (483): * Single equations (assignments): 419 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 64 * 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.02777/37.83, allocations: 21.42 MB / 15.45 GB, free: 218.3 MB / 1.823 GB Notification: Performance of simCode: created initialization part: time 0.007391/37.84, allocations: 4.998 MB / 15.46 GB, free: 218.3 MB / 1.823 GB Notification: Performance of simCode: created event and clocks part: time 2.6e-05/37.84, allocations: 9.875 kB / 15.46 GB, free: 218.3 MB / 1.823 GB Notification: Performance of simCode: created simulation system equations: time 0.002743/37.84, allocations: 2.486 MB / 15.46 GB, free: 218.3 MB / 1.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02211/37.86, allocations: 5.258 MB / 15.46 GB, free: 218.2 MB / 1.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03366/37.9, allocations: 20.64 MB / 15.48 GB, free: 212.2 MB / 1.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009963/37.91, allocations: 8.568 MB / 15.49 GB, free: 211.2 MB / 1.823 GB Notification: Performance of SimCode: time 9.32e-07/37.91, allocations: 0 / 15.49 GB, free: 211.2 MB / 1.823 GB Notification: Performance of Templates: time 0.3773/38.28, allocations: 271.9 MB / 15.76 GB, free: 186.3 MB / 1.823 GB make -j1 -f Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.makefile (rm -f Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; mkfifo Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; head -c 1048576 < Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe >> ../files/Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.sim & ./Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Experimental_DHC_Loads_BaseClasses_Validation_BuildingWithETS.csv","../files/Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches