Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.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.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_latest_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_latest_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 10.0.0-master/package.mo): time 1.874/1.874, allocations: 390.4 MB / 397.7 MB, free: 10.68 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.001031/0.001031, allocations: 184.9 kB / 490.8 MB, free: 11.23 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.302/1.302, allocations: 221.4 MB / 0.7863 GB, free: 13.6 MB / 0.5886 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009513/0.0009513, allocations: 97.5 kB / 0.9264 GB, free: 4.551 MB / 0.6667 GB Notification: Performance of FrontEnd - loaded program: time 1.365e-05/1.367e-05, allocations: 8 kB / 1.072 GB, free: 15.57 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8945/0.8946, allocations: 143 MB / 1.212 GB, free: 155.9 MB / 0.8855 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.483/7.378, allocations: 3.173 GB / 4.384 GB, free: 323.6 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003863/7.378, allocations: 109 kB / 4.385 GB, free: 323.5 MB / 1.167 GB Notification: Performance of FrontEnd: time 30.78/38.16, allocations: 10.73 GB / 15.11 GB, free: 59.05 MB / 1.792 GB Notification: Performance of Transformations before backend: time 0.002695/38.16, allocations: 0.5656 MB / 15.11 GB, free: 58.86 MB / 1.792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3233 * Number of variables: 3233 Notification: Performance of Generate backend data structure: time 0.04048/38.2, allocations: 17.93 MB / 15.13 GB, free: 48.53 MB / 1.792 GB Notification: Performance of prepare preOptimizeDAE: time 2.979e-05/38.2, allocations: 8.031 kB / 15.13 GB, free: 48.52 MB / 1.792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01123/38.21, allocations: 2.667 MB / 15.13 GB, free: 46.04 MB / 1.792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03528/38.25, allocations: 21.05 MB / 15.15 GB, free: 29.44 MB / 1.792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002411/38.25, allocations: 404 kB / 15.15 GB, free: 29.05 MB / 1.792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001334/38.25, allocations: 0.8054 MB / 15.15 GB, free: 28.24 MB / 1.792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01383/38.26, allocations: 8.452 MB / 15.16 GB, free: 19.96 MB / 1.792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01575/38.28, allocations: 11.89 MB / 15.17 GB, free: 7.371 MB / 1.792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002342/38.28, allocations: 43.59 kB / 15.17 GB, free: 7.328 MB / 1.792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000857/38.28, allocations: 28 kB / 15.17 GB, free: 7.301 MB / 1.792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001983/38.28, allocations: 343.9 kB / 15.18 GB, free: 6.965 MB / 1.792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.9413/39.22, allocations: 234.6 MB / 15.4 GB, free: 263.4 MB / 1.839 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004916/39.22, allocations: 4.273 MB / 15.41 GB, free: 262.7 MB / 1.839 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002242/39.23, allocations: 2.248 MB / 15.41 GB, free: 262.5 MB / 1.839 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005146/39.23, allocations: 11.92 MB / 15.42 GB, free: 249 MB / 1.839 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.413e-05/39.23, allocations: 120 kB / 15.42 GB, free: 249 MB / 1.839 GB Notification: Performance of pre-optimization done (n=413): time 6.723e-06/39.23, allocations: 2.406 kB / 15.42 GB, free: 249 MB / 1.839 GB Notification: Performance of matching and sorting (n=413): time 0.01067/39.24, allocations: 5.267 MB / 15.43 GB, free: 248.2 MB / 1.839 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001202/39.24, allocations: 0.7891 MB / 15.43 GB, free: 247.3 MB / 1.839 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01146/39.25, allocations: 9.604 MB / 15.44 GB, free: 246.7 MB / 1.839 GB Notification: Performance of collectPreVariables (initialization): time 0.0006131/39.26, allocations: 51.36 kB / 15.44 GB, free: 246.6 MB / 1.839 GB Notification: Performance of collectInitialEqns (initialization): time 0.004065/39.26, allocations: 5.826 MB / 15.44 GB, free: 244.1 MB / 1.839 GB Notification: Performance of collectInitialBindings (initialization): time 0.003083/39.26, allocations: 1.394 MB / 15.44 GB, free: 243.4 MB / 1.839 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002387/39.26, allocations: 2.734 kB / 15.44 GB, free: 243.4 MB / 1.839 GB Notification: Performance of setup shared object (initialization): time 0.0002235/39.26, allocations: 0.5404 MB / 15.45 GB, free: 243.1 MB / 1.839 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002356/39.27, allocations: 1.817 MB / 15.45 GB, free: 243.1 MB / 1.839 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003712/39.27, allocations: 5.619 MB / 15.45 GB, free: 238.5 MB / 1.839 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006695/39.28, allocations: 3.476 MB / 15.46 GB, free: 238.4 MB / 1.839 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.881e-05/39.28, allocations: 20.25 kB / 15.46 GB, free: 238.4 MB / 1.839 GB Notification: Performance of matching and sorting (n=776) (initialization): time 0.01304/39.29, allocations: 7.668 MB / 15.46 GB, free: 237.7 MB / 1.839 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/39.29, allocations: 6 kB / 15.46 GB, free: 237.7 MB / 1.839 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.464e-05/39.29, allocations: 74.09 kB / 15.46 GB, free: 237.7 MB / 1.839 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.604e-05/39.29, allocations: 123.8 kB / 15.46 GB, free: 237.7 MB / 1.839 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00403/39.29, allocations: 1.424 MB / 15.47 GB, free: 237.7 MB / 1.839 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-05/39.29, allocations: 156.4 kB / 15.47 GB, free: 237.7 MB / 1.839 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007484/39.3, allocations: 0.9517 MB / 15.47 GB, free: 237.5 MB / 1.839 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005671/39.3, allocations: 440.3 kB / 15.47 GB, free: 237.5 MB / 1.839 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 341 * 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 (776): * Single equations (assignments): 776 * 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.0008647/39.3, allocations: 377 kB / 15.47 GB, free: 237.4 MB / 1.839 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001952/39.3, allocations: 1.394 MB / 15.47 GB, free: 236.7 MB / 1.839 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01222/39.32, allocations: 6.789 MB / 15.47 GB, free: 236.5 MB / 1.839 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.682e-05/39.32, allocations: 81.11 kB / 15.48 GB, free: 236.5 MB / 1.839 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-05/39.32, allocations: 7.375 kB / 15.48 GB, free: 236.5 MB / 1.839 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004068/39.32, allocations: 3.857 MB / 15.48 GB, free: 234.7 MB / 1.839 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03255/39.35, allocations: 25.9 MB / 15.5 GB, free: 230.9 MB / 1.839 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.34e-05/39.35, allocations: 31.75 kB / 15.5 GB, free: 230.9 MB / 1.839 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002531/39.36, allocations: 0.7629 MB / 15.5 GB, free: 230.9 MB / 1.839 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.29e-05/39.36, allocations: 52.72 kB / 15.5 GB, free: 230.9 MB / 1.839 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002441/39.36, allocations: 99.64 kB / 15.51 GB, free: 230.9 MB / 1.839 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-05/39.36, allocations: 76.16 kB / 15.51 GB, free: 230.9 MB / 1.839 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.886e-05/39.36, allocations: 52.78 kB / 15.51 GB, free: 230.9 MB / 1.839 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0153/39.37, allocations: 22.85 MB / 15.53 GB, free: 215.2 MB / 1.839 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0043/39.38, allocations: 2.359 MB / 15.53 GB, free: 214.4 MB / 1.839 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001354/39.38, allocations: 57.22 kB / 15.53 GB, free: 214.4 MB / 1.839 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004942/39.38, allocations: 404.6 kB / 15.53 GB, free: 214.4 MB / 1.839 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003682/39.38, allocations: 358.8 kB / 15.53 GB, free: 214.3 MB / 1.839 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003653/39.38, allocations: 257 kB / 15.53 GB, free: 214.3 MB / 1.839 GB Notification: Performance of sort global known variables: time 0.009316/39.39, allocations: 7.15 MB / 15.54 GB, free: 214 MB / 1.839 GB Notification: Performance of remove unused functions: time 0.01903/39.41, allocations: 6.788 MB / 15.54 GB, free: 213.7 MB / 1.839 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 143 * 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 (477): * Single equations (assignments): 413 * 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.02625/39.44, allocations: 21.4 MB / 15.57 GB, free: 201.2 MB / 1.839 GB Notification: Performance of simCode: created initialization part: time 0.006909/39.44, allocations: 5.106 MB / 15.57 GB, free: 201.2 MB / 1.839 GB Notification: Performance of simCode: created event and clocks part: time 1.456e-05/39.44, allocations: 11.16 kB / 15.57 GB, free: 201.2 MB / 1.839 GB Notification: Performance of simCode: created simulation system equations: time 0.002773/39.45, allocations: 2.442 MB / 15.57 GB, free: 201.1 MB / 1.839 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02144/39.47, allocations: 5.268 MB / 15.58 GB, free: 201 MB / 1.839 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03779/39.51, allocations: 21.24 MB / 15.6 GB, free: 194.9 MB / 1.839 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01109/39.52, allocations: 8.926 MB / 15.61 GB, free: 193.8 MB / 1.839 GB Notification: Performance of SimCode: time 4.81e-07/39.52, allocations: 2.406 kB / 15.61 GB, free: 193.8 MB / 1.839 GB Notification: Performance of Templates: time 0.365/39.88, allocations: 272.6 MB / 15.87 GB, free: 166.3 MB / 1.839 GB make -j1 -f Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.makefile (rm -f Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; mkfifo Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; head -c 1048576 < Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe >> ../files/Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.sim & ./Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Experimental_DHC_Loads_BaseClasses_Validation_BuildingWithETS.csv","../files/Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches