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.001747/0.001747, allocations: 114.5 kB / 18.88 MB, free: 3.062 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.001994/0.001994, allocations: 195.5 kB / 22.17 MB, free: 5.656 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.494/1.494, allocations: 225.6 MB / 250.9 MB, free: 13.29 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.813/2.813, allocations: 476.7 MB / 0.7645 GB, free: 10.07 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.002298/0.002298, allocations: 60.14 kB / 1.109 GB, free: 6.496 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7851/0.7874, allocations: 168.7 MB / 1.274 GB, free: 4.363 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus): time 0.003844/0.7913, allocations: 2.27 MB / 1.276 GB, free: 2.086 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002286/0.7936, allocations: 1.309 MB / 1.278 GB, free: 0.7695 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001451/0.7937, allocations: 7.938 kB / 1.278 GB, free: 0.7617 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0004605/0.7942, allocations: 171.3 kB / 1.278 GB, free: 0.5938 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003887/0.7945, allocations: 171.2 kB / 1.278 GB, free: 436 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005595/0.7951, allocations: 240.6 kB / 1.278 GB, free: 196 kB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0005071/0.7956, allocations: 414.9 kB / 1.278 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001723/0.7958, allocations: 61.27 kB / 1.279 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002731/0.7961, allocations: 191.2 kB / 1.279 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002576/0.7963, allocations: 179.3 kB / 1.279 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.793e-05/0.7964, allocations: 24 kB / 1.279 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002049/0.7966, allocations: 87.89 kB / 1.279 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001604/0.7967, allocations: 111.6 kB / 1.279 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001782/0.7969, allocations: 163 kB / 1.279 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000707/0.7976, allocations: 496.6 kB / 1.28 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.7976, allocations: 0 / 1.28 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.413e-06/0.7976, allocations: 4 kB / 1.28 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.765e-06/0.7976, allocations: 0 / 1.28 GB, free: 14.5 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.001433/0.7991, allocations: 0.7232 MB / 1.28 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.7991, allocations: 8.031 kB / 1.28 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000113/0.7992, allocations: 44.66 kB / 1.281 GB, free: 13.67 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007169/0.7999, allocations: 418.6 kB / 1.281 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.201e-05/0.8, allocations: 20.38 kB / 1.281 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.459e-05/0.8, allocations: 19.94 kB / 1.281 GB, free: 13.19 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004164/0.8004, allocations: 180.1 kB / 1.281 GB, free: 13 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.8004, allocations: 0 / 1.281 GB, free: 13 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.362e-05/0.8005, allocations: 4 kB / 1.281 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.165e-05/0.8005, allocations: 7.984 kB / 1.281 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002274/0.8007, allocations: 91.83 kB / 1.281 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001321/0.802, allocations: 0.7817 MB / 1.282 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003551/0.8024, allocations: 137.4 kB / 1.282 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001216/0.8025, allocations: 45.7 kB / 1.282 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.003e-05/0.8025, allocations: 3.938 kB / 1.282 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002726/0.8028, allocations: 125.1 kB / 1.282 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=12): time 1.583e-06/0.8028, allocations: 0 / 1.282 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12): time 0.0005857/0.8034, allocations: 221.3 kB / 1.282 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.012e-05/0.8035, allocations: 106.8 kB / 1.283 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007587/0.8042, allocations: 0.576 MB / 1.283 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.006e-05/0.8043, allocations: 37.7 kB / 1.283 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001956/0.8045, allocations: 196.5 kB / 1.283 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.338e-05/0.8045, allocations: 39.72 kB / 1.283 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001209/0.8046, allocations: 77.64 kB / 1.283 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001967/0.8048, allocations: 354.7 kB / 1.284 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001988/0.805, allocations: 99.95 kB / 1.284 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002543/0.8053, allocations: 177.8 kB / 1.284 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003254/0.8056, allocations: 186.5 kB / 1.284 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.8056, allocations: 4.5 kB / 1.284 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000592/0.8062, allocations: 342.8 kB / 1.285 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.8062, allocations: 9.656 kB / 1.285 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/0.8062, allocations: 11.92 kB / 1.285 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.8062, allocations: 0 / 1.285 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002098/0.8065, allocations: 47.97 kB / 1.285 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.8065, allocations: 8.047 kB / 1.285 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000221/0.8067, allocations: 43.8 kB / 1.285 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.559e-05/0.8067, allocations: 16.09 kB / 1.285 GB, free: 9.09 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.0002202/0.8069, allocations: 195.4 kB / 1.285 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.201e-05/0.807, allocations: 39.72 kB / 1.285 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004145/0.8074, allocations: 192.9 kB / 1.285 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.8074, allocations: 0 / 1.285 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.8074, allocations: 0 / 1.285 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.8074, allocations: 4 kB / 1.285 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000337/0.8078, allocations: 337.3 kB / 1.285 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.8078, allocations: 0 / 1.285 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.837e-05/0.8078, allocations: 11.98 kB / 1.285 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.8078, allocations: 0 / 1.285 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/0.8078, allocations: 4 kB / 1.285 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.8078, allocations: 4 kB / 1.285 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.8078, allocations: 0 / 1.285 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003973/0.8082, allocations: 217.5 kB / 1.286 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001284/0.8084, allocations: 116.9 kB / 1.286 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.366e-05/0.8084, allocations: 11.94 kB / 1.286 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001357/0.8086, allocations: 19.97 kB / 1.286 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.208e-05/0.8086, allocations: 24 kB / 1.286 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.427e-05/0.8086, allocations: 4 kB / 1.286 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004365/0.8091, allocations: 359.1 kB / 1.286 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.8091, allocations: 0 / 1.286 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000336/0.8094, allocations: 71.88 kB / 1.286 GB, free: 7.406 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.001553/0.811, allocations: 432.6 kB / 1.287 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005128/0.8115, allocations: 190.2 kB / 1.287 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.8115, allocations: 0 / 1.287 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001481/0.8116, allocations: 55.91 kB / 1.287 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005922/0.8122, allocations: 107.2 kB / 1.287 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00106/0.8133, allocations: 0.6146 MB / 1.288 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004604/0.8137, allocations: 0.8107 MB / 1.288 GB, free: 5.328 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001416/0.8139, allocations: 50.94 kB / 1.288 GB, free: 5.277 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.466e-05/0.814, allocations: 43.36 kB / 1.289 GB, free: 5.234 MB / 0.9825 GB Notification: Performance of SimCode: time 5.1e-07/0.814, allocations: 0 / 1.289 GB, free: 5.234 MB / 0.9825 GB Notification: Performance of Templates: time 0.01023/0.8242, allocations: 4.828 MB / 1.293 GB, free: 460 kB / 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 cvode -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.912743235938251]