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.001208/0.001208, allocations: 88.22 kB / 19.65 MB, free: 272 kB / 13.93 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.001525/0.001525, allocations: 173 kB / 23.02 MB, free: 1.543 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.9988/0.9988, allocations: 177.1 MB / 203.4 MB, free: 5.625 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.034/2.034, allocations: 429.5 MB / 0.6733 GB, free: 4.027 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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.132e-06/1.132e-06, allocations: 0 / 0.8782 GB, free: 5.18 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.267e-05/2.38e-05, allocations: 5.125 kB / 0.8782 GB, free: 5.176 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus): time 0.002648/0.002672, allocations: 2.278 MB / 0.8804 GB, free: 2.906 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001641/0.004313, allocations: 1.388 MB / 0.8817 GB, free: 1.516 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001338/0.004447, allocations: 7.938 kB / 0.8818 GB, free: 1.508 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.000355/0.004802, allocations: 176.3 kB / 0.8819 GB, free: 1.336 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.0003441/0.005146, allocations: 228.5 kB / 0.8821 GB, free: 1.113 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002622/0.005408, allocations: 179.5 kB / 0.8823 GB, free: 0.9375 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.00034/0.005748, allocations: 446.6 kB / 0.8827 GB, free: 0.5 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001436/0.005892, allocations: 69.97 kB / 0.8828 GB, free: 440 kB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001958/0.006087, allocations: 237.1 kB / 0.883 GB, free: 204 kB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001617/0.006249, allocations: 159.6 kB / 0.8832 GB, free: 44 kB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 3.352e-05/0.006283, allocations: 28 kB / 0.8832 GB, free: 16 kB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001279/0.006411, allocations: 79.95 kB / 0.8833 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 8.828e-05/0.006499, allocations: 113 kB / 0.8834 GB, free: 15.83 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 7.601e-05/0.006575, allocations: 99.62 kB / 0.8835 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002971/0.006872, allocations: 322.8 kB / 0.8838 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.006874, allocations: 0.7188 kB / 0.8838 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of FrontEnd: time 9.51e-07/0.006875, allocations: 0 / 0.8838 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.00688, allocations: 1.594 kB / 0.8838 GB, free: 15.41 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.0006597/0.007539, allocations: 0.7594 MB / 0.8845 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.305e-05/0.007572, allocations: 12.03 kB / 0.8845 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.607e-05/0.007648, allocations: 58.67 kB / 0.8846 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003545/0.008003, allocations: 338.7 kB / 0.8849 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.283e-05/0.008026, allocations: 16.36 kB / 0.8849 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.34e-05/0.008049, allocations: 16.38 kB / 0.885 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000225/0.008274, allocations: 191.3 kB / 0.8851 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.008284, allocations: 0 / 0.8851 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.53e-05/0.0083, allocations: 8 kB / 0.8852 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.437e-06/0.008309, allocations: 4 kB / 0.8852 GB, free: 13.94 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.465e-05/0.008394, allocations: 47.89 kB / 0.8852 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006649/0.009058, allocations: 0.7921 MB / 0.886 GB, free: 13.06 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001551/0.009214, allocations: 114.4 kB / 0.8861 GB, free: 12.92 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.794e-05/0.009262, allocations: 43.36 kB / 0.8861 GB, free: 12.87 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.487e-05/0.009276, allocations: 3.938 kB / 0.8861 GB, free: 12.87 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001331/0.009409, allocations: 124.3 kB / 0.8862 GB, free: 12.72 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=12): time 9.11e-07/0.00941, allocations: 0 / 0.8862 GB, free: 12.72 MB / 0.8073 GB Notification: Performance of matching and sorting (n=12): time 0.0002753/0.009686, allocations: 177.3 kB / 0.8864 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.139e-05/0.009727, allocations: 106.8 kB / 0.8865 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003468/0.01007, allocations: 494.6 kB / 0.887 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.089e-05/0.01009, allocations: 33.81 kB / 0.887 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001334/0.01023, allocations: 267.2 kB / 0.8873 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.802e-05/0.01026, allocations: 39.72 kB / 0.8873 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.929e-05/0.01034, allocations: 83.3 kB / 0.8874 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.01046, allocations: 0.5274 MB / 0.8879 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.053e-05/0.01053, allocations: 39.97 kB / 0.8879 GB, free: 10.9 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001207/0.01065, allocations: 200.3 kB / 0.8881 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001306/0.01078, allocations: 137.1 kB / 0.8883 GB, free: 10.51 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.01078, allocations: 0 / 0.8883 GB, free: 10.51 MB / 0.8073 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0002601/0.01104, allocations: 247.5 kB / 0.8885 GB, free: 10.26 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.01106, allocations: 4 kB / 0.8885 GB, free: 10.26 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.01106, allocations: 4 kB / 0.8885 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.01107, allocations: 0 / 0.8885 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/0.01119, allocations: 47.91 kB / 0.8886 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.0112, allocations: 4 kB / 0.8886 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.756e-05/0.0113, allocations: 35.88 kB / 0.8886 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.989e-05/0.01132, allocations: 11.98 kB / 0.8886 GB, free: 10.16 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,TTanTop.tab.nextTimeEventScaled,$PRE.TTanTop.tab.nextTimeEventScaled,TTanTop.tab.nextTimeEvent,tanSta.hysCha.y,$PRE.tanSta.hysCha.y,TTanBot.tab.nextTimeEventScaled,$PRE.TTanBot.tab.nextTimeEventScaled,TTanBot.tab.nextTimeEvent,tanSta.hysEmp.y,$PRE.tanSta.hysEmp.y,tanSta.gre.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.473e-05/0.01141, allocations: 182.6 kB / 0.8888 GB, free: 9.969 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.633e-05/0.01146, allocations: 47.7 kB / 0.8888 GB, free: 9.922 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002014/0.01166, allocations: 161 kB / 0.889 GB, free: 9.754 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.01166, allocations: 4 kB / 0.889 GB, free: 9.75 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.01167, allocations: 0 / 0.889 GB, free: 9.75 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.01167, allocations: 0 / 0.889 GB, free: 9.75 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001969/0.01187, allocations: 272.4 kB / 0.8892 GB, free: 9.449 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.01187, allocations: 4 kB / 0.8892 GB, free: 9.445 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.702e-05/0.0119, allocations: 8.5 kB / 0.8893 GB, free: 9.438 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.0119, allocations: 7.938 kB / 0.8893 GB, free: 9.43 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.01191, allocations: 7.984 kB / 0.8893 GB, free: 9.422 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.01191, allocations: 4 kB / 0.8893 GB, free: 9.418 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.01191, allocations: 0 / 0.8893 GB, free: 9.418 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001851/0.0121, allocations: 211.9 kB / 0.8895 GB, free: 9.184 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.61e-05/0.01215, allocations: 47.69 kB / 0.8895 GB, free: 9.137 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.938e-05/0.01218, allocations: 11.94 kB / 0.8895 GB, free: 9.125 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.582e-05/0.01223, allocations: 15.98 kB / 0.8895 GB, free: 9.109 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.191e-05/0.01228, allocations: 23.94 kB / 0.8896 GB, free: 9.086 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.598e-06/0.01229, allocations: 12 kB / 0.8896 GB, free: 9.074 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0001947/0.01249, allocations: 299 kB / 0.8899 GB, free: 8.781 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.01249, allocations: 3.938 kB / 0.8899 GB, free: 8.777 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002058/0.01269, allocations: 75.88 kB / 0.8899 GB, free: 8.703 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.0007877/0.01348, allocations: 407.2 kB / 0.8903 GB, free: 8.441 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002038/0.01368, allocations: 132.1 kB / 0.8905 GB, free: 8.309 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.01369, allocations: 0 / 0.8905 GB, free: 8.309 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 5.971e-05/0.01375, allocations: 47.61 kB / 0.8905 GB, free: 8.258 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002837/0.01403, allocations: 98.34 kB / 0.8906 GB, free: 8.172 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007452/0.01477, allocations: 0.5685 MB / 0.8912 GB, free: 7.566 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.034e-05/0.01483, allocations: 112.6 kB / 0.8913 GB, free: 7.438 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 8.538e-05/0.01492, allocations: 51.25 kB / 0.8913 GB, free: 7.391 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.515e-05/0.01499, allocations: 36.48 kB / 0.8913 GB, free: 7.355 MB / 0.8073 GB Notification: Performance of SimCode: time 4.71e-07/0.01499, allocations: 0 / 0.8913 GB, free: 7.355 MB / 0.8073 GB Notification: Performance of Templates: time 0.006665/0.02165, allocations: 5.09 MB / 0.8963 GB, free: 2.34 MB / 0.8073 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 -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.7053070780821145]