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.0009655/0.0009655, allocations: 83.59 kB / 20.45 MB, free: 4.121 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.0009871/0.0009871, allocations: 165 kB / 23.82 MB, free: 0.75 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.9913/0.9913, allocations: 177.1 MB / 204.2 MB, free: 5.594 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.911/1.911, allocations: 377.9 MB / 0.6236 GB, free: 8.527 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.613e-06/1.613e-06, allocations: 0.7656 kB / 0.8116 GB, free: 1.699 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.043e-05/3.204e-05, allocations: 3.219 kB / 0.8116 GB, free: 1.695 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 0.6204/0.6205, allocations: 271.1 MB / 1.076 GB, free: 104.3 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.1294/0.7498, allocations: 93.05 MB / 1.167 GB, free: 73.52 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.03767/0.7875, allocations: 1.697 MB / 1.169 GB, free: 72.57 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.02065/0.8082, allocations: 7.669 MB / 1.176 GB, free: 68.65 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.04704/0.8552, allocations: 22.43 MB / 1.198 GB, free: 58.2 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.03168/0.8869, allocations: 18.64 MB / 1.216 GB, free: 45.17 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0631/0.95, allocations: 57.2 MB / 1.272 GB, free: 11.46 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03665/0.9866, allocations: 17.31 MB / 1.289 GB, free: 10.68 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.06367/1.05, allocations: 25.76 MB / 1.314 GB, free: 2.121 MB / 1.026 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02868/1.079, allocations: 16.34 MB / 1.33 GB, free: 3.09 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 0.007738/1.087, allocations: 2.129 MB / 1.332 GB, free: 0.9609 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02351/1.11, allocations: 9.231 MB / 1.341 GB, free: 7.824 MB / 1.057 GB Notification: Performance of NFScalarize.scalarize: time 0.009202/1.119, allocations: 5.289 MB / 1.347 GB, free: 2.812 MB / 1.057 GB Notification: Performance of NFVerifyModel.verify: time 0.02007/1.139, allocations: 7.385 MB / 1.354 GB, free: 11.72 MB / 1.073 GB Notification: Performance of NFConvertDAE.convert: time 0.04586/1.185, allocations: 21 MB / 1.374 GB, free: 7.797 MB / 1.089 GB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/1.185, allocations: 0 / 1.374 GB, free: 7.797 MB / 1.089 GB Notification: Performance of FrontEnd: time 1.813e-06/1.185, allocations: 4 kB / 1.374 GB, free: 7.793 MB / 1.089 GB Notification: Performance of Transformations before backend: time 0.0009487/1.186, allocations: 0 / 1.374 GB, free: 7.793 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.03621/1.223, allocations: 20.82 MB / 1.395 GB, free: 3.035 MB / 1.104 GB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/1.223, allocations: 8.031 kB / 1.395 GB, free: 3.027 MB / 1.104 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006939/1.23, allocations: 3.464 MB / 1.398 GB, free: 15.55 MB / 1.12 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02835/1.258, allocations: 19.91 MB / 1.417 GB, free: 11.91 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007214/1.259, allocations: 0.9778 MB / 1.418 GB, free: 10.93 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002219/1.261, allocations: 1.339 MB / 1.42 GB, free: 9.59 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02203/1.283, allocations: 12.88 MB / 1.432 GB, free: 11.07 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003025/1.283, allocations: 35.69 kB / 1.432 GB, free: 11.03 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001113/1.284, allocations: 0.5352 MB / 1.433 GB, free: 10.5 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002239/1.284, allocations: 355.7 kB / 1.433 GB, free: 10.15 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009779/1.294, allocations: 4.496 MB / 1.438 GB, free: 5.656 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.647/1.941, allocations: 66.59 MB / 1.503 GB, free: 180.2 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004231/1.945, allocations: 2.623 MB / 1.505 GB, free: 179.2 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002111/1.948, allocations: 1.143 MB / 1.506 GB, free: 178.9 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04413/1.992, allocations: 21.99 MB / 1.528 GB, free: 177.7 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001396/1.992, allocations: 125.2 kB / 1.528 GB, free: 177.6 MB / 1.198 GB Notification: Performance of pre-optimization done (n=412): time 8.857e-06/1.992, allocations: 6.609 kB / 1.528 GB, free: 177.6 MB / 1.198 GB Notification: Performance of matching and sorting (n=412): time 0.01131/2.003, allocations: 3.993 MB / 1.532 GB, free: 177.5 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001925/2.003, allocations: 0.7935 MB / 1.533 GB, free: 176.6 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01898/2.022, allocations: 10.03 MB / 1.542 GB, free: 175.8 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.001255/2.024, allocations: 143.7 kB / 1.543 GB, free: 175.7 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.007554/2.031, allocations: 8.893 MB / 1.551 GB, free: 174.4 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.002337/2.034, allocations: 1.546 MB / 1.553 GB, free: 173.6 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002666/2.036, allocations: 1.509 MB / 1.554 GB, free: 173.5 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 7.283e-05/2.036, allocations: 476.8 kB / 1.555 GB, free: 173 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001658/2.038, allocations: 0.7297 MB / 1.555 GB, free: 173 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004444/2.042, allocations: 9.447 MB / 1.565 GB, free: 162.3 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005357/2.048, allocations: 5.668 MB / 1.57 GB, free: 157.7 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.643e-05/2.048, allocations: 21.84 kB / 1.57 GB, free: 157.7 MB / 1.198 GB Notification: Performance of matching and sorting (n=832) (initialization): time 0.01285/2.061, allocations: 5.72 MB / 1.576 GB, free: 156.9 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 6.973e-05/2.061, allocations: 41.25 kB / 1.576 GB, free: 156.9 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001121/2.061, allocations: 83.28 kB / 1.576 GB, free: 156.9 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001395/2.061, allocations: 123.6 kB / 1.576 GB, free: 156.9 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00339/2.064, allocations: 1.437 MB / 1.577 GB, free: 156.9 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001639/2.065, allocations: 180 kB / 1.578 GB, free: 156.9 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007895/2.072, allocations: 0.7452 MB / 1.578 GB, free: 156.7 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001564/2.074, allocations: 397.9 kB / 1.579 GB, free: 156.7 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.005268/2.079, allocations: 0.6774 MB / 1.579 GB, free: 156.5 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004287/2.084, allocations: 1.475 MB / 1.581 GB, free: 155.8 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009356/2.093, allocations: 4.691 MB / 1.585 GB, free: 155.3 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.033e-05/2.093, allocations: 85.39 kB / 1.585 GB, free: 155.3 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.537e-05/2.093, allocations: 9.406 kB / 1.585 GB, free: 155.3 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002062/2.095, allocations: 2.501 MB / 1.588 GB, free: 153.5 MB / 1.198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04051/2.136, allocations: 18.91 MB / 1.606 GB, free: 147.9 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.749e-05/2.136, allocations: 29.88 kB / 1.606 GB, free: 147.9 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001827/2.137, allocations: 0.7752 MB / 1.607 GB, free: 147.9 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.433e-05/2.138, allocations: 47.41 kB / 1.607 GB, free: 147.9 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004492/2.138, allocations: 155.9 kB / 1.607 GB, free: 147.9 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.466e-05/2.138, allocations: 71.5 kB / 1.607 GB, free: 147.9 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.251e-05/2.138, allocations: 49.53 kB / 1.607 GB, free: 147.9 MB / 1.198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01084/2.149, allocations: 8.631 MB / 1.616 GB, free: 142.5 MB / 1.198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006365/2.155, allocations: 2.243 MB / 1.618 GB, free: 141.7 MB / 1.198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002821/2.158, allocations: 159.8 kB / 1.618 GB, free: 141.7 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005424/2.164, allocations: 170.7 kB / 1.618 GB, free: 141.7 MB / 1.198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005646/2.164, allocations: 424.4 kB / 1.619 GB, free: 141.6 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005361/2.165, allocations: 257.7 kB / 1.619 GB, free: 141.6 MB / 1.198 GB Notification: Performance of sorting global known variables: time 0.01224/2.177, allocations: 5.813 MB / 1.625 GB, free: 141.2 MB / 1.198 GB Notification: Performance of sort global known variables: time 2.6e-07/2.177, allocations: 4 kB / 1.625 GB, free: 141.2 MB / 1.198 GB Notification: Performance of remove unused functions: time 0.01622/2.193, allocations: 4.66 MB / 1.629 GB, free: 140.4 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.005988/2.199, allocations: 1.583 MB / 1.631 GB, free: 140.1 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.008212/2.207, allocations: 3.273 MB / 1.634 GB, free: 140 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 4.094e-05/2.207, allocations: 11.25 kB / 1.634 GB, free: 140 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.002726/2.21, allocations: 1.512 MB / 1.635 GB, free: 139.9 MB / 1.198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02425/2.234, allocations: 6.054 MB / 1.641 GB, free: 139 MB / 1.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04157/2.276, allocations: 25.53 MB / 1.666 GB, free: 122.2 MB / 1.198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005284/2.281, allocations: 2.976 MB / 1.669 GB, free: 120.4 MB / 1.198 GB Notification: Performance of simCode: alias equations: time 0.01023/2.291, allocations: 2.445 MB / 1.672 GB, free: 118.7 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002822/2.294, allocations: 0.84 MB / 1.672 GB, free: 117.9 MB / 1.198 GB Notification: Performance of SimCode: time 3.256e-06/2.294, allocations: 4.766 kB / 1.672 GB, free: 117.9 MB / 1.198 GB Notification: Performance of Templates: time 0.2577/2.552, allocations: 215.8 MB / 1.883 GB, free: 2.371 MB / 1.292 GB " [Timeout remaining time 297] 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.482680074870586]