Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001073/0.001073, allocations: 85.64 kB / 19.87 MB, free: 4.613 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.0009564/0.0009564, allocations: 169 kB / 23.27 MB, free: 1.219 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.938/0.938, allocations: 177.1 MB / 203.7 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.207/2.207, allocations: 438.1 MB / 0.682 GB, free: 14.17 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 0.8898 GB, free: 9.746 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.272e-05/2.42e-05, allocations: 5.406 kB / 0.8898 GB, free: 9.742 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 0.6224/0.6225, allocations: 265.9 MB / 1.149 GB, free: 72.54 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.1503/0.7727, allocations: 95.07 MB / 1.242 GB, free: 6.734 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.04122/0.814, allocations: 1.709 MB / 1.244 GB, free: 5.801 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.02123/0.8352, allocations: 7.698 MB / 1.251 GB, free: 0.6562 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.06032/0.8955, allocations: 22.65 MB / 1.274 GB, free: 14.38 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.03444/0.9299, allocations: 20.09 MB / 1.293 GB, free: 14.24 MB / 1.057 GB Notification: Performance of NFFlatten.flatten: time 0.06326/0.9932, allocations: 57.37 MB / 1.349 GB, free: 7.281 MB / 1.104 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03286/1.026, allocations: 16.91 MB / 1.366 GB, free: 6.242 MB / 1.12 GB Notification: Performance of NFEvalConstants.evaluate: time 0.05595/1.082, allocations: 27.13 MB / 1.392 GB, free: 11.19 MB / 1.151 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02588/1.108, allocations: 16.23 MB / 1.408 GB, free: 10.86 MB / 1.167 GB Notification: Performance of NFPackage.collectConstants: time 0.00717/1.115, allocations: 2.102 MB / 1.41 GB, free: 8.762 MB / 1.167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02119/1.136, allocations: 9.167 MB / 1.419 GB, free: 15.59 MB / 1.182 GB Notification: Performance of NFScalarize.scalarize: time 0.008184/1.144, allocations: 5.257 MB / 1.424 GB, free: 10.31 MB / 1.182 GB Notification: Performance of NFVerifyModel.verify: time 0.01804/1.162, allocations: 7.401 MB / 1.431 GB, free: 2.895 MB / 1.182 GB Notification: Performance of NFConvertDAE.convert: time 0.03891/1.201, allocations: 20.93 MB / 1.452 GB, free: 13.9 MB / 1.214 GB Notification: Performance of FrontEnd - DAE generated: time 6.702e-06/1.201, allocations: 0 / 1.452 GB, free: 13.9 MB / 1.214 GB Notification: Performance of FrontEnd: time 1.763e-06/1.201, allocations: 0 / 1.452 GB, free: 13.9 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.0008402/1.202, allocations: 0 / 1.452 GB, free: 13.9 MB / 1.214 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.0284/1.231, allocations: 21.09 MB / 1.472 GB, free: 8.551 MB / 1.229 GB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/1.231, allocations: 8.625 kB / 1.472 GB, free: 8.543 MB / 1.229 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006665/1.237, allocations: 3.504 MB / 1.476 GB, free: 5.023 MB / 1.229 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02789/1.265, allocations: 19.16 MB / 1.495 GB, free: 1.699 MB / 1.245 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007358/1.266, allocations: 1.001 MB / 1.496 GB, free: 0.6953 MB / 1.245 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002215/1.268, allocations: 1.367 MB / 1.497 GB, free: 15.32 MB / 1.26 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02/1.288, allocations: 12.17 MB / 1.509 GB, free: 1.512 MB / 1.26 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002622/1.288, allocations: 43.61 kB / 1.509 GB, free: 1.469 MB / 1.26 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001173/1.29, allocations: 0.5351 MB / 1.509 GB, free: 0.9336 MB / 1.26 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002088/1.29, allocations: 347.9 kB / 1.51 GB, free: 0.5938 MB / 1.26 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006871/1.297, allocations: 3.673 MB / 1.513 GB, free: 12.92 MB / 1.276 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.5721/1.869, allocations: 64.57 MB / 1.576 GB, free: 191 MB / 1.292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002967/1.872, allocations: 2.461 MB / 1.579 GB, free: 190 MB / 1.292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001261/1.873, allocations: 1.018 MB / 1.58 GB, free: 189.7 MB / 1.292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03356/1.907, allocations: 19.36 MB / 1.599 GB, free: 188.7 MB / 1.292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001382/1.907, allocations: 125.4 kB / 1.599 GB, free: 188.6 MB / 1.292 GB Notification: Performance of pre-optimization done (n=412): time 1.091e-05/1.907, allocations: 0 / 1.599 GB, free: 188.6 MB / 1.292 GB Notification: Performance of matching and sorting (n=412): time 0.009039/1.916, allocations: 3.716 MB / 1.602 GB, free: 188.5 MB / 1.292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001714/1.916, allocations: 0.7895 MB / 1.603 GB, free: 187.6 MB / 1.292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02231/1.938, allocations: 10.18 MB / 1.613 GB, free: 186.7 MB / 1.292 GB Notification: Performance of collectPreVariables (initialization): time 0.001168/1.939, allocations: 156.6 kB / 1.613 GB, free: 186.6 MB / 1.292 GB Notification: Performance of collectInitialEqns (initialization): time 0.007516/1.947, allocations: 9.083 MB / 1.622 GB, free: 184.7 MB / 1.292 GB Notification: Performance of collectInitialBindings (initialization): time 0.00204/1.949, allocations: 1.553 MB / 1.624 GB, free: 184 MB / 1.292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002808/1.952, allocations: 1.761 MB / 1.625 GB, free: 183.8 MB / 1.292 GB Notification: Performance of setup shared object (initialization): time 4.171e-05/1.952, allocations: 484.5 kB / 1.626 GB, free: 183.3 MB / 1.292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001131/1.953, allocations: 0.6331 MB / 1.626 GB, free: 183.3 MB / 1.292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003764/1.957, allocations: 9.649 MB / 1.636 GB, free: 172.1 MB / 1.292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005816/1.963, allocations: 6.91 MB / 1.643 GB, free: 165.9 MB / 1.292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001456/1.963, allocations: 32.94 kB / 1.643 GB, free: 165.9 MB / 1.292 GB Notification: Performance of matching and sorting (n=967) (initialization): time 0.01329/1.976, allocations: 6.168 MB / 1.649 GB, free: 165 MB / 1.292 GB Notification: Performance of prepare postOptimizeDAE: time 8.638e-05/1.976, allocations: 57.38 kB / 1.649 GB, free: 165 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000168/1.976, allocations: 111.2 kB / 1.649 GB, free: 165 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001564/1.976, allocations: 161.8 kB / 1.649 GB, free: 165 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003708/1.98, allocations: 1.677 MB / 1.651 GB, free: 165 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001487/1.98, allocations: 231.8 kB / 1.651 GB, free: 165 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007454/1.988, allocations: 0.8841 MB / 1.652 GB, free: 164.8 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001336/1.989, allocations: 403.2 kB / 1.652 GB, free: 164.8 MB / 1.292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 517 * 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 (967): * Single equations (assignments): 967 * 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.005439/1.994, allocations: 0.7658 MB / 1.653 GB, free: 164.6 MB / 1.292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003494/1.998, allocations: 1.503 MB / 1.654 GB, free: 163.8 MB / 1.292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007069/2.005, allocations: 4.356 MB / 1.659 GB, free: 163.3 MB / 1.292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-05/2.005, allocations: 87.03 kB / 1.659 GB, free: 163.3 MB / 1.292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.381e-05/2.005, allocations: 7.719 kB / 1.659 GB, free: 163.3 MB / 1.292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001522/2.007, allocations: 2.35 MB / 1.661 GB, free: 161.6 MB / 1.292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02712/2.034, allocations: 16.4 MB / 1.677 GB, free: 156.2 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.254e-05/2.034, allocations: 30.31 kB / 1.677 GB, free: 156.2 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001544/2.035, allocations: 0.7684 MB / 1.678 GB, free: 156.2 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.227e-05/2.035, allocations: 52.28 kB / 1.678 GB, free: 156.2 MB / 1.292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002747/2.036, allocations: 160.2 kB / 1.678 GB, free: 156.2 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.169e-05/2.036, allocations: 69.11 kB / 1.678 GB, free: 156.2 MB / 1.292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-05/2.036, allocations: 51.34 kB / 1.678 GB, free: 156.2 MB / 1.292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00788/2.044, allocations: 8.245 MB / 1.686 GB, free: 150.7 MB / 1.292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005642/2.049, allocations: 2.262 MB / 1.688 GB, free: 149.8 MB / 1.292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00263/2.052, allocations: 154.2 kB / 1.688 GB, free: 149.8 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005079/2.057, allocations: 166.1 kB / 1.689 GB, free: 149.8 MB / 1.292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005759/2.058, allocations: 419.2 kB / 1.689 GB, free: 149.8 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005591/2.058, allocations: 231 kB / 1.689 GB, free: 149.8 MB / 1.292 GB Notification: Performance of sorting global known variables: time 0.009151/2.067, allocations: 5.441 MB / 1.695 GB, free: 149.3 MB / 1.292 GB Notification: Performance of sort global known variables: time 2.71e-07/2.067, allocations: 0 / 1.695 GB, free: 149.3 MB / 1.292 GB Notification: Performance of remove unused functions: time 0.0135/2.081, allocations: 4.749 MB / 1.699 GB, free: 148.4 MB / 1.292 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.004938/2.086, allocations: 1.625 MB / 1.701 GB, free: 148.1 MB / 1.292 GB Notification: Performance of simCode: created initialization part: time 0.006129/2.092, allocations: 3.322 MB / 1.704 GB, free: 147.9 MB / 1.292 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-05/2.092, allocations: 9.125 kB / 1.704 GB, free: 147.9 MB / 1.292 GB Notification: Performance of simCode: created simulation system equations: time 0.001967/2.094, allocations: 1.407 MB / 1.705 GB, free: 147.9 MB / 1.292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02076/2.115, allocations: 5.783 MB / 1.711 GB, free: 146.9 MB / 1.292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03664/2.151, allocations: 25.89 MB / 1.736 GB, free: 124.7 MB / 1.292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005184/2.156, allocations: 3.009 MB / 1.739 GB, free: 122.9 MB / 1.292 GB Notification: Performance of simCode: alias equations: time 0.00807/2.164, allocations: 2.076 MB / 1.741 GB, free: 121.4 MB / 1.292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01307/2.178, allocations: 4.376 MB / 1.746 GB, free: 118.1 MB / 1.292 GB Notification: Performance of SimCode: time 1.453e-06/2.178, allocations: 0 / 1.746 GB, free: 118.1 MB / 1.292 GB Notification: Performance of Templates: time 0.2635/2.441, allocations: 238.8 MB / 1.979 GB, free: 4.586 MB / 1.401 GB " [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; mkfifo Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe >> ../files/Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.sim & ./Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.473924349062145]