Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.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.001313/0.001313, allocations: 114.8 kB / 18.89 MB, free: 2.898 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.00143/0.00143, allocations: 200.9 kB / 22.17 MB, free: 5.207 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.442/1.442, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.822/2.822, allocations: 476.7 MB / 0.7645 GB, free: 10.06 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.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_11_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.1.|tanSta.TTan.2.|tanSta.THig|tanSta.TLow|tanSta.y.1.|tanSta.y.2.",fileNamePrefix="Buildings_11_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00199/0.00199, allocations: 71.89 kB / 1.109 GB, free: 6.523 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7886/0.7906, allocations: 168.7 MB / 1.274 GB, free: 4.535 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus): time 0.003859/0.7945, allocations: 2.268 MB / 1.276 GB, free: 2.258 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002205/0.7967, allocations: 1.309 MB / 1.278 GB, free: 0.9414 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001376/0.7968, allocations: 7.938 kB / 1.278 GB, free: 0.9336 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0004524/0.7973, allocations: 171.3 kB / 1.278 GB, free: 0.7656 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003756/0.7976, allocations: 175.2 kB / 1.278 GB, free: 0.5938 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005196/0.7982, allocations: 248.9 kB / 1.278 GB, free: 364 kB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0004763/0.7986, allocations: 410.9 kB / 1.279 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001662/0.7988, allocations: 57.28 kB / 1.279 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002573/0.7991, allocations: 187.3 kB / 1.279 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003006/0.7994, allocations: 187.2 kB / 1.279 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.532e-05/0.7994, allocations: 24 kB / 1.279 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001518/0.7995, allocations: 83.91 kB / 1.279 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001412/0.7997, allocations: 111.6 kB / 1.279 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001702/0.7999, allocations: 167 kB / 1.279 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006015/0.8005, allocations: 496.6 kB / 1.28 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.8005, allocations: 0 / 1.28 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.112e-06/0.8005, allocations: 0 / 1.28 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.183e-05/0.8005, allocations: 0 / 1.28 GB, free: 14.67 MB / 0.9825 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.001205/0.8017, allocations: 0.7232 MB / 1.28 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.8017, allocations: 8.031 kB / 1.28 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.052e-05/0.8018, allocations: 48.66 kB / 1.281 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006553/0.8025, allocations: 422.5 kB / 1.281 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.47e-05/0.8025, allocations: 12.38 kB / 1.281 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.431e-05/0.8025, allocations: 19.94 kB / 1.281 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003502/0.8029, allocations: 180.1 kB / 1.281 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.8029, allocations: 0 / 1.281 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.916e-05/0.8029, allocations: 7.984 kB / 1.281 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.272e-05/0.8029, allocations: 11.92 kB / 1.281 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002751/0.8032, allocations: 87.89 kB / 1.281 GB, free: 13.06 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001186/0.8044, allocations: 0.7894 MB / 1.282 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003275/0.8047, allocations: 129.4 kB / 1.282 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001127/0.8048, allocations: 49.69 kB / 1.282 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.409e-05/0.8049, allocations: 0 / 1.282 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002615/0.8051, allocations: 133 kB / 1.282 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=12): time 1.122e-06/0.8051, allocations: 0 / 1.282 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12): time 0.0005366/0.8057, allocations: 213.3 kB / 1.282 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.648e-05/0.8057, allocations: 114.8 kB / 1.283 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007067/0.8064, allocations: 0.5721 MB / 1.283 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.272e-05/0.8065, allocations: 33.7 kB / 1.283 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001703/0.8066, allocations: 192.6 kB / 1.283 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.063e-05/0.8067, allocations: 39.72 kB / 1.283 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001206/0.8068, allocations: 81.64 kB / 1.283 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001952/0.807, allocations: 358.7 kB / 1.284 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001995/0.8072, allocations: 104 kB / 1.284 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002582/0.8075, allocations: 165.8 kB / 1.284 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003307/0.8078, allocations: 190.5 kB / 1.284 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.8078, allocations: 4.5 kB / 1.284 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005684/0.8084, allocations: 337.2 kB / 1.285 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.8084, allocations: 7.984 kB / 1.285 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.8084, allocations: 8.094 kB / 1.285 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.8084, allocations: 0 / 1.285 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001999/0.8086, allocations: 47.92 kB / 1.285 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.976e-06/0.8086, allocations: 4.109 kB / 1.285 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002327/0.8088, allocations: 43.8 kB / 1.285 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.664e-05/0.8089, allocations: 15.98 kB / 1.285 GB, free: 9.27 MB / 0.9825 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.0002056/0.8091, allocations: 195.4 kB / 1.285 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.911e-05/0.8091, allocations: 43.72 kB / 1.285 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004061/0.8096, allocations: 192.9 kB / 1.285 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.8096, allocations: 0 / 1.285 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.8096, allocations: 0 / 1.285 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/0.8096, allocations: 4 kB / 1.285 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003242/0.8099, allocations: 337.3 kB / 1.285 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.8099, allocations: 3.938 kB / 1.285 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.339e-05/0.8099, allocations: 4 kB / 1.285 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.778e-06/0.8099, allocations: 7.984 kB / 1.285 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.8099, allocations: 8 kB / 1.285 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.8099, allocations: 4 kB / 1.285 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.8099, allocations: 3.938 kB / 1.285 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003568/0.8103, allocations: 209.6 kB / 1.286 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001259/0.8104, allocations: 116.9 kB / 1.286 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.957e-05/0.8105, allocations: 11.94 kB / 1.286 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001293/0.8106, allocations: 23.92 kB / 1.286 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.217e-05/0.8107, allocations: 24 kB / 1.286 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.641e-05/0.8107, allocations: 11.98 kB / 1.286 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004015/0.8111, allocations: 355.1 kB / 1.286 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.8111, allocations: 0 / 1.286 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003092/0.8114, allocations: 67.89 kB / 1.286 GB, free: 7.574 MB / 0.9825 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 (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.001532/0.8129, allocations: 428.5 kB / 1.287 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004214/0.8134, allocations: 190.5 kB / 1.287 GB, free: 7.133 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.8134, allocations: 3.938 kB / 1.287 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001489/0.8135, allocations: 55.91 kB / 1.287 GB, free: 7.074 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004997/0.814, allocations: 99.03 kB / 1.287 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00104/0.8151, allocations: 0.6187 MB / 1.288 GB, free: 6.34 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004735/0.8155, allocations: 0.8107 MB / 1.288 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001284/0.8157, allocations: 50.94 kB / 1.288 GB, free: 5.449 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.847e-05/0.8158, allocations: 39.42 kB / 1.288 GB, free: 5.41 MB / 0.9825 GB Notification: Performance of SimCode: time 3.2e-07/0.8158, allocations: 0 / 1.288 GB, free: 5.41 MB / 0.9825 GB Notification: Performance of Templates: time 0.01048/0.8262, allocations: 4.83 MB / 1.293 GB, free: 0.6211 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.makefile [Timeout 300] (rm -f Buildings_11_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe ; mkfifo Buildings_11_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe ; head -c 1048576 < Buildings_11_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe >> ../files/Buildings_11_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.sim & ./Buildings_11_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_DHC_Plants_Cooling_Controls_Validation_TankStatus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.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: 8.634402617346495]