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.0009707/0.0009707, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.0009685/0.0009685, allocations: 161 kB / 24.17 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.014/1.014, allocations: 177.1 MB / 204.6 MB, free: 5.484 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.86/1.86, allocations: 377.9 MB / 0.624 GB, free: 8.355 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.453e-06/1.453e-06, allocations: 0.7656 kB / 0.76 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.433e-05/2.578e-05, allocations: 5.547 kB / 0.76 GB, free: 6.602 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 0.1781/0.1781, allocations: 265.2 MB / 1.019 GB, free: 12.5 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.6477/0.8259, allocations: 95.16 MB / 1.112 GB, free: 67.77 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.04524/0.8711, allocations: 1.692 MB / 1.114 GB, free: 67.77 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.02395/0.895, allocations: 7.57 MB / 1.121 GB, free: 66.48 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.05407/0.9491, allocations: 22.52 MB / 1.143 GB, free: 58.7 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.03563/0.9847, allocations: 18.67 MB / 1.161 GB, free: 45.8 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.06403/1.049, allocations: 57.19 MB / 1.217 GB, free: 12.53 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03511/1.084, allocations: 17.47 MB / 1.234 GB, free: 12.38 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.06486/1.149, allocations: 26.78 MB / 1.26 GB, free: 2.863 MB / 1.026 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02892/1.178, allocations: 15.44 MB / 1.275 GB, free: 4.465 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 0.008785/1.186, allocations: 2.059 MB / 1.277 GB, free: 2.406 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02195/1.208, allocations: 9.107 MB / 1.286 GB, free: 9.387 MB / 1.057 GB Notification: Performance of NFScalarize.scalarize: time 0.009501/1.218, allocations: 5.17 MB / 1.291 GB, free: 4.504 MB / 1.057 GB Notification: Performance of NFVerifyModel.verify: time 0.0234/1.241, allocations: 7.239 MB / 1.298 GB, free: 13.54 MB / 1.073 GB Notification: Performance of NFConvertDAE.convert: time 0.04135/1.283, allocations: 20.68 MB / 1.319 GB, free: 9.918 MB / 1.089 GB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/1.283, allocations: 0 / 1.319 GB, free: 9.918 MB / 1.089 GB Notification: Performance of FrontEnd: time 1.633e-06/1.283, allocations: 0 / 1.319 GB, free: 9.918 MB / 1.089 GB Notification: Performance of Transformations before backend: time 0.0009157/1.284, allocations: 0 / 1.319 GB, free: 9.918 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.02888/1.312, allocations: 20.07 MB / 1.338 GB, free: 6.984 MB / 1.104 GB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/1.313, allocations: 8.031 kB / 1.338 GB, free: 6.977 MB / 1.104 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005532/1.318, allocations: 2.715 MB / 1.341 GB, free: 4.266 MB / 1.104 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02164/1.34, allocations: 12.16 MB / 1.353 GB, free: 8.297 MB / 1.12 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006611/1.34, allocations: 0.9682 MB / 1.354 GB, free: 7.328 MB / 1.12 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002196/1.343, allocations: 1.316 MB / 1.355 GB, free: 6.016 MB / 1.12 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01667/1.359, allocations: 11.82 MB / 1.366 GB, free: 9.332 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004015/1.36, allocations: 48.88 kB / 1.367 GB, free: 9.285 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001334/1.361, allocations: 0.5385 MB / 1.367 GB, free: 8.75 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003211/1.361, allocations: 344 kB / 1.367 GB, free: 8.414 MB / 1.135 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008178/1.369, allocations: 3.632 MB / 1.371 GB, free: 4.758 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.05228/1.422, allocations: 45.75 MB / 1.416 GB, free: 6.727 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003348/1.425, allocations: 3.31 MB / 1.419 GB, free: 3.195 MB / 1.182 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001199/1.426, allocations: 0.9486 MB / 1.42 GB, free: 2.18 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1049/1.531, allocations: 63 MB / 1.481 GB, free: 3.227 MB / 1.245 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001156/1.531, allocations: 111.4 kB / 1.481 GB, free: 3.109 MB / 1.245 GB Notification: Performance of pre-optimization done (n=412): time 6.552e-06/1.531, allocations: 7.984 kB / 1.481 GB, free: 3.102 MB / 1.245 GB Notification: Performance of matching and sorting (n=412): time 0.006833/1.538, allocations: 2.625 MB / 1.484 GB, free: 0.4922 MB / 1.245 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003092/1.538, allocations: 0.7903 MB / 1.485 GB, free: 15.52 MB / 1.26 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01231/1.551, allocations: 9.509 MB / 1.494 GB, free: 8.023 MB / 1.26 GB Notification: Performance of collectPreVariables (initialization): time 0.0008878/1.552, allocations: 138.7 kB / 1.494 GB, free: 7.883 MB / 1.26 GB Notification: Performance of collectInitialEqns (initialization): time 0.004145/1.556, allocations: 5.905 MB / 1.5 GB, free: 2.547 MB / 1.26 GB Notification: Performance of collectInitialBindings (initialization): time 0.002022/1.558, allocations: 1.523 MB / 1.501 GB, free: 1.109 MB / 1.26 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.5048/2.063, allocations: 1.387 MB / 1.503 GB, free: 288.1 MB / 1.26 GB Notification: Performance of setup shared object (initialization): time 3.245e-05/2.063, allocations: 302.5 kB / 1.503 GB, free: 287.8 MB / 1.26 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001715/2.064, allocations: 0.5845 MB / 1.504 GB, free: 287.7 MB / 1.26 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003382/2.068, allocations: 7.131 MB / 1.511 GB, free: 279.8 MB / 1.26 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004812/2.073, allocations: 4.598 MB / 1.515 GB, free: 276.5 MB / 1.26 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001117/2.073, allocations: 27.41 kB / 1.515 GB, free: 276.5 MB / 1.26 GB Notification: Performance of matching and sorting (n=832) (initialization): time 0.008808/2.082, allocations: 4.253 MB / 1.519 GB, free: 276.2 MB / 1.26 GB Notification: Performance of prepare postOptimizeDAE: time 5.719e-05/2.082, allocations: 45.56 kB / 1.519 GB, free: 276.2 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.11e-05/2.082, allocations: 83.75 kB / 1.519 GB, free: 276.2 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001307/2.082, allocations: 127.5 kB / 1.52 GB, free: 276.2 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002708/2.085, allocations: 1.404 MB / 1.521 GB, free: 276.2 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001277/2.085, allocations: 176.6 kB / 1.521 GB, free: 276.2 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006178/2.091, allocations: 0.7401 MB / 1.522 GB, free: 276.2 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009076/2.092, allocations: 324.4 kB / 1.522 GB, free: 276.2 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.004625/2.096, allocations: 0.6201 MB / 1.523 GB, free: 276 MB / 1.26 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002673/2.099, allocations: 0.8708 MB / 1.524 GB, free: 276 MB / 1.26 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006061/2.105, allocations: 3.779 MB / 1.527 GB, free: 275.8 MB / 1.26 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.964e-05/2.105, allocations: 84.64 kB / 1.527 GB, free: 275.8 MB / 1.26 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.097e-05/2.105, allocations: 7.25 kB / 1.527 GB, free: 275.8 MB / 1.26 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001019/2.106, allocations: 2.111 MB / 1.529 GB, free: 274 MB / 1.26 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0274/2.134, allocations: 14.1 MB / 1.543 GB, free: 269.4 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.379e-05/2.134, allocations: 32.16 kB / 1.543 GB, free: 269.4 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001446/2.135, allocations: 0.7472 MB / 1.544 GB, free: 269.4 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.209e-05/2.135, allocations: 48.34 kB / 1.544 GB, free: 269.4 MB / 1.26 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002259/2.135, allocations: 142.6 kB / 1.544 GB, free: 269.4 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.039e-05/2.135, allocations: 72.7 kB / 1.544 GB, free: 269.4 MB / 1.26 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-05/2.135, allocations: 52.28 kB / 1.544 GB, free: 269.4 MB / 1.26 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006194/2.142, allocations: 7.063 MB / 1.551 GB, free: 264.8 MB / 1.26 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004362/2.146, allocations: 1.735 MB / 1.553 GB, free: 264.8 MB / 1.26 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002018/2.148, allocations: 154.6 kB / 1.553 GB, free: 264.8 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004024/2.152, allocations: 150.9 kB / 1.553 GB, free: 264.8 MB / 1.26 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004512/2.152, allocations: 410 kB / 1.553 GB, free: 264.8 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003988/2.153, allocations: 203.8 kB / 1.554 GB, free: 264.8 MB / 1.26 GB Notification: Performance of sorting global known variables: time 0.006899/2.16, allocations: 5.196 MB / 1.559 GB, free: 264.3 MB / 1.26 GB Notification: Performance of sort global known variables: time 2.21e-07/2.16, allocations: 0 / 1.559 GB, free: 264.3 MB / 1.26 GB Notification: Performance of remove unused functions: time 0.013/2.173, allocations: 4.659 MB / 1.563 GB, free: 264.3 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.004629/2.177, allocations: 1.66 MB / 1.565 GB, free: 264.2 MB / 1.26 GB Notification: Performance of simCode: created initialization part: time 0.005611/2.183, allocations: 2.798 MB / 1.568 GB, free: 264.1 MB / 1.26 GB Notification: Performance of simCode: created event and clocks part: time 0.0002798/2.183, allocations: 170.7 kB / 1.568 GB, free: 264.1 MB / 1.26 GB Notification: Performance of simCode: created simulation system equations: time 0.002028/2.185, allocations: 1.278 MB / 1.569 GB, free: 264 MB / 1.26 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01997/2.205, allocations: 6.002 MB / 1.575 GB, free: 263.1 MB / 1.26 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03582/2.241, allocations: 24.77 MB / 1.599 GB, free: 251.2 MB / 1.26 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005242/2.246, allocations: 2.733 MB / 1.602 GB, free: 250.8 MB / 1.26 GB Notification: Performance of simCode: alias equations: time 0.008813/2.255, allocations: 2.048 MB / 1.604 GB, free: 250.3 MB / 1.26 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01493/2.27, allocations: 3.802 MB / 1.608 GB, free: 250.1 MB / 1.26 GB Notification: Performance of SimCode: time 2.475e-06/2.27, allocations: 0 / 1.608 GB, free: 250.1 MB / 1.26 GB Notification: Performance of Templates: time 0.2542/2.524, allocations: 239.2 MB / 1.841 GB, free: 36.28 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.866754821036011]