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.000992/0.000992, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.0009665/0.0009665, allocations: 181 kB / 24.09 MB, free: 420 kB / 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.8861/0.8861, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.705/1.705, allocations: 359 MB / 0.6055 GB, free: 10.86 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.373e-06/1.373e-06, allocations: 0.6562 kB / 0.7876 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.308e-05/1.445e-05, allocations: 3.469 kB / 0.7876 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 0.161/0.161, allocations: 263.2 MB / 1.045 GB, free: 4.113 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.5523/0.7134, allocations: 92.59 MB / 1.135 GB, free: 86.01 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.04705/0.7604, allocations: 1.691 MB / 1.137 GB, free: 86.01 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.02051/0.7809, allocations: 7.669 MB / 1.144 GB, free: 84.39 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.04775/0.8287, allocations: 22.69 MB / 1.166 GB, free: 74.8 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.03253/0.8612, allocations: 18.67 MB / 1.185 GB, free: 64.68 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.05765/0.9189, allocations: 57.35 MB / 1.241 GB, free: 31.52 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02462/0.9435, allocations: 17.32 MB / 1.257 GB, free: 19.67 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04875/0.9922, allocations: 26.85 MB / 1.284 GB, free: 10.89 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0318/1.024, allocations: 16.46 MB / 1.3 GB, free: 11.85 MB / 1.026 GB Notification: Performance of NFPackage.collectConstants: time 0.007841/1.032, allocations: 2.062 MB / 1.302 GB, free: 9.789 MB / 1.026 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0255/1.057, allocations: 9.094 MB / 1.311 GB, free: 0.7852 MB / 1.026 GB Notification: Performance of NFScalarize.scalarize: time 0.009421/1.067, allocations: 5.168 MB / 1.316 GB, free: 11.89 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 0.01896/1.086, allocations: 7.213 MB / 1.323 GB, free: 4.949 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.03975/1.126, allocations: 20.66 MB / 1.343 GB, free: 1.344 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/1.126, allocations: 0 / 1.343 GB, free: 1.344 MB / 1.057 GB Notification: Performance of FrontEnd: time 2.554e-06/1.126, allocations: 7.984 kB / 1.343 GB, free: 1.336 MB / 1.057 GB Notification: Performance of Transformations before backend: time 0.0009327/1.126, allocations: 0 / 1.343 GB, free: 1.336 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.03511/1.162, allocations: 20.76 MB / 1.363 GB, free: 13.9 MB / 1.089 GB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/1.162, allocations: 8.031 kB / 1.363 GB, free: 13.89 MB / 1.089 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006939/1.169, allocations: 3.458 MB / 1.367 GB, free: 10.42 MB / 1.089 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02894/1.197, allocations: 18.75 MB / 1.385 GB, free: 7.887 MB / 1.104 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007325/1.198, allocations: 0.9661 MB / 1.386 GB, free: 6.918 MB / 1.104 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001872/1.2, allocations: 1.325 MB / 1.387 GB, free: 5.598 MB / 1.104 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01714/1.217, allocations: 12.16 MB / 1.399 GB, free: 8.301 MB / 1.12 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002825/1.218, allocations: 45.84 kB / 1.399 GB, free: 8.258 MB / 1.12 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001025/1.219, allocations: 0.5371 MB / 1.4 GB, free: 7.723 MB / 1.12 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002684/1.219, allocations: 351.8 kB / 1.4 GB, free: 7.379 MB / 1.12 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006872/1.226, allocations: 3.673 MB / 1.403 GB, free: 3.703 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.06189/1.288, allocations: 64.02 MB / 1.466 GB, free: 3.746 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003051/1.291, allocations: 2.456 MB / 1.468 GB, free: 1.051 MB / 1.182 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001173/1.292, allocations: 1.023 MB / 1.469 GB, free: 15.95 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5054/1.797, allocations: 19.34 MB / 1.488 GB, free: 239.2 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001198/1.797, allocations: 129.5 kB / 1.488 GB, free: 239.2 MB / 1.198 GB Notification: Performance of pre-optimization done (n=412): time 6.232e-06/1.797, allocations: 0 / 1.488 GB, free: 239.2 MB / 1.198 GB Notification: Performance of matching and sorting (n=412): time 0.00837/1.806, allocations: 3.685 MB / 1.492 GB, free: 239.1 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001544/1.806, allocations: 0.7964 MB / 1.493 GB, free: 238.2 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01441/1.82, allocations: 9.764 MB / 1.502 GB, free: 237.4 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.001054/1.821, allocations: 139.4 kB / 1.502 GB, free: 237.3 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.007777/1.829, allocations: 8.947 MB / 1.511 GB, free: 236.2 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.002169/1.831, allocations: 1.558 MB / 1.513 GB, free: 235.4 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003208/1.834, allocations: 1.51 MB / 1.514 GB, free: 235.3 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 8.6e-05/1.835, allocations: 483.6 kB / 1.515 GB, free: 234.8 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001885/1.836, allocations: 0.5642 MB / 1.515 GB, free: 234.8 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005313/1.842, allocations: 8.4 MB / 1.523 GB, free: 225.2 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006434/1.848, allocations: 5.406 MB / 1.529 GB, free: 220.6 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001551/1.848, allocations: 23.69 kB / 1.529 GB, free: 220.6 MB / 1.198 GB Notification: Performance of matching and sorting (n=832) (initialization): time 0.01211/1.86, allocations: 5.327 MB / 1.534 GB, free: 219.8 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 6.048e-05/1.861, allocations: 40.72 kB / 1.534 GB, free: 219.8 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001139/1.861, allocations: 83.81 kB / 1.534 GB, free: 219.8 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001457/1.861, allocations: 122.8 kB / 1.534 GB, free: 219.8 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003048/1.864, allocations: 1.431 MB / 1.536 GB, free: 219.8 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001432/1.864, allocations: 177.4 kB / 1.536 GB, free: 219.8 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006672/1.871, allocations: 0.745 MB / 1.536 GB, free: 219.6 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001173/1.872, allocations: 344.2 kB / 1.537 GB, free: 219.6 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.004619/1.876, allocations: 0.6633 MB / 1.537 GB, free: 219.4 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003293/1.88, allocations: 1.472 MB / 1.539 GB, free: 218.6 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007309/1.887, allocations: 4.343 MB / 1.543 GB, free: 218.2 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.161e-05/1.887, allocations: 89.95 kB / 1.543 GB, free: 218.2 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.044e-05/1.887, allocations: 7.156 kB / 1.543 GB, free: 218.2 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001289/1.888, allocations: 2.362 MB / 1.545 GB, free: 216.5 MB / 1.198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02444/1.913, allocations: 16.26 MB / 1.561 GB, free: 211.1 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.483e-05/1.913, allocations: 30.41 kB / 1.561 GB, free: 211.1 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001441/1.914, allocations: 0.7676 MB / 1.562 GB, free: 211.1 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.296e-05/1.914, allocations: 59.61 kB / 1.562 GB, free: 211.1 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002676/1.915, allocations: 157.5 kB / 1.562 GB, free: 211.1 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.816e-05/1.915, allocations: 65.89 kB / 1.562 GB, free: 211.1 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.956e-05/1.915, allocations: 53.98 kB / 1.562 GB, free: 211.1 MB / 1.198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007658/1.922, allocations: 8.202 MB / 1.57 GB, free: 205.6 MB / 1.198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004799/1.927, allocations: 2.22 MB / 1.573 GB, free: 204.8 MB / 1.198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002027/1.929, allocations: 151.5 kB / 1.573 GB, free: 204.8 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00444/1.934, allocations: 160.8 kB / 1.573 GB, free: 204.8 MB / 1.198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005585/1.934, allocations: 415.5 kB / 1.573 GB, free: 204.8 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005319/1.935, allocations: 227 kB / 1.574 GB, free: 204.8 MB / 1.198 GB Notification: Performance of sorting global known variables: time 0.007971/1.943, allocations: 5.28 MB / 1.579 GB, free: 204.4 MB / 1.198 GB Notification: Performance of sort global known variables: time 4.5e-07/1.943, allocations: 0 / 1.579 GB, free: 204.4 MB / 1.198 GB Notification: Performance of remove unused functions: time 0.01324/1.956, allocations: 4.656 MB / 1.583 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.004904/1.961, allocations: 1.598 MB / 1.585 GB, free: 203.2 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.006142/1.967, allocations: 2.98 MB / 1.588 GB, free: 203.1 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 3.626e-05/1.967, allocations: 13.62 kB / 1.588 GB, free: 203.1 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.002108/1.969, allocations: 1.393 MB / 1.589 GB, free: 203 MB / 1.198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02199/1.991, allocations: 6.033 MB / 1.595 GB, free: 202.1 MB / 1.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03752/2.029, allocations: 25.45 MB / 1.62 GB, free: 189.4 MB / 1.198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006955/2.036, allocations: 2.977 MB / 1.623 GB, free: 188.9 MB / 1.198 GB Notification: Performance of simCode: alias equations: time 0.01036/2.046, allocations: 2.045 MB / 1.625 GB, free: 188.5 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01383/2.06, allocations: 4.397 MB / 1.629 GB, free: 188.4 MB / 1.198 GB Notification: Performance of SimCode: time 2.455e-06/2.06, allocations: 0 / 1.629 GB, free: 188.4 MB / 1.198 GB Notification: Performance of Templates: time 0.2539/2.314, allocations: 239.5 MB / 1.863 GB, free: 1.219 MB / 1.229 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: 12.007082701660693]