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.001434/0.001434, allocations: 81.95 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.001493/0.001493, allocations: 181 kB / 24.09 MB, free: 416 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 1.011/1.011, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.856/1.856, allocations: 377.9 MB / 0.6239 GB, free: 8.406 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.884e-06/1.884e-06, allocations: 0 / 0.812 GB, free: 1.414 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.141e-05/2.329e-05, allocations: 3.188 kB / 0.812 GB, free: 1.41 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 0.6712/0.6712, allocations: 265.1 MB / 1.071 GB, free: 102.8 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.1471/0.8183, allocations: 92.69 MB / 1.161 GB, free: 73.49 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.04645/0.8647, allocations: 1.692 MB / 1.163 GB, free: 72.61 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.02298/0.8877, allocations: 7.669 MB / 1.171 GB, free: 68.75 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.05738/0.9451, allocations: 22.5 MB / 1.193 GB, free: 58.54 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.03588/0.9809, allocations: 18.67 MB / 1.211 GB, free: 46 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.06471/1.046, allocations: 57.21 MB / 1.267 GB, free: 11.59 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03641/1.082, allocations: 17.32 MB / 1.284 GB, free: 10.8 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.06425/1.146, allocations: 26.85 MB / 1.31 GB, free: 1.219 MB / 1.026 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03112/1.177, allocations: 16.13 MB / 1.326 GB, free: 2.383 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 0.008477/1.186, allocations: 2.059 MB / 1.328 GB, free: 332 kB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02428/1.21, allocations: 9.108 MB / 1.336 GB, free: 7.309 MB / 1.057 GB Notification: Performance of NFScalarize.scalarize: time 0.00902/1.219, allocations: 5.177 MB / 1.341 GB, free: 2.406 MB / 1.057 GB Notification: Performance of NFVerifyModel.verify: time 0.02067/1.24, allocations: 7.235 MB / 1.349 GB, free: 11.44 MB / 1.073 GB Notification: Performance of NFConvertDAE.convert: time 0.04021/1.28, allocations: 20.67 MB / 1.369 GB, free: 7.828 MB / 1.089 GB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/1.28, allocations: 3.984 kB / 1.369 GB, free: 7.824 MB / 1.089 GB Notification: Performance of FrontEnd: time 1.042e-06/1.28, allocations: 7.938 kB / 1.369 GB, free: 7.816 MB / 1.089 GB Notification: Performance of Transformations before backend: time 0.000992/1.281, allocations: 0 / 1.369 GB, free: 7.816 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.03222/1.313, allocations: 20.71 MB / 1.389 GB, free: 4.219 MB / 1.104 GB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/1.313, allocations: 8.031 kB / 1.389 GB, free: 4.211 MB / 1.104 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007482/1.321, allocations: 3.461 MB / 1.392 GB, free: 0.7383 MB / 1.104 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02528/1.346, allocations: 18.76 MB / 1.411 GB, free: 14.19 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000711/1.347, allocations: 0.9685 MB / 1.412 GB, free: 13.22 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00248/1.349, allocations: 1.317 MB / 1.413 GB, free: 11.91 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02071/1.37, allocations: 12.17 MB / 1.425 GB, free: 14.6 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003457/1.37, allocations: 46.16 kB / 1.425 GB, free: 14.56 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001372/1.372, allocations: 0.5345 MB / 1.425 GB, free: 14.03 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003051/1.372, allocations: 351.9 kB / 1.426 GB, free: 13.68 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00984/1.382, allocations: 3.671 MB / 1.429 GB, free: 10.01 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.0645/1.446, allocations: 64.06 MB / 1.492 GB, free: 10.03 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003723/1.45, allocations: 2.449 MB / 1.494 GB, free: 7.332 MB / 1.214 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001069/1.451, allocations: 1.029 MB / 1.495 GB, free: 6.23 MB / 1.214 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5482/1.999, allocations: 19.35 MB / 1.514 GB, free: 233.7 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001606/2, allocations: 118.6 kB / 1.514 GB, free: 233.7 MB / 1.214 GB Notification: Performance of pre-optimization done (n=412): time 7.705e-06/2, allocations: 4 kB / 1.514 GB, free: 233.7 MB / 1.214 GB Notification: Performance of matching and sorting (n=412): time 0.008807/2.008, allocations: 3.682 MB / 1.518 GB, free: 233.6 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001597/2.008, allocations: 0.7913 MB / 1.519 GB, free: 232.7 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01861/2.027, allocations: 9.764 MB / 1.528 GB, free: 231.8 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.001053/2.028, allocations: 138.5 kB / 1.528 GB, free: 231.8 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.007427/2.036, allocations: 8.954 MB / 1.537 GB, free: 230.6 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.001969/2.038, allocations: 1.548 MB / 1.539 GB, free: 229.9 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002481/2.04, allocations: 1.514 MB / 1.54 GB, free: 229.7 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 4.594e-05/2.04, allocations: 481.2 kB / 1.54 GB, free: 229.3 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001137/2.041, allocations: 0.5671 MB / 1.541 GB, free: 229.2 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00313/2.044, allocations: 8.397 MB / 1.549 GB, free: 219.6 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003878/2.048, allocations: 5.412 MB / 1.555 GB, free: 215 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.953e-05/2.048, allocations: 25.06 kB / 1.555 GB, free: 215 MB / 1.214 GB Notification: Performance of matching and sorting (n=832) (initialization): time 0.009755/2.058, allocations: 5.32 MB / 1.56 GB, free: 214.2 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 5.875e-05/2.058, allocations: 42.91 kB / 1.56 GB, free: 214.2 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001173/2.058, allocations: 83.44 kB / 1.56 GB, free: 214.2 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001393/2.058, allocations: 122 kB / 1.56 GB, free: 214.2 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002844/2.061, allocations: 1.428 MB / 1.561 GB, free: 214.2 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001399/2.061, allocations: 180.1 kB / 1.562 GB, free: 214.2 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006318/2.068, allocations: 0.7404 MB / 1.562 GB, free: 214 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001101/2.069, allocations: 339.8 kB / 1.563 GB, free: 214 MB / 1.214 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.004796/2.074, allocations: 0.6722 MB / 1.563 GB, free: 213.8 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003586/2.077, allocations: 1.476 MB / 1.565 GB, free: 213.1 MB / 1.214 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006969/2.084, allocations: 4.36 MB / 1.569 GB, free: 212.6 MB / 1.214 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.499e-05/2.084, allocations: 81.33 kB / 1.569 GB, free: 212.6 MB / 1.214 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.803e-05/2.084, allocations: 7.531 kB / 1.569 GB, free: 212.6 MB / 1.214 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001275/2.086, allocations: 2.356 MB / 1.571 GB, free: 210.9 MB / 1.214 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0255/2.111, allocations: 16.25 MB / 1.587 GB, free: 205.5 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.965e-05/2.111, allocations: 35.53 kB / 1.587 GB, free: 205.5 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001479/2.113, allocations: 0.7674 MB / 1.588 GB, free: 205.5 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.287e-05/2.113, allocations: 54.84 kB / 1.588 GB, free: 205.5 MB / 1.214 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000261/2.113, allocations: 154.9 kB / 1.588 GB, free: 205.5 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.692e-05/2.113, allocations: 70.8 kB / 1.588 GB, free: 205.5 MB / 1.214 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.732e-05/2.113, allocations: 51.94 kB / 1.588 GB, free: 205.5 MB / 1.214 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008486/2.121, allocations: 8.199 MB / 1.596 GB, free: 200 MB / 1.214 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005297/2.127, allocations: 2.218 MB / 1.598 GB, free: 199.3 MB / 1.214 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002665/2.129, allocations: 153.5 kB / 1.599 GB, free: 199.3 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005096/2.134, allocations: 162.8 kB / 1.599 GB, free: 199.2 MB / 1.214 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00053/2.135, allocations: 423.3 kB / 1.599 GB, free: 199.2 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005281/2.135, allocations: 228.9 kB / 1.599 GB, free: 199.2 MB / 1.214 GB Notification: Performance of sorting global known variables: time 0.008386/2.144, allocations: 5.276 MB / 1.605 GB, free: 198.8 MB / 1.214 GB Notification: Performance of sort global known variables: time 3.7e-07/2.144, allocations: 0 / 1.605 GB, free: 198.8 MB / 1.214 GB Notification: Performance of remove unused functions: time 0.0128/2.157, allocations: 4.657 MB / 1.609 GB, free: 197.9 MB / 1.214 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.004876/2.162, allocations: 1.602 MB / 1.611 GB, free: 197.6 MB / 1.214 GB Notification: Performance of simCode: created initialization part: time 0.00605/2.168, allocations: 2.974 MB / 1.614 GB, free: 197.5 MB / 1.214 GB Notification: Performance of simCode: created event and clocks part: time 3.839e-05/2.168, allocations: 11.47 kB / 1.614 GB, free: 197.5 MB / 1.214 GB Notification: Performance of simCode: created simulation system equations: time 0.002181/2.17, allocations: 1.391 MB / 1.615 GB, free: 197.4 MB / 1.214 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02166/2.191, allocations: 6.039 MB / 1.621 GB, free: 196.5 MB / 1.214 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03705/2.229, allocations: 25.45 MB / 1.646 GB, free: 183.8 MB / 1.214 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005144/2.234, allocations: 2.974 MB / 1.649 GB, free: 183.3 MB / 1.214 GB Notification: Performance of simCode: alias equations: time 0.007984/2.242, allocations: 2.048 MB / 1.651 GB, free: 182.8 MB / 1.214 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01379/2.255, allocations: 4.403 MB / 1.655 GB, free: 181.8 MB / 1.214 GB Notification: Performance of SimCode: time 2.214e-06/2.255, allocations: 0 / 1.655 GB, free: 181.8 MB / 1.214 GB Notification: Performance of Templates: time 0.2697/2.525, allocations: 239.5 MB / 1.889 GB, free: 3.73 MB / 1.26 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.513761343900114]