Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.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.001563/0.001563, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001625/0.001625, allocations: 177.4 kB / 23.36 MB, free: 1.129 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.983/0.983, allocations: 177.2 MB / 203.8 MB, free: 5.469 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.402/2.402, allocations: 438.8 MB / 0.6827 GB, free: 13.57 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.Plants.Cooling.Controls.Validation.TankStatus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|tanSta.TTan.[0-9,]+.|tanSta.THig|tanSta.TLow|tanSta.y.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus") translateModel(Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|tanSta.TTan.[0-9,]+.|tanSta.THig|tanSta.TLow|tanSta.y.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 0.8386 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.606e-05/1.726e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus): time 0.00265/0.002667, allocations: 2.275 MB / 0.8408 GB, free: 11.87 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001855/0.004522, allocations: 1.425 MB / 0.8422 GB, free: 10.44 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001747/0.004696, allocations: 7.938 kB / 0.8422 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0004676/0.005164, allocations: 167.2 kB / 0.8424 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0004068/0.005571, allocations: 222.8 kB / 0.8426 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003239/0.005895, allocations: 187.4 kB / 0.8428 GB, free: 9.867 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0003884/0.006283, allocations: 442.8 kB / 0.8432 GB, free: 9.434 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001351/0.006418, allocations: 63.52 kB / 0.8433 GB, free: 9.375 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006459/0.007064, allocations: 314.8 kB / 0.8436 GB, free: 9.102 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001874/0.007252, allocations: 151.6 kB / 0.8437 GB, free: 8.953 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 3.225e-05/0.007284, allocations: 24 kB / 0.8437 GB, free: 8.93 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001489/0.007433, allocations: 75.91 kB / 0.8438 GB, free: 8.855 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 9.944e-05/0.007532, allocations: 115.6 kB / 0.8439 GB, free: 8.742 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 7.843e-05/0.007611, allocations: 95.62 kB / 0.844 GB, free: 8.648 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0003489/0.00796, allocations: 322.7 kB / 0.8443 GB, free: 8.332 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.007962, allocations: 8 kB / 0.8443 GB, free: 8.324 MB / 0.8073 GB Notification: Performance of FrontEnd: time 5.91e-07/0.007963, allocations: 0 / 0.8443 GB, free: 8.324 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.007969, allocations: 4 kB / 0.8443 GB, free: 8.32 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0005725/0.008541, allocations: 0.6112 MB / 0.8449 GB, free: 7.684 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.905e-05/0.00857, allocations: 8.625 kB / 0.8449 GB, free: 7.676 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.02e-05/0.008621, allocations: 36.91 kB / 0.845 GB, free: 7.641 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000285/0.008906, allocations: 311.7 kB / 0.8453 GB, free: 7.309 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.153e-05/0.008927, allocations: 8.375 kB / 0.8453 GB, free: 7.301 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.784e-05/0.008945, allocations: 20.38 kB / 0.8453 GB, free: 7.281 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001799/0.009125, allocations: 173.9 kB / 0.8455 GB, free: 7.086 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.447e-06/0.009134, allocations: 3.938 kB / 0.8455 GB, free: 7.082 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.009148, allocations: 11.98 kB / 0.8455 GB, free: 7.07 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.009153, allocations: 0 / 0.8455 GB, free: 7.07 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.695e-05/0.00921, allocations: 41.52 kB / 0.8455 GB, free: 7.027 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005068/0.009716, allocations: 496.6 kB / 0.846 GB, free: 6.516 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001358/0.009852, allocations: 178.6 kB / 0.8462 GB, free: 6.32 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.529e-05/0.009887, allocations: 29.73 kB / 0.8462 GB, free: 6.285 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.34e-05/0.009901, allocations: 4 kB / 0.8462 GB, free: 6.281 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000114/0.01001, allocations: 103.9 kB / 0.8463 GB, free: 6.16 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=12): time 1.093e-06/0.01002, allocations: 0 / 0.8463 GB, free: 6.16 MB / 0.8073 GB Notification: Performance of matching and sorting (n=12): time 0.0001594/0.01018, allocations: 123.2 kB / 0.8464 GB, free: 6.031 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.957e-05/0.01021, allocations: 106.8 kB / 0.8465 GB, free: 5.902 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002568/0.01047, allocations: 398.2 kB / 0.8469 GB, free: 5.5 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.249e-05/0.01049, allocations: 37.64 kB / 0.8469 GB, free: 5.457 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 7.383e-05/0.01057, allocations: 161.4 kB / 0.8471 GB, free: 5.297 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.586e-05/0.01059, allocations: 39.72 kB / 0.8471 GB, free: 5.258 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.056e-05/0.01066, allocations: 73.61 kB / 0.8472 GB, free: 5.18 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.688e-05/0.01075, allocations: 354.7 kB / 0.8475 GB, free: 4.824 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.247e-05/0.01079, allocations: 30.75 kB / 0.8476 GB, free: 4.793 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.418e-05/0.01089, allocations: 172.5 kB / 0.8477 GB, free: 4.586 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001068/0.01099, allocations: 111.3 kB / 0.8478 GB, free: 4.461 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.011, allocations: 0 / 0.8478 GB, free: 4.461 MB / 0.8073 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0001669/0.01116, allocations: 169.7 kB / 0.848 GB, free: 4.289 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.01118, allocations: 8 kB / 0.848 GB, free: 4.281 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.01118, allocations: 3.938 kB / 0.848 GB, free: 4.277 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.01119, allocations: 4 kB / 0.848 GB, free: 4.273 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001149/0.01131, allocations: 51.91 kB / 0.8481 GB, free: 4.223 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.01131, allocations: 4 kB / 0.8481 GB, free: 4.219 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.591e-05/0.0114, allocations: 32.02 kB / 0.8481 GB, free: 4.188 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.073e-05/0.01142, allocations: 12 kB / 0.8481 GB, free: 4.176 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.TTanBot.tab.nextTimeEvent,$whenCondition2,$PRE.TTanTop.tab.nextTimeEvent,$whenCondition1,tanSta.gre.y,TTanBot.tab.nextTimeEventScaled,$PRE.TTanBot.tab.nextTimeEventScaled,TTanBot.tab.nextTimeEvent,tanSta.hysEmp.y,$PRE.tanSta.hysEmp.y,TTanTop.tab.nextTimeEventScaled,$PRE.TTanTop.tab.nextTimeEventScaled,TTanTop.tab.nextTimeEvent,tanSta.hysCha.y,$PRE.tanSta.hysCha.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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 9.079e-05/0.01151, allocations: 138.5 kB / 0.8482 GB, free: 4.027 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.795e-05/0.01154, allocations: 23.97 kB / 0.8483 GB, free: 4.004 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001351/0.01167, allocations: 121 kB / 0.8484 GB, free: 3.879 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.01168, allocations: 0 / 0.8484 GB, free: 3.879 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.01168, allocations: 0 / 0.8484 GB, free: 3.879 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.01168, allocations: 4 kB / 0.8484 GB, free: 3.875 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001357/0.01182, allocations: 161.7 kB / 0.8485 GB, free: 3.699 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.01182, allocations: 0 / 0.8485 GB, free: 3.699 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.956e-05/0.01185, allocations: 11.98 kB / 0.8485 GB, free: 3.688 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.085e-06/0.01185, allocations: 4 kB / 0.8485 GB, free: 3.684 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.123e-06/0.01186, allocations: 0 / 0.8485 GB, free: 3.684 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.01186, allocations: 0 / 0.8485 GB, free: 3.684 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.01186, allocations: 3.938 kB / 0.8485 GB, free: 3.68 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001116/0.01197, allocations: 145.7 kB / 0.8487 GB, free: 3.516 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.734e-05/0.01201, allocations: 40.2 kB / 0.8487 GB, free: 3.477 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.836e-05/0.01204, allocations: 7.984 kB / 0.8487 GB, free: 3.469 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.121e-05/0.01209, allocations: 16 kB / 0.8487 GB, free: 3.453 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.369e-05/0.01213, allocations: 23.89 kB / 0.8488 GB, free: 3.43 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.879e-06/0.01214, allocations: 8 kB / 0.8488 GB, free: 3.422 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0001165/0.01226, allocations: 168.6 kB / 0.8489 GB, free: 3.254 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7.1e-08/0.01226, allocations: 0 / 0.8489 GB, free: 3.254 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001799/0.01244, allocations: 67.89 kB / 0.849 GB, free: 3.188 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,tanSta.hysEmp.y,TTanBot.tab.nextTimeEvent,TTanBot.tab.nextTimeEventScaled,$whenCondition1,tanSta.hysCha.y,TTanTop.tab.nextTimeEvent,TTanTop.tab.nextTimeEventScaled) * Number of discrete states: 6 (tanSta.hysCha.y,TTanTop.tab.nextTimeEvent,TTanTop.tab.nextTimeEventScaled,tanSta.hysEmp.y,TTanBot.tab.nextTimeEvent,TTanBot.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001028/0.01347, allocations: 0.5242 MB / 0.8495 GB, free: 2.895 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001499/0.01362, allocations: 112.6 kB / 0.8496 GB, free: 2.785 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.111e-06/0.01362, allocations: 4 kB / 0.8496 GB, free: 2.781 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.893e-05/0.01367, allocations: 36.78 kB / 0.8497 GB, free: 2.742 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002461/0.01392, allocations: 101.9 kB / 0.8498 GB, free: 2.648 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006626/0.01458, allocations: 0.5538 MB / 0.8503 GB, free: 2.059 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.634e-05/0.01464, allocations: 108.8 kB / 0.8504 GB, free: 1.934 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 8.33e-05/0.01472, allocations: 47.25 kB / 0.8504 GB, free: 1.887 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001531/0.01488, allocations: 119.3 kB / 0.8506 GB, free: 1.77 MB / 0.8073 GB Notification: Performance of SimCode: time 6.92e-07/0.01488, allocations: 0 / 0.8506 GB, free: 1.77 MB / 0.8073 GB Notification: Performance of Templates: time 0.007029/0.0219, allocations: 5.467 MB / 0.8559 GB, free: 12.41 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe ; mkfifo Buildings_latest_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe >> ../files/Buildings_latest_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.sim & ./Buildings_latest_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_DHC_Plants_Cooling_Controls_Validation_TankStatus.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: 5.27265817578882]