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.0009752/0.0009752, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.0009562/0.0009562, allocations: 166.1 kB / 24.87 MB, free: 9.258 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.9277/0.9277, allocations: 177.1 MB / 205.3 MB, free: 5.512 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.849/1.849, allocations: 377.9 MB / 0.6247 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.403e-06/1.403e-06, allocations: 0 / 0.8128 GB, free: 1.41 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.966e-05/2.106e-05, allocations: 3.406 kB / 0.8128 GB, free: 1.406 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 0.6368/0.6368, allocations: 265.1 MB / 1.072 GB, free: 103 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.1403/0.7771, allocations: 92.68 MB / 1.162 GB, free: 73.59 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.04396/0.8211, allocations: 1.693 MB / 1.164 GB, free: 72.69 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.02134/0.8424, allocations: 7.676 MB / 1.171 GB, free: 68.83 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.0554/0.8978, allocations: 22.5 MB / 1.193 GB, free: 58.62 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.03628/0.9341, allocations: 18.67 MB / 1.212 GB, free: 46.07 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.06518/0.9993, allocations: 57.21 MB / 1.267 GB, free: 11.65 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02838/1.028, allocations: 17.32 MB / 1.284 GB, free: 10.86 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.05642/1.084, allocations: 26.85 MB / 1.311 GB, free: 1.277 MB / 1.026 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02837/1.112, allocations: 16.13 MB / 1.326 GB, free: 2.445 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 0.006247/1.119, allocations: 2.059 MB / 1.328 GB, free: 396 kB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0224/1.141, allocations: 9.113 MB / 1.337 GB, free: 7.363 MB / 1.057 GB Notification: Performance of NFScalarize.scalarize: time 0.007436/1.149, allocations: 5.17 MB / 1.342 GB, free: 2.465 MB / 1.057 GB Notification: Performance of NFVerifyModel.verify: time 0.01836/1.167, allocations: 7.234 MB / 1.349 GB, free: 11.5 MB / 1.073 GB Notification: Performance of NFConvertDAE.convert: time 0.03937/1.206, allocations: 20.67 MB / 1.369 GB, free: 7.883 MB / 1.089 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/1.206, allocations: 0 / 1.369 GB, free: 7.883 MB / 1.089 GB Notification: Performance of FrontEnd: time 3.256e-06/1.206, allocations: 3.984 kB / 1.369 GB, free: 7.879 MB / 1.089 GB Notification: Performance of Transformations before backend: time 0.0008564/1.207, allocations: 0 / 1.369 GB, free: 7.879 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.02571/1.233, allocations: 20.72 MB / 1.39 GB, free: 4.27 MB / 1.104 GB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/1.233, allocations: 8.031 kB / 1.39 GB, free: 4.262 MB / 1.104 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004666/1.238, allocations: 3.462 MB / 1.393 GB, free: 0.7891 MB / 1.104 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02105/1.259, allocations: 18.76 MB / 1.411 GB, free: 14.25 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007116/1.259, allocations: 0.9691 MB / 1.412 GB, free: 13.28 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001455/1.261, allocations: 1.322 MB / 1.414 GB, free: 11.96 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01276/1.274, allocations: 12.16 MB / 1.426 GB, free: 14.66 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002014/1.274, allocations: 47.17 kB / 1.426 GB, free: 14.61 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007322/1.274, allocations: 0.5312 MB / 1.426 GB, free: 14.08 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002111/1.275, allocations: 347.9 kB / 1.426 GB, free: 13.74 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005412/1.28, allocations: 3.673 MB / 1.43 GB, free: 10.07 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.0596/1.34, allocations: 64.06 MB / 1.493 GB, free: 10.1 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003459/1.343, allocations: 2.457 MB / 1.495 GB, free: 7.395 MB / 1.214 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001037/1.344, allocations: 1.021 MB / 1.496 GB, free: 6.297 MB / 1.214 GB Notification: Performance of preOpt evalFunc (simulation): time 0.9319/2.276, allocations: 19.14 MB / 1.515 GB, free: 230 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001177/2.276, allocations: 121.6 kB / 1.515 GB, free: 229.9 MB / 1.214 GB Notification: Performance of pre-optimization done (n=412): time 6.833e-06/2.276, allocations: 0 / 1.515 GB, free: 229.9 MB / 1.214 GB Notification: Performance of matching and sorting (n=412): time 0.007837/2.284, allocations: 3.681 MB / 1.518 GB, free: 229.9 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001516/2.284, allocations: 0.7976 MB / 1.519 GB, free: 228.9 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01165/2.296, allocations: 9.765 MB / 1.529 GB, free: 228.1 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.0007863/2.297, allocations: 137.7 kB / 1.529 GB, free: 228.1 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.006114/2.303, allocations: 8.95 MB / 1.538 GB, free: 226.9 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.001482/2.304, allocations: 1.552 MB / 1.539 GB, free: 226.1 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001615/2.306, allocations: 1.508 MB / 1.541 GB, free: 226 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 4.747e-05/2.306, allocations: 483.4 kB / 1.541 GB, free: 225.5 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00099/2.307, allocations: 0.5681 MB / 1.542 GB, free: 225.5 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003014/2.31, allocations: 8.395 MB / 1.55 GB, free: 215.9 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003456/2.313, allocations: 5.414 MB / 1.555 GB, free: 211.3 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.151e-05/2.313, allocations: 27.91 kB / 1.555 GB, free: 211.3 MB / 1.214 GB Notification: Performance of matching and sorting (n=832) (initialization): time 0.008132/2.321, allocations: 5.322 MB / 1.56 GB, free: 210.5 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 5.247e-05/2.322, allocations: 41.81 kB / 1.56 GB, free: 210.5 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.837e-05/2.322, allocations: 84.34 kB / 1.56 GB, free: 210.5 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001005/2.322, allocations: 122.6 kB / 1.561 GB, free: 210.5 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002352/2.324, allocations: 1.426 MB / 1.562 GB, free: 210.5 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.951e-05/2.324, allocations: 180.5 kB / 1.562 GB, free: 210.5 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004885/2.329, allocations: 0.7341 MB / 1.563 GB, free: 210.3 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003691/2.329, allocations: 353.6 kB / 1.563 GB, free: 210.3 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.003315/2.333, allocations: 0.6565 MB / 1.564 GB, free: 210.1 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002018/2.335, allocations: 1.477 MB / 1.565 GB, free: 209.4 MB / 1.214 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004695/2.339, allocations: 4.354 MB / 1.569 GB, free: 208.9 MB / 1.214 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.608e-05/2.339, allocations: 80.53 kB / 1.57 GB, free: 208.9 MB / 1.214 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.047e-05/2.339, allocations: 9.359 kB / 1.57 GB, free: 208.9 MB / 1.214 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001243/2.341, allocations: 2.352 MB / 1.572 GB, free: 207.2 MB / 1.214 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01669/2.357, allocations: 16.25 MB / 1.588 GB, free: 201.8 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.652e-05/2.357, allocations: 36.12 kB / 1.588 GB, free: 201.8 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001393/2.359, allocations: 0.7703 MB / 1.589 GB, free: 201.8 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.09e-05/2.359, allocations: 49.91 kB / 1.589 GB, free: 201.8 MB / 1.214 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001727/2.359, allocations: 156.1 kB / 1.589 GB, free: 201.8 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.28e-05/2.359, allocations: 72.23 kB / 1.589 GB, free: 201.8 MB / 1.214 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.801e-05/2.359, allocations: 46.78 kB / 1.589 GB, free: 201.8 MB / 1.214 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0065/2.366, allocations: 8.198 MB / 1.597 GB, free: 196.3 MB / 1.214 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002976/2.369, allocations: 2.221 MB / 1.599 GB, free: 195.6 MB / 1.214 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008073/2.369, allocations: 158.4 kB / 1.599 GB, free: 195.5 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002329/2.372, allocations: 153.4 kB / 1.599 GB, free: 195.5 MB / 1.214 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003135/2.372, allocations: 427.3 kB / 1.6 GB, free: 195.5 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002504/2.372, allocations: 231.8 kB / 1.6 GB, free: 195.5 MB / 1.214 GB Notification: Performance of sorting global known variables: time 0.004874/2.377, allocations: 5.275 MB / 1.605 GB, free: 195.1 MB / 1.214 GB Notification: Performance of sort global known variables: time 1.71e-07/2.377, allocations: 0 / 1.605 GB, free: 195.1 MB / 1.214 GB Notification: Performance of remove unused functions: time 0.009892/2.387, allocations: 4.655 MB / 1.61 GB, free: 194.7 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.003374/2.39, allocations: 1.609 MB / 1.611 GB, free: 194.5 MB / 1.214 GB Notification: Performance of simCode: created initialization part: time 0.00424/2.395, allocations: 2.98 MB / 1.614 GB, free: 194.3 MB / 1.214 GB Notification: Performance of simCode: created event and clocks part: time 1.455e-05/2.395, allocations: 8.938 kB / 1.614 GB, free: 194.3 MB / 1.214 GB Notification: Performance of simCode: created simulation system equations: time 0.00131/2.396, allocations: 1.389 MB / 1.615 GB, free: 194.3 MB / 1.214 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01446/2.41, allocations: 6.04 MB / 1.621 GB, free: 193.3 MB / 1.214 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02673/2.437, allocations: 25.44 MB / 1.646 GB, free: 180.7 MB / 1.214 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002418/2.44, allocations: 2.976 MB / 1.649 GB, free: 180.2 MB / 1.214 GB Notification: Performance of simCode: alias equations: time 0.006603/2.446, allocations: 2.053 MB / 1.651 GB, free: 179.8 MB / 1.214 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007244/2.453, allocations: 4.393 MB / 1.655 GB, free: 178 MB / 1.214 GB Notification: Performance of SimCode: time 1.743e-06/2.453, allocations: 0 / 1.655 GB, free: 178 MB / 1.214 GB Notification: Performance of Templates: time 0.2547/2.708, allocations: 242.2 MB / 1.892 GB, free: 12.9 MB / 1.276 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: 13.255636313930154]