Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001349/0.001349, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001515/0.001515, allocations: 177 kB / 23.36 MB, free: 1.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9023/0.9023, allocations: 177.1 MB / 203.8 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.252/2.252, allocations: 438.8 MB / 0.6827 GB, free: 13.61 MB / 0.6511 GB " [Timeout remaining time 178] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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.DHC.Loads.BaseClasses.Validation.BuildingWithETS") translateModel(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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.DHC.Loads.BaseClasses.Validation.BuildingWithETS") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.292e-05/1.41e-05, allocations: 6.25 kB / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 0.5986/0.5986, allocations: 266 MB / 1.098 GB, free: 65.26 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.1258/0.7244, allocations: 97.58 MB / 1.194 GB, free: 28.38 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.03517/0.7596, allocations: 1.71 MB / 1.195 GB, free: 27.44 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.01763/0.7772, allocations: 7.594 MB / 1.203 GB, free: 21.04 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.04553/0.8228, allocations: 22.67 MB / 1.225 GB, free: 5.855 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.03259/0.8554, allocations: 20.07 MB / 1.244 GB, free: 7.844 MB / 1.026 GB Notification: Performance of NFFlatten.flatten: time 0.06029/0.9156, allocations: 57.33 MB / 1.3 GB, free: 5.051 MB / 1.073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02614/0.9418, allocations: 17.06 MB / 1.317 GB, free: 4.512 MB / 1.089 GB Notification: Performance of NFEvalConstants.evaluate: time 0.05267/0.9945, allocations: 27.06 MB / 1.344 GB, free: 10.72 MB / 1.12 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02543/1.02, allocations: 15.53 MB / 1.359 GB, free: 12.18 MB / 1.135 GB Notification: Performance of NFPackage.collectConstants: time 0.005999/1.026, allocations: 2.098 MB / 1.361 GB, free: 10.08 MB / 1.135 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01714/1.043, allocations: 9.164 MB / 1.37 GB, free: 1.004 MB / 1.135 GB Notification: Performance of NFScalarize.scalarize: time 0.004161/1.047, allocations: 5.249 MB / 1.375 GB, free: 12.04 MB / 1.151 GB Notification: Performance of NFVerifyModel.verify: time 0.01328/1.06, allocations: 7.404 MB / 1.382 GB, free: 4.914 MB / 1.151 GB Notification: Performance of NFConvertDAE.convert: time 0.02931/1.09, allocations: 20.94 MB / 1.403 GB, free: 1.047 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/1.09, allocations: 0 / 1.403 GB, free: 1.047 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.175e-06/1.09, allocations: 0 / 1.403 GB, free: 1.047 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.000863/1.091, allocations: 0 / 1.403 GB, free: 1.047 MB / 1.167 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.02358/1.114, allocations: 20.42 MB / 1.422 GB, free: 12.69 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/1.114, allocations: 16.62 kB / 1.422 GB, free: 12.68 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003898/1.118, allocations: 2.746 MB / 1.425 GB, free: 9.926 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01588/1.134, allocations: 12.31 MB / 1.437 GB, free: 13.43 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005172/1.135, allocations: 1.001 MB / 1.438 GB, free: 12.43 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00131/1.136, allocations: 1.367 MB / 1.44 GB, free: 11.06 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01063/1.146, allocations: 11.82 MB / 1.451 GB, free: 13.87 MB / 1.229 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001831/1.147, allocations: 51.55 kB / 1.451 GB, free: 13.82 MB / 1.229 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006118/1.147, allocations: 0.5312 MB / 1.452 GB, free: 13.29 MB / 1.229 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001851/1.147, allocations: 351.9 kB / 1.452 GB, free: 12.94 MB / 1.229 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004609/1.152, allocations: 3.632 MB / 1.456 GB, free: 9.27 MB / 1.229 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04136/1.193, allocations: 46.09 MB / 1.501 GB, free: 9.688 MB / 1.276 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00286/1.196, allocations: 3.336 MB / 1.504 GB, free: 6.039 MB / 1.276 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009138/1.197, allocations: 0.9536 MB / 1.505 GB, free: 4.98 MB / 1.276 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5593/1.756, allocations: 62.98 MB / 1.566 GB, free: 284.5 MB / 1.323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001071/1.757, allocations: 124.3 kB / 1.566 GB, free: 284.4 MB / 1.323 GB Notification: Performance of pre-optimization done (n=412): time 6.973e-06/1.757, allocations: 0 / 1.566 GB, free: 284.4 MB / 1.323 GB Notification: Performance of matching and sorting (n=412): time 0.006393/1.763, allocations: 2.644 MB / 1.569 GB, free: 284.4 MB / 1.323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001312/1.763, allocations: 0.7934 MB / 1.57 GB, free: 283.5 MB / 1.323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01234/1.775, allocations: 9.923 MB / 1.579 GB, free: 282.7 MB / 1.323 GB Notification: Performance of collectPreVariables (initialization): time 0.0006277/1.776, allocations: 155.9 kB / 1.58 GB, free: 282.6 MB / 1.323 GB Notification: Performance of collectInitialEqns (initialization): time 0.003979/1.78, allocations: 6.012 MB / 1.585 GB, free: 282.2 MB / 1.323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009851/1.781, allocations: 1.526 MB / 1.587 GB, free: 281.5 MB / 1.323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00137/1.782, allocations: 1.637 MB / 1.588 GB, free: 281.3 MB / 1.323 GB Notification: Performance of setup shared object (initialization): time 2.737e-05/1.782, allocations: 304.6 kB / 1.589 GB, free: 281 MB / 1.323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009397/1.783, allocations: 0.6531 MB / 1.589 GB, free: 281 MB / 1.323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002599/1.786, allocations: 8.028 MB / 1.597 GB, free: 272 MB / 1.323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003428/1.789, allocations: 5.727 MB / 1.603 GB, free: 267.5 MB / 1.323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.09e-05/1.789, allocations: 34.28 kB / 1.603 GB, free: 267.5 MB / 1.323 GB Notification: Performance of matching and sorting (n=967) (initialization): time 0.005476/1.795, allocations: 4.989 MB / 1.608 GB, free: 267.1 MB / 1.323 GB Notification: Performance of prepare postOptimizeDAE: time 5.052e-05/1.795, allocations: 54.16 kB / 1.608 GB, free: 267.1 MB / 1.323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.641e-05/1.795, allocations: 115.3 kB / 1.608 GB, free: 267.1 MB / 1.323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001096/1.795, allocations: 159.6 kB / 1.608 GB, free: 267.1 MB / 1.323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002568/1.798, allocations: 1.651 MB / 1.61 GB, free: 267.1 MB / 1.323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001132/1.798, allocations: 233.3 kB / 1.61 GB, free: 267.1 MB / 1.323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003952/1.802, allocations: 0.8751 MB / 1.611 GB, free: 266.8 MB / 1.323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00039/1.802, allocations: 386.1 kB / 1.611 GB, free: 266.8 MB / 1.323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 517 * Number of states: 0 () * Number of discrete variables: 4 (senDifEntFlo.state_a1_inflow.phase,senDifEntFlo.state_b1_inflow.phase,senDifEntFlo1.state_a1_inflow.phase,senDifEntFlo1.state_b1_inflow.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (967): * Single equations (assignments): 967 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002635/1.805, allocations: 0.7195 MB / 1.612 GB, free: 266.7 MB / 1.323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001151/1.806, allocations: 0.8661 MB / 1.613 GB, free: 266.7 MB / 1.323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004106/1.81, allocations: 3.8 MB / 1.616 GB, free: 266.3 MB / 1.323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.958e-05/1.81, allocations: 84.86 kB / 1.616 GB, free: 266.3 MB / 1.323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.636e-05/1.81, allocations: 7.875 kB / 1.616 GB, free: 266.3 MB / 1.323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009696/1.811, allocations: 2.113 MB / 1.619 GB, free: 264.6 MB / 1.323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01568/1.827, allocations: 14.25 MB / 1.632 GB, free: 259.7 MB / 1.323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-05/1.827, allocations: 31.22 kB / 1.632 GB, free: 259.7 MB / 1.323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001374/1.828, allocations: 0.7539 MB / 1.633 GB, free: 259.7 MB / 1.323 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.105e-05/1.828, allocations: 51.81 kB / 1.633 GB, free: 259.7 MB / 1.323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00019/1.829, allocations: 142.8 kB / 1.633 GB, free: 259.7 MB / 1.323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.469e-05/1.829, allocations: 70.83 kB / 1.633 GB, free: 259.7 MB / 1.323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-05/1.829, allocations: 46.75 kB / 1.634 GB, free: 259.7 MB / 1.323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00487/1.833, allocations: 7.07 MB / 1.64 GB, free: 255.1 MB / 1.323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002661/1.836, allocations: 1.77 MB / 1.642 GB, free: 254.3 MB / 1.323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008136/1.837, allocations: 156.3 kB / 1.642 GB, free: 254.3 MB / 1.323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002194/1.839, allocations: 155.7 kB / 1.642 GB, free: 254.3 MB / 1.323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002787/1.839, allocations: 406.3 kB / 1.643 GB, free: 254.3 MB / 1.323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002361/1.84, allocations: 209.9 kB / 1.643 GB, free: 254.3 MB / 1.323 GB Notification: Performance of sorting global known variables: time 0.00474/1.844, allocations: 5.362 MB / 1.648 GB, free: 253.8 MB / 1.323 GB Notification: Performance of sort global known variables: time 1.9e-07/1.844, allocations: 0 / 1.648 GB, free: 253.8 MB / 1.323 GB Notification: Performance of remove unused functions: time 0.009725/1.854, allocations: 4.753 MB / 1.653 GB, free: 253.1 MB / 1.323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 141 * 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,buiHeaGen2to4.bui.loaHea.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,buiHeaGen1.bui.loaHea.vol.dynBal.U) * Number of discrete variables: 4 ($cse12.phase,$cse12.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (478): * Single equations (assignments): 412 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 66 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003184/1.857, allocations: 1.651 MB / 1.655 GB, free: 252.8 MB / 1.323 GB Notification: Performance of simCode: created initialization part: time 0.003976/1.861, allocations: 3.162 MB / 1.658 GB, free: 252.6 MB / 1.323 GB Notification: Performance of simCode: created event and clocks part: time 0.0001785/1.861, allocations: 177.8 kB / 1.658 GB, free: 252.6 MB / 1.323 GB Notification: Performance of simCode: created simulation system equations: time 0.001096/1.863, allocations: 1.28 MB / 1.659 GB, free: 252.5 MB / 1.323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01254/1.875, allocations: 5.755 MB / 1.665 GB, free: 251.6 MB / 1.323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02409/1.899, allocations: 25.21 MB / 1.689 GB, free: 232.3 MB / 1.323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002139/1.901, allocations: 2.772 MB / 1.692 GB, free: 230.4 MB / 1.323 GB Notification: Performance of simCode: alias equations: time 0.006081/1.907, allocations: 2.064 MB / 1.694 GB, free: 228.9 MB / 1.323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006618/1.914, allocations: 3.79 MB / 1.698 GB, free: 226 MB / 1.323 GB Notification: Performance of SimCode: time 1.954e-06/1.914, allocations: 5.094 kB / 1.698 GB, free: 226 MB / 1.323 GB Notification: Performance of Templates: time 0.2494/2.163, allocations: 238.4 MB / 1.93 GB, free: 1.645 MB / 1.323 GB " [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; mkfifo Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe >> ../files/Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.sim & ./Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_DHC_Loads_BaseClasses_Validation_BuildingWithETS.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.366824402939528]