Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.TankStatus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001334/0.001334, allocations: 111.3 kB / 17.08 MB, free: 6.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001406/0.001406, allocations: 193.2 kB / 20.03 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.443/1.443, allocations: 222.9 MB / 245.7 MB, free: 4.23 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.703/2.703, allocations: 437.1 MB / 0.7177 GB, free: 4.512 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.TankStatus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|tanSta.TTan.1.|tanSta.TTan.2.|tanSta.THig|tanSta.TLow|tanSta.y.1.|tanSta.y.2.",fileNamePrefix="Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.TankStatus") translateModel(Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.TankStatus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|tanSta.TTan.1.|tanSta.TTan.2.|tanSta.THig|tanSta.TLow|tanSta.y.1.|tanSta.y.2.",fileNamePrefix="Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.TankStatus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001976/0.001976, allocations: 59.91 kB / 1.028 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3327/0.3346, allocations: 151.6 MB / 1.176 GB, free: 5.914 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.TankStatus): time 0.00414/0.3388, allocations: 2.257 MB / 1.178 GB, free: 3.633 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002371/0.3412, allocations: 1.263 MB / 1.179 GB, free: 2.359 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001945/0.3414, allocations: 7.938 kB / 1.179 GB, free: 2.352 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0005261/0.342, allocations: 167.3 kB / 1.179 GB, free: 2.188 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0004176/0.3424, allocations: 171.2 kB / 1.18 GB, free: 2.02 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006127/0.3431, allocations: 251 kB / 1.18 GB, free: 1.777 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0005127/0.3436, allocations: 403 kB / 1.18 GB, free: 1.383 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002409/0.3438, allocations: 117.2 kB / 1.18 GB, free: 1.266 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002393/0.3441, allocations: 171.3 kB / 1.181 GB, free: 1.098 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002471/0.3443, allocations: 187.2 kB / 1.181 GB, free: 0.9141 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 4.791e-05/0.3444, allocations: 24 kB / 1.181 GB, free: 0.8906 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001897/0.3446, allocations: 75.97 kB / 1.181 GB, free: 0.8164 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001491/0.3447, allocations: 115.6 kB / 1.181 GB, free: 0.7031 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001652/0.3449, allocations: 155 kB / 1.181 GB, free: 0.5508 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000635/0.3456, allocations: 497.9 kB / 1.182 GB, free: 64 kB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3456, allocations: 0 / 1.182 GB, free: 64 kB / 0.92 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3456, allocations: 4 kB / 1.182 GB, free: 60 kB / 0.92 GB Notification: Performance of Transformations before backend: time 8.095e-06/0.3456, allocations: 3.938 kB / 1.182 GB, free: 56 kB / 0.92 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.0013/0.3469, allocations: 0.7233 MB / 1.182 GB, free: 15.28 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.347, allocations: 15.98 kB / 1.182 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.825e-05/0.3471, allocations: 44.66 kB / 1.182 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006184/0.3477, allocations: 414.6 kB / 1.183 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.887e-05/0.3477, allocations: 12.38 kB / 1.183 GB, free: 14.76 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.464e-05/0.3478, allocations: 19.88 kB / 1.183 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003866/0.3482, allocations: 189.1 kB / 1.183 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.3482, allocations: 0 / 1.183 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.883e-05/0.3482, allocations: 0 / 1.183 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/0.3482, allocations: 4 kB / 1.183 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002428/0.3485, allocations: 91.89 kB / 1.183 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001277/0.3497, allocations: 0.7933 MB / 1.184 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003629/0.3501, allocations: 137.4 kB / 1.184 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001153/0.3502, allocations: 49.7 kB / 1.184 GB, free: 13.39 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.843e-05/0.3503, allocations: 0 / 1.184 GB, free: 13.39 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002842/0.3506, allocations: 129 kB / 1.184 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=12): time 1.513e-06/0.3506, allocations: 4 kB / 1.184 GB, free: 13.24 MB / 0.9356 GB Notification: Performance of matching and sorting (n=12): time 0.0005714/0.3512, allocations: 221.3 kB / 1.184 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.396e-05/0.3513, allocations: 106.8 kB / 1.184 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000732/0.352, allocations: 0.5682 MB / 1.185 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.283e-05/0.352, allocations: 33.7 kB / 1.185 GB, free: 12.28 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001913/0.3522, allocations: 204.5 kB / 1.185 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.445e-05/0.3523, allocations: 35.72 kB / 1.185 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001308/0.3524, allocations: 85.58 kB / 1.185 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002169/0.3527, allocations: 354.8 kB / 1.186 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002133/0.3529, allocations: 107.9 kB / 1.186 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002722/0.3532, allocations: 166.7 kB / 1.186 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000337/0.3535, allocations: 189.5 kB / 1.186 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.3535, allocations: 0 / 1.186 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006154/0.3541, allocations: 351.2 kB / 1.186 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.3542, allocations: 4 kB / 1.186 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.3542, allocations: 8.094 kB / 1.186 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.3542, allocations: 0 / 1.186 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001982/0.3544, allocations: 47.91 kB / 1.186 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.808e-06/0.3544, allocations: 4.5 kB / 1.186 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002127/0.3546, allocations: 39.86 kB / 1.186 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.877e-05/0.3547, allocations: 15.98 kB / 1.187 GB, free: 10.64 MB / 0.9356 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 0.0002248/0.3549, allocations: 191.4 kB / 1.187 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.14e-05/0.355, allocations: 55.7 kB / 1.187 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.992e-05/0.3551, allocations: 43.31 kB / 1.187 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/0.3551, allocations: 4 kB / 1.187 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.3551, allocations: 0 / 1.187 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.3551, allocations: 0 / 1.187 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003645/0.3555, allocations: 329.4 kB / 1.187 GB, free: 9.969 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.3555, allocations: 0 / 1.187 GB, free: 9.969 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.456e-05/0.3555, allocations: 8 kB / 1.187 GB, free: 9.961 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.3555, allocations: 0 / 1.187 GB, free: 9.961 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.288e-05/0.3556, allocations: 11.98 kB / 1.187 GB, free: 9.949 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.3556, allocations: 4 kB / 1.187 GB, free: 9.945 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3556, allocations: 0 / 1.187 GB, free: 9.945 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004255/0.356, allocations: 221.4 kB / 1.187 GB, free: 9.707 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001183/0.3561, allocations: 116.9 kB / 1.187 GB, free: 9.574 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.407e-05/0.3562, allocations: 11.98 kB / 1.187 GB, free: 9.562 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001212/0.3563, allocations: 11.98 kB / 1.187 GB, free: 9.551 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.224e-05/0.3564, allocations: 23.97 kB / 1.187 GB, free: 9.527 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.418e-05/0.3564, allocations: 4 kB / 1.187 GB, free: 9.523 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0004372/0.3569, allocations: 363.1 kB / 1.188 GB, free: 9.172 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3569, allocations: 0 / 1.188 GB, free: 9.172 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003272/0.3572, allocations: 75.83 kB / 1.188 GB, free: 9.098 MB / 0.9356 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 (TTanTop.tab.nextTimeEventScaled,tanSta.hysCha.y,TTanTop.tab.nextTimeEvent,TTanBot.tab.nextTimeEventScaled,tanSta.hysEmp.y,TTanBot.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.001585/0.3588, allocations: 442.2 kB / 1.188 GB, free: 8.832 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004526/0.3593, allocations: 195.9 kB / 1.189 GB, free: 8.641 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.125e-06/0.3593, allocations: 0 / 1.189 GB, free: 8.641 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001443/0.3594, allocations: 55.92 kB / 1.189 GB, free: 8.586 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000515/0.36, allocations: 96.28 kB / 1.189 GB, free: 8.504 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001104/0.3611, allocations: 0.6594 MB / 1.189 GB, free: 7.805 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004615/0.3616, allocations: 0.8067 MB / 1.19 GB, free: 6.973 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.097e-05/0.3617, allocations: 39.42 kB / 1.19 GB, free: 6.934 MB / 0.9356 GB Notification: Performance of SimCode: time 3.31e-07/0.3617, allocations: 0 / 1.19 GB, free: 6.934 MB / 0.9356 GB Notification: Performance of Templates: time 0.009175/0.3708, allocations: 5.097 MB / 1.195 GB, free: 1.855 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.TankStatus.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe ; mkfifo Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe ; head -c 1048576 < Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe >> ../files/Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.TankStatus.sim & ./Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.TankStatus -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.TankStatus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Experimental_DHC_Plants_Cooling_Controls_Validation_TankStatus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.TankStatus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.57266923005227]