Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009896/0.0009896, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.001039/0.001039, allocations: 161 kB / 23.82 MB, free: 0.7461 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.9136/0.9136, allocations: 177.1 MB / 204.2 MB, free: 5.121 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.772/1.772, allocations: 377.8 MB / 0.6236 GB, free: 8.543 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 0.8116 GB, free: 1.688 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.52e-05/1.641e-05, allocations: 4.703 kB / 0.8116 GB, free: 1.684 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 0.5737/0.5737, allocations: 271.1 MB / 1.076 GB, free: 104.2 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.1471/0.7207, allocations: 93.05 MB / 1.167 GB, free: 73.63 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0377/0.7584, allocations: 1.691 MB / 1.169 GB, free: 72.69 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.01902/0.7774, allocations: 7.673 MB / 1.176 GB, free: 68.77 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.04902/0.8265, allocations: 22.51 MB / 1.198 GB, free: 58.2 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.03371/0.8602, allocations: 18.66 MB / 1.217 GB, free: 45.18 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.06329/0.9235, allocations: 57.22 MB / 1.272 GB, free: 11.45 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02932/0.9528, allocations: 17.31 MB / 1.289 GB, free: 10.68 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.06992/1.023, allocations: 26.84 MB / 1.316 GB, free: 1.102 MB / 1.026 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03108/1.054, allocations: 16.12 MB / 1.331 GB, free: 2.277 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 0.006368/1.06, allocations: 2.062 MB / 1.333 GB, free: 220 kB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02202/1.082, allocations: 9.115 MB / 1.342 GB, free: 7.191 MB / 1.057 GB Notification: Performance of NFScalarize.scalarize: time 0.006972/1.089, allocations: 5.167 MB / 1.347 GB, free: 2.297 MB / 1.057 GB Notification: Performance of NFVerifyModel.verify: time 0.0166/1.106, allocations: 7.241 MB / 1.354 GB, free: 11.32 MB / 1.073 GB Notification: Performance of NFConvertDAE.convert: time 0.03109/1.137, allocations: 20.67 MB / 1.374 GB, free: 7.711 MB / 1.089 GB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/1.137, allocations: 4 kB / 1.374 GB, free: 7.707 MB / 1.089 GB Notification: Performance of FrontEnd: time 1.453e-06/1.137, allocations: 0 / 1.374 GB, free: 7.707 MB / 1.089 GB Notification: Performance of Transformations before backend: time 0.0005178/1.137, allocations: 0 / 1.374 GB, free: 7.707 MB / 1.089 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.0223/1.16, allocations: 20.58 MB / 1.395 GB, free: 3.199 MB / 1.104 GB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/1.16, allocations: 12.03 kB / 1.395 GB, free: 3.188 MB / 1.104 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004468/1.164, allocations: 3.463 MB / 1.398 GB, free: 15.71 MB / 1.12 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01921/1.183, allocations: 18.97 MB / 1.416 GB, free: 12.96 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000437/1.184, allocations: 0.9648 MB / 1.417 GB, free: 11.99 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001047/1.185, allocations: 1.32 MB / 1.419 GB, free: 10.67 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01344/1.198, allocations: 12.88 MB / 1.431 GB, free: 12.14 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002023/1.198, allocations: 47.58 kB / 1.431 GB, free: 12.09 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000799/1.199, allocations: 0.5343 MB / 1.432 GB, free: 11.56 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002152/1.2, allocations: 343.9 kB / 1.432 GB, free: 11.23 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008022/1.208, allocations: 4.499 MB / 1.437 GB, free: 6.73 MB / 1.151 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.4953/1.703, allocations: 66.5 MB / 1.502 GB, free: 178.4 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003107/1.706, allocations: 2.628 MB / 1.504 GB, free: 177.4 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001226/1.707, allocations: 1.139 MB / 1.505 GB, free: 177.1 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03838/1.746, allocations: 21.98 MB / 1.527 GB, free: 175.9 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001141/1.746, allocations: 132.1 kB / 1.527 GB, free: 175.8 MB / 1.198 GB Notification: Performance of pre-optimization done (n=412): time 6.983e-06/1.746, allocations: 0 / 1.527 GB, free: 175.8 MB / 1.198 GB Notification: Performance of matching and sorting (n=412): time 0.007696/1.753, allocations: 3.996 MB / 1.531 GB, free: 175.7 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001237/1.754, allocations: 0.792 MB / 1.531 GB, free: 174.8 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01027/1.764, allocations: 9.979 MB / 1.541 GB, free: 173.9 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.00048/1.764, allocations: 135.7 kB / 1.541 GB, free: 173.9 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.004882/1.769, allocations: 8.887 MB / 1.55 GB, free: 172.6 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.001094/1.77, allocations: 1.542 MB / 1.552 GB, free: 171.8 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001396/1.772, allocations: 1.491 MB / 1.553 GB, free: 171.7 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 4.222e-05/1.772, allocations: 476.8 kB / 1.553 GB, free: 171.2 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001332/1.773, allocations: 0.7321 MB / 1.554 GB, free: 171.2 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003335/1.776, allocations: 8.551 MB / 1.563 GB, free: 161.6 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003905/1.78, allocations: 5.657 MB / 1.568 GB, free: 157 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.435e-05/1.78, allocations: 25.28 kB / 1.568 GB, free: 157 MB / 1.198 GB Notification: Performance of matching and sorting (n=832) (initialization): time 0.006984/1.787, allocations: 5.695 MB / 1.574 GB, free: 156.2 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 4.154e-05/1.787, allocations: 43.16 kB / 1.574 GB, free: 156.2 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.436e-05/1.787, allocations: 88.59 kB / 1.574 GB, free: 156.2 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.938e-05/1.787, allocations: 125.7 kB / 1.574 GB, free: 156.2 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002516/1.79, allocations: 1.434 MB / 1.575 GB, free: 156.2 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001211/1.79, allocations: 178.5 kB / 1.575 GB, free: 156.2 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004358/1.794, allocations: 0.7697 MB / 1.576 GB, free: 155.9 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004324/1.795, allocations: 391.5 kB / 1.577 GB, free: 155.9 MB / 1.198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 382 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (832): * Single equations (assignments): 832 * 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.002649/1.798, allocations: 0.6744 MB / 1.577 GB, free: 155.8 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001497/1.799, allocations: 1.48 MB / 1.579 GB, free: 155 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005037/1.804, allocations: 4.7 MB / 1.583 GB, free: 154.6 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.269e-05/1.804, allocations: 82.83 kB / 1.583 GB, free: 154.6 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.29e-05/1.804, allocations: 9.594 kB / 1.583 GB, free: 154.6 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001539/1.806, allocations: 2.503 MB / 1.586 GB, free: 152.8 MB / 1.198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01898/1.825, allocations: 18.83 MB / 1.604 GB, free: 147.2 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.605e-05/1.825, allocations: 30.34 kB / 1.604 GB, free: 147.2 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001464/1.826, allocations: 0.7732 MB / 1.605 GB, free: 147.2 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.651e-05/1.826, allocations: 49.81 kB / 1.605 GB, free: 147.2 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001897/1.826, allocations: 157.2 kB / 1.605 GB, free: 147.2 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.323e-05/1.826, allocations: 68.86 kB / 1.605 GB, free: 147.2 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.796e-05/1.826, allocations: 51.09 kB / 1.605 GB, free: 147.2 MB / 1.198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007155/1.834, allocations: 8.628 MB / 1.614 GB, free: 141.7 MB / 1.198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002901/1.837, allocations: 2.26 MB / 1.616 GB, free: 141 MB / 1.198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008787/1.837, allocations: 152.8 kB / 1.616 GB, free: 140.9 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002344/1.84, allocations: 170.2 kB / 1.616 GB, free: 140.9 MB / 1.198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003477/1.84, allocations: 416.2 kB / 1.617 GB, free: 140.9 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002814/1.84, allocations: 262 kB / 1.617 GB, free: 140.9 MB / 1.198 GB Notification: Performance of sorting global known variables: time 0.006288/1.847, allocations: 5.768 MB / 1.622 GB, free: 140.5 MB / 1.198 GB Notification: Performance of sort global known variables: time 2.4e-07/1.847, allocations: 0 / 1.622 GB, free: 140.5 MB / 1.198 GB Notification: Performance of remove unused functions: time 0.008217/1.855, allocations: 4.659 MB / 1.627 GB, free: 139.6 MB / 1.198 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.002966/1.858, allocations: 1.578 MB / 1.629 GB, free: 139.3 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.004427/1.862, allocations: 3.255 MB / 1.632 GB, free: 139.1 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 1.517e-05/1.862, allocations: 15.59 kB / 1.632 GB, free: 139.1 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.001491/1.864, allocations: 1.514 MB / 1.633 GB, free: 139.1 MB / 1.198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01279/1.877, allocations: 6.052 MB / 1.639 GB, free: 138.1 MB / 1.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02474/1.901, allocations: 25.51 MB / 1.664 GB, free: 122.8 MB / 1.198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001967/1.903, allocations: 2.976 MB / 1.667 GB, free: 121 MB / 1.198 GB Notification: Performance of simCode: alias equations: time 0.006127/1.909, allocations: 2.437 MB / 1.669 GB, free: 119.3 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009818/1.91, allocations: 0.8368 MB / 1.67 GB, free: 118.5 MB / 1.198 GB Notification: Performance of SimCode: time 2.204e-06/1.91, allocations: 0 / 1.67 GB, free: 118.5 MB / 1.198 GB Notification: Performance of Templates: time 0.2566/2.167, allocations: 236.8 MB / 1.901 GB, free: 14.43 MB / 1.323 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.makefile [Timeout 300] (rm -f Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; mkfifo Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; head -c 1048576 < Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe >> ../files/Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.sim & ./Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.680601926986128]