Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009491/0.0009491, allocations: 80.3 kB / 21.47 MB, free: 3.031 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.001038/0.001038, allocations: 166.1 kB / 24.86 MB, free: 9.25 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.9143/0.9143, allocations: 177.1 MB / 205.3 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.706/1.706, allocations: 359 MB / 0.6063 GB, free: 10.89 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.7883 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.1e-05/1.252e-05, allocations: 2.312 kB / 0.7883 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 0.1566/0.1566, allocations: 263.2 MB / 1.045 GB, free: 4.102 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.5287/0.6853, allocations: 92.59 MB / 1.136 GB, free: 85.99 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0403/0.7256, allocations: 1.692 MB / 1.137 GB, free: 85.99 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.02036/0.746, allocations: 7.664 MB / 1.145 GB, free: 84.32 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.04792/0.7939, allocations: 22.69 MB / 1.167 GB, free: 74.74 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.03372/0.8276, allocations: 18.67 MB / 1.185 GB, free: 64.67 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.06313/0.8908, allocations: 57.36 MB / 1.241 GB, free: 31.5 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02548/0.9162, allocations: 17.32 MB / 1.258 GB, free: 19.66 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04785/0.9641, allocations: 26.85 MB / 1.284 GB, free: 10.85 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02832/0.9924, allocations: 16.46 MB / 1.3 GB, free: 11.82 MB / 1.026 GB Notification: Performance of NFPackage.collectConstants: time 0.005675/0.9981, allocations: 2.059 MB / 1.302 GB, free: 9.762 MB / 1.026 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02109/1.019, allocations: 9.103 MB / 1.311 GB, free: 0.75 MB / 1.026 GB Notification: Performance of NFScalarize.scalarize: time 0.006106/1.025, allocations: 5.161 MB / 1.316 GB, free: 11.86 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 0.01573/1.041, allocations: 7.212 MB / 1.323 GB, free: 4.922 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.02726/1.068, allocations: 20.66 MB / 1.344 GB, free: 1.312 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/1.068, allocations: 7.938 kB / 1.344 GB, free: 1.305 MB / 1.057 GB Notification: Performance of FrontEnd: time 1.362e-06/1.068, allocations: 0 / 1.344 GB, free: 1.305 MB / 1.057 GB Notification: Performance of Transformations before backend: time 0.0002671/1.069, allocations: 0 / 1.344 GB, free: 1.305 MB / 1.057 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.01955/1.088, allocations: 20.78 MB / 1.364 GB, free: 14 MB / 1.089 GB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/1.088, allocations: 12.03 kB / 1.364 GB, free: 13.99 MB / 1.089 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003924/1.092, allocations: 3.453 MB / 1.367 GB, free: 10.53 MB / 1.089 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01858/1.111, allocations: 18.74 MB / 1.386 GB, free: 7.996 MB / 1.104 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004925/1.111, allocations: 0.9799 MB / 1.387 GB, free: 7.016 MB / 1.104 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001186/1.112, allocations: 1.326 MB / 1.388 GB, free: 5.695 MB / 1.104 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01129/1.124, allocations: 12.17 MB / 1.4 GB, free: 8.395 MB / 1.12 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001819/1.124, allocations: 47.48 kB / 1.4 GB, free: 8.352 MB / 1.12 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007005/1.124, allocations: 0.5352 MB / 1.4 GB, free: 7.816 MB / 1.12 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001947/1.125, allocations: 347.9 kB / 1.401 GB, free: 7.477 MB / 1.12 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005/1.13, allocations: 3.675 MB / 1.404 GB, free: 3.801 MB / 1.12 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.05024/1.18, allocations: 64.01 MB / 1.467 GB, free: 3.855 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002853/1.183, allocations: 2.47 MB / 1.469 GB, free: 1.141 MB / 1.182 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001173/1.184, allocations: 1.019 MB / 1.47 GB, free: 48 kB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4873/1.671, allocations: 19.13 MB / 1.489 GB, free: 239.1 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001087/1.671, allocations: 118.8 kB / 1.489 GB, free: 239.1 MB / 1.198 GB Notification: Performance of pre-optimization done (n=412): time 6.372e-06/1.671, allocations: 0.9844 kB / 1.489 GB, free: 239.1 MB / 1.198 GB Notification: Performance of matching and sorting (n=412): time 0.007954/1.679, allocations: 3.693 MB / 1.493 GB, free: 239 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001201/1.679, allocations: 0.7893 MB / 1.493 GB, free: 238.1 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009324/1.689, allocations: 9.771 MB / 1.503 GB, free: 237.2 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.00038/1.689, allocations: 135.7 kB / 1.503 GB, free: 237.2 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.004962/1.694, allocations: 8.952 MB / 1.512 GB, free: 236.1 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.001059/1.695, allocations: 1.552 MB / 1.513 GB, free: 235.3 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001775/1.697, allocations: 1.51 MB / 1.515 GB, free: 235.1 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 4.128e-05/1.697, allocations: 481.9 kB / 1.515 GB, free: 234.7 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001199/1.698, allocations: 0.5641 MB / 1.516 GB, free: 234.6 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003283/1.701, allocations: 8.398 MB / 1.524 GB, free: 225 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00401/1.705, allocations: 5.407 MB / 1.529 GB, free: 220.5 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.017e-05/1.706, allocations: 28.22 kB / 1.529 GB, free: 220.5 MB / 1.198 GB Notification: Performance of matching and sorting (n=832) (initialization): time 0.00799/1.714, allocations: 5.324 MB / 1.534 GB, free: 219.7 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 6.076e-05/1.714, allocations: 41.25 kB / 1.535 GB, free: 219.7 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001013/1.714, allocations: 83.16 kB / 1.535 GB, free: 219.7 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001293/1.714, allocations: 122.1 kB / 1.535 GB, free: 219.7 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002462/1.716, allocations: 1.431 MB / 1.536 GB, free: 219.7 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001388/1.716, allocations: 179 kB / 1.536 GB, free: 219.7 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004958/1.721, allocations: 0.7381 MB / 1.537 GB, free: 219.5 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000476/1.722, allocations: 340.5 kB / 1.537 GB, free: 219.5 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 (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 (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.003384/1.725, allocations: 0.6653 MB / 1.538 GB, free: 219.3 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00217/1.727, allocations: 1.482 MB / 1.539 GB, free: 218.5 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005278/1.733, allocations: 4.338 MB / 1.544 GB, free: 218.1 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-05/1.733, allocations: 83.73 kB / 1.544 GB, free: 218.1 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-05/1.733, allocations: 11.39 kB / 1.544 GB, free: 218.1 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001269/1.734, allocations: 2.362 MB / 1.546 GB, free: 216.4 MB / 1.198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01866/1.753, allocations: 16.26 MB / 1.562 GB, free: 211 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.082e-05/1.753, allocations: 33.06 kB / 1.562 GB, free: 211 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001424/1.754, allocations: 0.7691 MB / 1.563 GB, free: 211 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.391e-05/1.754, allocations: 49.75 kB / 1.563 GB, free: 211 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001918/1.754, allocations: 158.9 kB / 1.563 GB, free: 211 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.111e-05/1.754, allocations: 71.28 kB / 1.563 GB, free: 211 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-05/1.754, allocations: 47.31 kB / 1.563 GB, free: 211 MB / 1.198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006492/1.761, allocations: 8.2 MB / 1.571 GB, free: 205.5 MB / 1.198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002906/1.764, allocations: 2.219 MB / 1.573 GB, free: 204.8 MB / 1.198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009155/1.765, allocations: 149.1 kB / 1.573 GB, free: 204.7 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002387/1.767, allocations: 168.1 kB / 1.574 GB, free: 204.7 MB / 1.198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003194/1.767, allocations: 410.6 kB / 1.574 GB, free: 204.7 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002639/1.768, allocations: 225.8 kB / 1.574 GB, free: 204.7 MB / 1.198 GB Notification: Performance of sorting global known variables: time 0.004742/1.772, allocations: 5.282 MB / 1.579 GB, free: 204.3 MB / 1.198 GB Notification: Performance of sort global known variables: time 1.8e-07/1.772, allocations: 0 / 1.579 GB, free: 204.3 MB / 1.198 GB Notification: Performance of remove unused functions: time 0.008532/1.781, allocations: 4.655 MB / 1.584 GB, free: 203.5 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.003082/1.784, allocations: 1.616 MB / 1.585 GB, free: 203.2 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.003908/1.788, allocations: 2.971 MB / 1.588 GB, free: 203 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 2.113e-05/1.788, allocations: 14.81 kB / 1.588 GB, free: 203 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.001281/1.789, allocations: 1.385 MB / 1.59 GB, free: 202.9 MB / 1.198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01324/1.803, allocations: 6.036 MB / 1.596 GB, free: 202 MB / 1.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02569/1.828, allocations: 25.45 MB / 1.62 GB, free: 189.3 MB / 1.198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002476/1.831, allocations: 2.973 MB / 1.623 GB, free: 188.9 MB / 1.198 GB Notification: Performance of simCode: alias equations: time 0.005756/1.836, allocations: 2.05 MB / 1.625 GB, free: 188.4 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007013/1.843, allocations: 4.391 MB / 1.63 GB, free: 188.3 MB / 1.198 GB Notification: Performance of SimCode: time 2.024e-06/1.843, allocations: 3.781 kB / 1.63 GB, free: 188.3 MB / 1.198 GB Notification: Performance of Templates: time 0.2475/2.091, allocations: 242.2 MB / 1.866 GB, free: 14.34 MB / 1.245 GB " [Timeout remaining time 298] make -j1 -f Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.makefile [Timeout 300] (rm -f Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; mkfifo Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; head -c 1048576 < Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe >> ../files/Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.sim & ./Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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: 13.417727821040899]