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.001382/0.001382, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001693/0.001693, allocations: 161.4 kB / 24.16 MB, free: 332 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.051/1.051, allocations: 177.1 MB / 204.6 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.859/1.859, allocations: 377.9 MB / 0.624 GB, free: 8.359 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.883e-06/1.883e-06, allocations: 0 / 0.7601 GB, free: 6.559 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.63e-05/2.818e-05, allocations: 7.125 kB / 0.7601 GB, free: 6.551 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 0.1876/0.1876, allocations: 265.3 MB / 1.019 GB, free: 12.41 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.5653/0.7529, allocations: 95.16 MB / 1.112 GB, free: 67.6 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.03938/0.7923, allocations: 1.692 MB / 1.114 GB, free: 67.6 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.02054/0.8128, allocations: 7.563 MB / 1.121 GB, free: 66.31 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.05712/0.87, allocations: 22.07 MB / 1.143 GB, free: 58.61 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.03585/0.9058, allocations: 18.66 MB / 1.161 GB, free: 45.68 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.06676/0.9726, allocations: 57.18 MB / 1.217 GB, free: 12.41 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02726/0.9998, allocations: 17.52 MB / 1.234 GB, free: 12.73 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.05426/1.054, allocations: 26.45 MB / 1.26 GB, free: 3.535 MB / 1.026 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02655/1.081, allocations: 15.44 MB / 1.275 GB, free: 5.133 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 0.00621/1.087, allocations: 2.059 MB / 1.277 GB, free: 3.074 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02177/1.109, allocations: 9.599 MB / 1.286 GB, free: 9.574 MB / 1.057 GB Notification: Performance of NFScalarize.scalarize: time 0.008108/1.117, allocations: 5.166 MB / 1.291 GB, free: 4.691 MB / 1.057 GB Notification: Performance of NFVerifyModel.verify: time 0.01836/1.135, allocations: 7.232 MB / 1.298 GB, free: 13.73 MB / 1.073 GB Notification: Performance of NFConvertDAE.convert: time 0.03354/1.169, allocations: 20.68 MB / 1.318 GB, free: 10.11 MB / 1.089 GB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/1.169, allocations: 0 / 1.318 GB, free: 10.11 MB / 1.089 GB Notification: Performance of FrontEnd: time 1.102e-06/1.169, allocations: 4 kB / 1.318 GB, free: 10.1 MB / 1.089 GB Notification: Performance of Transformations before backend: time 0.0007466/1.169, allocations: 3.938 kB / 1.318 GB, free: 10.1 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.02144/1.191, allocations: 20.06 MB / 1.338 GB, free: 7.168 MB / 1.104 GB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/1.191, allocations: 12.03 kB / 1.338 GB, free: 7.156 MB / 1.104 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00364/1.194, allocations: 2.718 MB / 1.341 GB, free: 4.445 MB / 1.104 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0159/1.21, allocations: 12.16 MB / 1.353 GB, free: 8.477 MB / 1.12 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004796/1.211, allocations: 0.972 MB / 1.353 GB, free: 7.508 MB / 1.12 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00119/1.212, allocations: 1.318 MB / 1.355 GB, free: 6.191 MB / 1.12 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01063/1.223, allocations: 11.82 MB / 1.366 GB, free: 9.508 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001784/1.223, allocations: 45.92 kB / 1.366 GB, free: 9.465 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006142/1.223, allocations: 0.5345 MB / 1.367 GB, free: 8.934 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001852/1.224, allocations: 347.9 kB / 1.367 GB, free: 8.594 MB / 1.135 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004661/1.228, allocations: 3.623 MB / 1.371 GB, free: 4.945 MB / 1.135 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.04463/1.273, allocations: 45.75 MB / 1.415 GB, free: 6.914 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003048/1.276, allocations: 3.313 MB / 1.419 GB, free: 3.383 MB / 1.182 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009345/1.277, allocations: 0.9513 MB / 1.42 GB, free: 2.363 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1084/1.385, allocations: 63 MB / 1.481 GB, free: 3.414 MB / 1.245 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001291/1.385, allocations: 123.4 kB / 1.481 GB, free: 3.285 MB / 1.245 GB Notification: Performance of pre-optimization done (n=412): time 6.412e-06/1.385, allocations: 0 / 1.481 GB, free: 3.285 MB / 1.245 GB Notification: Performance of matching and sorting (n=412): time 0.007079/1.393, allocations: 2.629 MB / 1.484 GB, free: 0.6719 MB / 1.245 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002484/1.393, allocations: 0.7941 MB / 1.485 GB, free: 15.7 MB / 1.26 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009931/1.403, allocations: 9.51 MB / 1.494 GB, free: 8.199 MB / 1.26 GB Notification: Performance of collectPreVariables (initialization): time 0.0005756/1.403, allocations: 137.7 kB / 1.494 GB, free: 8.059 MB / 1.26 GB Notification: Performance of collectInitialEqns (initialization): time 0.003557/1.407, allocations: 5.908 MB / 1.5 GB, free: 2.719 MB / 1.26 GB Notification: Performance of collectInitialBindings (initialization): time 0.001196/1.408, allocations: 1.521 MB / 1.501 GB, free: 1.285 MB / 1.26 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001227/1.409, allocations: 1.385 MB / 1.503 GB, free: 28 kB / 1.26 GB Notification: Performance of setup shared object (initialization): time 0.4676/1.877, allocations: 301.1 kB / 1.503 GB, free: 287.5 MB / 1.26 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002023/1.879, allocations: 0.5843 MB / 1.503 GB, free: 287.5 MB / 1.26 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002989/1.882, allocations: 7.128 MB / 1.51 GB, free: 279.5 MB / 1.26 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003811/1.886, allocations: 4.6 MB / 1.515 GB, free: 276.2 MB / 1.26 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.614e-05/1.886, allocations: 24.31 kB / 1.515 GB, free: 276.2 MB / 1.26 GB Notification: Performance of matching and sorting (n=832) (initialization): time 0.006214/1.892, allocations: 4.264 MB / 1.519 GB, free: 275.9 MB / 1.26 GB Notification: Performance of prepare postOptimizeDAE: time 4.743e-05/1.892, allocations: 46.16 kB / 1.519 GB, free: 275.9 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.847e-05/1.892, allocations: 87.75 kB / 1.519 GB, free: 275.9 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.916e-05/1.892, allocations: 122.2 kB / 1.519 GB, free: 275.9 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002406/1.895, allocations: 1.491 MB / 1.521 GB, free: 275.9 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001036/1.895, allocations: 174.6 kB / 1.521 GB, free: 275.9 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004538/1.899, allocations: 0.7393 MB / 1.522 GB, free: 275.9 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004302/1.9, allocations: 324.6 kB / 1.522 GB, free: 275.9 MB / 1.26 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.003505/1.903, allocations: 0.6234 MB / 1.523 GB, free: 275.8 MB / 1.26 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00141/1.905, allocations: 0.8672 MB / 1.523 GB, free: 275.8 MB / 1.26 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004221/1.909, allocations: 3.785 MB / 1.527 GB, free: 275.5 MB / 1.26 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-05/1.909, allocations: 77.58 kB / 1.527 GB, free: 275.5 MB / 1.26 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.182e-05/1.909, allocations: 7.969 kB / 1.527 GB, free: 275.5 MB / 1.26 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009824/1.91, allocations: 2.11 MB / 1.529 GB, free: 273.8 MB / 1.26 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01537/1.925, allocations: 14.1 MB / 1.543 GB, free: 269.1 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.13e-05/1.925, allocations: 29.09 kB / 1.543 GB, free: 269.1 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001521/1.927, allocations: 0.83 MB / 1.544 GB, free: 269.1 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.606e-05/1.927, allocations: 50.94 kB / 1.544 GB, free: 269.1 MB / 1.26 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001992/1.927, allocations: 142.5 kB / 1.544 GB, free: 269.1 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.614e-05/1.927, allocations: 71.14 kB / 1.544 GB, free: 269.1 MB / 1.26 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-05/1.927, allocations: 48.56 kB / 1.544 GB, free: 269.1 MB / 1.26 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004731/1.932, allocations: 7.065 MB / 1.551 GB, free: 264.5 MB / 1.26 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002303/1.934, allocations: 1.731 MB / 1.553 GB, free: 264.5 MB / 1.26 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007682/1.935, allocations: 154.1 kB / 1.553 GB, free: 264.5 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002173/1.937, allocations: 158.6 kB / 1.553 GB, free: 264.5 MB / 1.26 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003082/1.937, allocations: 404.8 kB / 1.553 GB, free: 264.5 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002377/1.938, allocations: 209.1 kB / 1.554 GB, free: 264.5 MB / 1.26 GB Notification: Performance of sorting global known variables: time 0.004171/1.942, allocations: 5.19 MB / 1.559 GB, free: 264.1 MB / 1.26 GB Notification: Performance of sort global known variables: time 5.61e-07/1.942, allocations: 0 / 1.559 GB, free: 264.1 MB / 1.26 GB Notification: Performance of remove unused functions: time 0.00917/1.951, allocations: 4.661 MB / 1.563 GB, free: 264.1 MB / 1.26 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.003681/1.955, allocations: 1.658 MB / 1.565 GB, free: 263.9 MB / 1.26 GB Notification: Performance of simCode: created initialization part: time 0.005409/1.96, allocations: 2.795 MB / 1.568 GB, free: 263.8 MB / 1.26 GB Notification: Performance of simCode: created event and clocks part: time 0.0003203/1.96, allocations: 170.4 kB / 1.568 GB, free: 263.8 MB / 1.26 GB Notification: Performance of simCode: created simulation system equations: time 0.001588/1.962, allocations: 1.28 MB / 1.569 GB, free: 263.7 MB / 1.26 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01566/1.978, allocations: 5.996 MB / 1.575 GB, free: 262.8 MB / 1.26 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02731/2.005, allocations: 24.77 MB / 1.599 GB, free: 251 MB / 1.26 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002638/2.008, allocations: 2.735 MB / 1.602 GB, free: 250.5 MB / 1.26 GB Notification: Performance of simCode: alias equations: time 0.006876/2.014, allocations: 2.042 MB / 1.604 GB, free: 250 MB / 1.26 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007232/2.022, allocations: 3.801 MB / 1.607 GB, free: 249.8 MB / 1.26 GB Notification: Performance of SimCode: time 2.004e-06/2.022, allocations: 0 / 1.607 GB, free: 249.8 MB / 1.26 GB Notification: Performance of Templates: time 0.2424/2.264, allocations: 239.2 MB / 1.841 GB, free: 35.89 MB / 1.26 GB " [Timeout remaining time 298] 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 -s gbode -gbm=radauIIA3 -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.401383991818875]