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.0009272/0.0009272, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.0009305/0.0009305, allocations: 169 kB / 23.02 MB, free: 1.547 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.8854/0.8854, allocations: 177.2 MB / 203.4 MB, free: 5.609 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.095/2.095, allocations: 429.5 MB / 0.6733 GB, free: 4.008 MB / 0.6355 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 3.056e-06/3.056e-06, allocations: 0 / 0.8782 GB, free: 6.117 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.39e-05/4.696e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.113 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 0.9784/0.9785, allocations: 272 MB / 1.144 GB, free: 84.13 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.1951/1.174, allocations: 95.45 MB / 1.237 GB, free: 19.39 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.06354/1.237, allocations: 1.71 MB / 1.239 GB, free: 18.46 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.02881/1.266, allocations: 7.699 MB / 1.246 GB, free: 13.85 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.07349/1.339, allocations: 22.64 MB / 1.268 GB, free: 11.59 MB / 1.026 GB Notification: Performance of NFTyping.typeClassSections: time 0.04672/1.386, allocations: 20.08 MB / 1.288 GB, free: 11.45 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.08914/1.475, allocations: 57.37 MB / 1.344 GB, free: 6.695 MB / 1.089 GB Notification: Performance of NFFlatten.resolveConnections: time 0.05044/1.526, allocations: 16.89 MB / 1.36 GB, free: 5.672 MB / 1.104 GB Notification: Performance of NFEvalConstants.evaluate: time 0.07929/1.605, allocations: 27.13 MB / 1.387 GB, free: 10.59 MB / 1.135 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03619/1.641, allocations: 16.22 MB / 1.403 GB, free: 10.29 MB / 1.151 GB Notification: Performance of NFPackage.collectConstants: time 0.01172/1.653, allocations: 2.105 MB / 1.405 GB, free: 8.18 MB / 1.151 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02924/1.682, allocations: 9.167 MB / 1.414 GB, free: 15.01 MB / 1.167 GB Notification: Performance of NFScalarize.scalarize: time 0.01146/1.694, allocations: 5.242 MB / 1.419 GB, free: 9.746 MB / 1.167 GB Notification: Performance of NFVerifyModel.verify: time 0.02499/1.719, allocations: 7.405 MB / 1.426 GB, free: 2.324 MB / 1.167 GB Notification: Performance of NFConvertDAE.convert: time 0.06032/1.779, allocations: 20.94 MB / 1.447 GB, free: 13.32 MB / 1.198 GB Notification: Performance of FrontEnd - DAE generated: time 8.245e-06/1.779, allocations: 0 / 1.447 GB, free: 13.32 MB / 1.198 GB Notification: Performance of FrontEnd: time 1.723e-06/1.779, allocations: 0 / 1.447 GB, free: 13.32 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.001216/1.78, allocations: 0 / 1.447 GB, free: 13.32 MB / 1.198 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.03495/1.815, allocations: 20.94 MB / 1.467 GB, free: 8.129 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 5.559e-05/1.815, allocations: 12.03 kB / 1.467 GB, free: 8.117 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008364/1.824, allocations: 3.5 MB / 1.47 GB, free: 4.602 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03333/1.857, allocations: 19.36 MB / 1.489 GB, free: 1.082 MB / 1.229 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001001/1.858, allocations: 1.005 MB / 1.49 GB, free: 76 kB / 1.229 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003199/1.861, allocations: 1.367 MB / 1.492 GB, free: 14.7 MB / 1.245 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02989/1.891, allocations: 12.88 MB / 1.504 GB, free: 180 kB / 1.245 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000512/1.891, allocations: 39.67 kB / 1.504 GB, free: 140 kB / 1.245 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00242/1.894, allocations: 0.539 MB / 1.505 GB, free: 15.59 MB / 1.26 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003592/1.894, allocations: 347.9 kB / 1.505 GB, free: 15.26 MB / 1.26 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01416/1.908, allocations: 4.501 MB / 1.51 GB, free: 10.75 MB / 1.26 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.7921/2.701, allocations: 67.07 MB / 1.575 GB, free: 183.9 MB / 1.276 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004394/2.705, allocations: 2.632 MB / 1.578 GB, free: 182.9 MB / 1.276 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002289/2.707, allocations: 1.143 MB / 1.579 GB, free: 182.5 MB / 1.276 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04707/2.754, allocations: 21.98 MB / 1.6 GB, free: 181.2 MB / 1.276 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001688/2.754, allocations: 129.8 kB / 1.6 GB, free: 181.2 MB / 1.276 GB Notification: Performance of pre-optimization done (n=412): time 6.472e-06/2.754, allocations: 1.531 kB / 1.6 GB, free: 181.2 MB / 1.276 GB Notification: Performance of matching and sorting (n=412): time 0.01317/2.768, allocations: 4.028 MB / 1.604 GB, free: 181.1 MB / 1.276 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002255/2.768, allocations: 0.7927 MB / 1.605 GB, free: 180.2 MB / 1.276 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02903/2.797, allocations: 10.39 MB / 1.615 GB, free: 179.2 MB / 1.276 GB Notification: Performance of collectPreVariables (initialization): time 0.001439/2.798, allocations: 159.3 kB / 1.615 GB, free: 179.2 MB / 1.276 GB Notification: Performance of collectInitialEqns (initialization): time 0.009438/2.808, allocations: 8.997 MB / 1.624 GB, free: 177.2 MB / 1.276 GB Notification: Performance of collectInitialBindings (initialization): time 0.002811/2.811, allocations: 1.54 MB / 1.626 GB, free: 176.5 MB / 1.276 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003455/2.814, allocations: 1.722 MB / 1.627 GB, free: 176.3 MB / 1.276 GB Notification: Performance of setup shared object (initialization): time 7.922e-05/2.814, allocations: 480.2 kB / 1.628 GB, free: 175.8 MB / 1.276 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001875/2.816, allocations: 0.8125 MB / 1.629 GB, free: 175.8 MB / 1.276 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005405/2.821, allocations: 9.815 MB / 1.638 GB, free: 164.6 MB / 1.276 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007555/2.829, allocations: 7.154 MB / 1.645 GB, free: 158.4 MB / 1.276 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001771/2.829, allocations: 34.25 kB / 1.645 GB, free: 158.4 MB / 1.276 GB Notification: Performance of matching and sorting (n=967) (initialization): time 0.01845/2.848, allocations: 6.614 MB / 1.652 GB, free: 157.5 MB / 1.276 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001309/2.848, allocations: 52.16 kB / 1.652 GB, free: 157.5 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002113/2.848, allocations: 116.1 kB / 1.652 GB, free: 157.5 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002181/2.848, allocations: 157.4 kB / 1.652 GB, free: 157.5 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004976/2.853, allocations: 1.686 MB / 1.654 GB, free: 157.5 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002991/2.853, allocations: 234.9 kB / 1.654 GB, free: 157.5 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009751/2.863, allocations: 0.901 MB / 1.655 GB, free: 157.3 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002201/2.865, allocations: 466.5 kB / 1.655 GB, free: 157.3 MB / 1.276 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 (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 (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.00684/2.872, allocations: 0.7614 MB / 1.656 GB, free: 157.1 MB / 1.276 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004788/2.877, allocations: 1.511 MB / 1.657 GB, free: 156.3 MB / 1.276 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01029/2.887, allocations: 4.708 MB / 1.662 GB, free: 155.8 MB / 1.276 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001043/2.887, allocations: 84.41 kB / 1.662 GB, free: 155.8 MB / 1.276 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.823e-05/2.887, allocations: 7.375 kB / 1.662 GB, free: 155.8 MB / 1.276 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001996/2.889, allocations: 2.506 MB / 1.664 GB, free: 154.1 MB / 1.276 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04204/2.931, allocations: 19.03 MB / 1.683 GB, free: 148.5 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.218e-05/2.932, allocations: 32.53 kB / 1.683 GB, free: 148.5 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002174/2.934, allocations: 0.777 MB / 1.684 GB, free: 148.5 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.411e-05/2.934, allocations: 50.5 kB / 1.684 GB, free: 148.5 MB / 1.276 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004947/2.934, allocations: 153.5 kB / 1.684 GB, free: 148.5 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.07e-05/2.934, allocations: 69.61 kB / 1.684 GB, free: 148.5 MB / 1.276 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.331e-05/2.934, allocations: 48.62 kB / 1.684 GB, free: 148.5 MB / 1.276 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01285/2.947, allocations: 8.658 MB / 1.693 GB, free: 142.9 MB / 1.276 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007288/2.955, allocations: 2.299 MB / 1.695 GB, free: 142.1 MB / 1.276 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003761/2.958, allocations: 153.2 kB / 1.695 GB, free: 142.1 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00702/2.965, allocations: 177.8 kB / 1.695 GB, free: 142.1 MB / 1.276 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001192/2.966, allocations: 414.4 kB / 1.696 GB, free: 142 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000847/2.967, allocations: 254 kB / 1.696 GB, free: 142 MB / 1.276 GB Notification: Performance of sorting global known variables: time 0.01623/2.984, allocations: 5.945 MB / 1.702 GB, free: 141.6 MB / 1.276 GB Notification: Performance of sort global known variables: time 5.01e-07/2.984, allocations: 0 / 1.702 GB, free: 141.6 MB / 1.276 GB Notification: Performance of remove unused functions: time 0.01982/3.003, allocations: 4.756 MB / 1.706 GB, free: 140.7 MB / 1.276 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.007505/3.011, allocations: 1.576 MB / 1.708 GB, free: 140.4 MB / 1.276 GB Notification: Performance of simCode: created initialization part: time 0.009938/3.021, allocations: 3.651 MB / 1.711 GB, free: 140.2 MB / 1.276 GB Notification: Performance of simCode: created event and clocks part: time 5.057e-05/3.021, allocations: 8.594 kB / 1.711 GB, free: 140.2 MB / 1.276 GB Notification: Performance of simCode: created simulation system equations: time 0.003405/3.024, allocations: 1.517 MB / 1.713 GB, free: 140.1 MB / 1.276 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02737/3.052, allocations: 5.796 MB / 1.719 GB, free: 137.9 MB / 1.276 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04849/3.1, allocations: 25.97 MB / 1.744 GB, free: 114.3 MB / 1.276 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00694/3.107, allocations: 3.011 MB / 1.747 GB, free: 112.4 MB / 1.276 GB Notification: Performance of simCode: alias equations: time 0.01218/3.119, allocations: 2.455 MB / 1.749 GB, free: 110.7 MB / 1.276 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003284/3.123, allocations: 0.8512 MB / 1.75 GB, free: 109.9 MB / 1.276 GB Notification: Performance of SimCode: time 3.847e-06/3.123, allocations: 0 / 1.75 GB, free: 109.9 MB / 1.276 GB Notification: Performance of Templates: time 0.2991/3.422, allocations: 235.8 MB / 1.98 GB, free: 8.074 MB / 1.401 GB " [Timeout remaining time 297] 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: 15.761792567092925]