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.0009563/0.0009563, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.0009303/0.0009303, allocations: 173 kB / 23.36 MB, free: 1.133 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.925/0.925, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.345/2.345, allocations: 438.8 MB / 0.6827 GB, free: 13.55 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.523e-06/1.523e-06, allocations: 0 / 0.8386 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.012e-05/2.164e-05, allocations: 4.703 kB / 0.8387 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 0.5811/0.5812, allocations: 266 MB / 1.098 GB, free: 67.23 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.1273/0.7085, allocations: 97.58 MB / 1.194 GB, free: 30.11 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.03474/0.7432, allocations: 1.712 MB / 1.195 GB, free: 29.18 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.02026/0.7635, allocations: 7.596 MB / 1.203 GB, free: 22.77 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.04668/0.8102, allocations: 22.22 MB / 1.225 GB, free: 7.652 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.03355/0.8437, allocations: 20.06 MB / 1.244 GB, free: 9.637 MB / 1.026 GB Notification: Performance of NFFlatten.flatten: time 0.06372/0.9074, allocations: 57.33 MB / 1.3 GB, free: 6.836 MB / 1.073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03631/0.9437, allocations: 17.08 MB / 1.317 GB, free: 6.406 MB / 1.089 GB Notification: Performance of NFEvalConstants.evaluate: time 0.06292/1.007, allocations: 26.64 MB / 1.343 GB, free: 13.02 MB / 1.12 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02515/1.032, allocations: 15.54 MB / 1.358 GB, free: 14.46 MB / 1.135 GB Notification: Performance of NFPackage.collectConstants: time 0.006763/1.039, allocations: 2.102 MB / 1.36 GB, free: 12.36 MB / 1.135 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02014/1.059, allocations: 9.646 MB / 1.369 GB, free: 2.805 MB / 1.135 GB Notification: Performance of NFScalarize.scalarize: time 0.008166/1.067, allocations: 5.25 MB / 1.375 GB, free: 13.85 MB / 1.151 GB Notification: Performance of NFVerifyModel.verify: time 0.01657/1.083, allocations: 7.405 MB / 1.382 GB, free: 6.727 MB / 1.151 GB Notification: Performance of NFConvertDAE.convert: time 0.03707/1.121, allocations: 20.93 MB / 1.402 GB, free: 2.379 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/1.121, allocations: 0 / 1.402 GB, free: 2.379 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.884e-06/1.121, allocations: 4 kB / 1.402 GB, free: 2.375 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0008281/1.121, allocations: 0 / 1.402 GB, free: 2.375 MB / 1.167 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.02593/1.147, allocations: 20.42 MB / 1.422 GB, free: 13.7 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/1.147, allocations: 16.56 kB / 1.422 GB, free: 13.68 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004722/1.152, allocations: 2.754 MB / 1.425 GB, free: 10.93 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02359/1.176, allocations: 12.3 MB / 1.437 GB, free: 14.44 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008676/1.177, allocations: 1.001 MB / 1.438 GB, free: 13.44 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002076/1.179, allocations: 1.367 MB / 1.439 GB, free: 12.07 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01732/1.196, allocations: 11.82 MB / 1.451 GB, free: 14.88 MB / 1.229 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002733/1.196, allocations: 43.62 kB / 1.451 GB, free: 14.84 MB / 1.229 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009652/1.197, allocations: 0.5351 MB / 1.451 GB, free: 14.3 MB / 1.229 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002509/1.197, allocations: 355.8 kB / 1.452 GB, free: 13.95 MB / 1.229 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007221/1.205, allocations: 3.627 MB / 1.455 GB, free: 10.29 MB / 1.229 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.05026/1.255, allocations: 46.09 MB / 1.5 GB, free: 10.7 MB / 1.276 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003496/1.258, allocations: 3.334 MB / 1.503 GB, free: 7.055 MB / 1.276 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001176/1.26, allocations: 0.9488 MB / 1.504 GB, free: 5.996 MB / 1.276 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6107/1.87, allocations: 62.98 MB / 1.566 GB, free: 267.6 MB / 1.307 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001194/1.87, allocations: 127.4 kB / 1.566 GB, free: 267.6 MB / 1.307 GB Notification: Performance of pre-optimization done (n=412): time 8.085e-06/1.87, allocations: 0 / 1.566 GB, free: 267.6 MB / 1.307 GB Notification: Performance of matching and sorting (n=412): time 0.006909/1.877, allocations: 2.65 MB / 1.569 GB, free: 267.5 MB / 1.307 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001501/1.877, allocations: 0.7934 MB / 1.569 GB, free: 266.6 MB / 1.307 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01228/1.89, allocations: 9.92 MB / 1.579 GB, free: 265.8 MB / 1.307 GB Notification: Performance of collectPreVariables (initialization): time 0.0008832/1.891, allocations: 160.9 kB / 1.579 GB, free: 265.8 MB / 1.307 GB Notification: Performance of collectInitialEqns (initialization): time 0.003611/1.894, allocations: 6.008 MB / 1.585 GB, free: 265.4 MB / 1.307 GB Notification: Performance of collectInitialBindings (initialization): time 0.001379/1.896, allocations: 1.523 MB / 1.587 GB, free: 264.6 MB / 1.307 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0017/1.897, allocations: 1.637 MB / 1.588 GB, free: 264.5 MB / 1.307 GB Notification: Performance of setup shared object (initialization): time 3.086e-05/1.897, allocations: 301.1 kB / 1.588 GB, free: 264.2 MB / 1.307 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001029/1.898, allocations: 0.6542 MB / 1.589 GB, free: 264.1 MB / 1.307 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002948/1.901, allocations: 8.029 MB / 1.597 GB, free: 255.1 MB / 1.307 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004455/1.906, allocations: 5.725 MB / 1.603 GB, free: 250.6 MB / 1.307 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001181/1.906, allocations: 32.31 kB / 1.603 GB, free: 250.6 MB / 1.307 GB Notification: Performance of matching and sorting (n=967) (initialization): time 0.008172/1.914, allocations: 4.989 MB / 1.607 GB, free: 250.2 MB / 1.307 GB Notification: Performance of prepare postOptimizeDAE: time 5.417e-05/1.914, allocations: 50.59 kB / 1.608 GB, free: 250.2 MB / 1.307 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001229/1.914, allocations: 117.5 kB / 1.608 GB, free: 250.2 MB / 1.307 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001371/1.914, allocations: 162.2 kB / 1.608 GB, free: 250.2 MB / 1.307 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003401/1.918, allocations: 1.74 MB / 1.609 GB, free: 250.2 MB / 1.307 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001166/1.918, allocations: 238.4 kB / 1.61 GB, free: 250.2 MB / 1.307 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006147/1.924, allocations: 0.8813 MB / 1.611 GB, free: 250 MB / 1.307 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009237/1.925, allocations: 389.3 kB / 1.611 GB, free: 250 MB / 1.307 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.005083/1.93, allocations: 0.7151 MB / 1.612 GB, free: 249.8 MB / 1.307 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00342/1.933, allocations: 0.8662 MB / 1.612 GB, free: 249.8 MB / 1.307 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007068/1.94, allocations: 3.807 MB / 1.616 GB, free: 249.4 MB / 1.307 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-05/1.941, allocations: 78.45 kB / 1.616 GB, free: 249.4 MB / 1.307 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.602e-05/1.941, allocations: 7.156 kB / 1.616 GB, free: 249.4 MB / 1.307 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009706/1.942, allocations: 2.11 MB / 1.618 GB, free: 247.7 MB / 1.307 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01702/1.959, allocations: 14.25 MB / 1.632 GB, free: 242.8 MB / 1.307 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.003e-05/1.959, allocations: 36.25 kB / 1.632 GB, free: 242.8 MB / 1.307 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001648/1.96, allocations: 0.8272 MB / 1.633 GB, free: 242.8 MB / 1.307 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.869e-05/1.96, allocations: 50.19 kB / 1.633 GB, free: 242.8 MB / 1.307 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001775/1.96, allocations: 143.6 kB / 1.633 GB, free: 242.8 MB / 1.307 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.552e-05/1.96, allocations: 71.83 kB / 1.633 GB, free: 242.8 MB / 1.307 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.758e-05/1.96, allocations: 44.97 kB / 1.633 GB, free: 242.8 MB / 1.307 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004565/1.965, allocations: 7.071 MB / 1.64 GB, free: 238.2 MB / 1.307 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002081/1.967, allocations: 1.761 MB / 1.642 GB, free: 237.4 MB / 1.307 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006903/1.968, allocations: 159.3 kB / 1.642 GB, free: 237.4 MB / 1.307 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002199/1.97, allocations: 156 kB / 1.642 GB, free: 237.4 MB / 1.307 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003121/1.97, allocations: 407.5 kB / 1.643 GB, free: 237.3 MB / 1.307 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002389/1.971, allocations: 205.8 kB / 1.643 GB, free: 237.3 MB / 1.307 GB Notification: Performance of sorting global known variables: time 0.00402/1.975, allocations: 5.362 MB / 1.648 GB, free: 236.9 MB / 1.307 GB Notification: Performance of sort global known variables: time 9e-08/1.975, allocations: 4 kB / 1.648 GB, free: 236.9 MB / 1.307 GB Notification: Performance of remove unused functions: time 0.007704/1.982, allocations: 4.753 MB / 1.653 GB, free: 236 MB / 1.307 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.002884/1.985, allocations: 1.654 MB / 1.654 GB, free: 234.9 MB / 1.307 GB Notification: Performance of simCode: created initialization part: time 0.003411/1.989, allocations: 3.16 MB / 1.657 GB, free: 232.8 MB / 1.307 GB Notification: Performance of simCode: created event and clocks part: time 0.0001405/1.989, allocations: 171.9 kB / 1.658 GB, free: 232.6 MB / 1.307 GB Notification: Performance of simCode: created simulation system equations: time 0.001034/1.99, allocations: 1.285 MB / 1.659 GB, free: 231.7 MB / 1.307 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01101/2.001, allocations: 5.744 MB / 1.665 GB, free: 228.3 MB / 1.307 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03079/2.032, allocations: 25.21 MB / 1.689 GB, free: 205.3 MB / 1.307 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004466/2.036, allocations: 2.765 MB / 1.692 GB, free: 203.4 MB / 1.307 GB Notification: Performance of simCode: alias equations: time 0.0074/2.043, allocations: 2.071 MB / 1.694 GB, free: 201.9 MB / 1.307 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01136/2.055, allocations: 3.793 MB / 1.698 GB, free: 199 MB / 1.307 GB Notification: Performance of SimCode: time 2.435e-06/2.055, allocations: 3.281 kB / 1.698 GB, free: 199 MB / 1.307 GB Notification: Performance of Templates: time 0.285/2.34, allocations: 238.4 MB / 1.93 GB, free: 3.113 MB / 1.339 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 -s gbode -gbm=radauIIA3 -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.540923403110355]