Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001139/0.001139, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00158/0.002719, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001085/0.001085, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001091/0.002176, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.9507/0.9507, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09477/1.045, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.744/1.744, allocations: 378.2 MB / 0.6076 GB, free: 7.832 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4662/2.21, allocations: 123.3 MB / 0.728 GB, free: 5.82 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/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_12_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_12_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.7293 GB, free: 4.551 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.615e-05/1.769e-05, allocations: 6.25 kB / 0.7293 GB, free: 4.543 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus): time 0.002543/0.002561, allocations: 2.292 MB / 0.7316 GB, free: 2.27 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001752/0.004313, allocations: 1.425 MB / 0.733 GB, free: 0.8516 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001523/0.004466, allocations: 7.938 kB / 0.733 GB, free: 0.8438 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0002969/0.004762, allocations: 171.6 kB / 0.7331 GB, free: 0.6797 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.000331/0.005093, allocations: 228.6 kB / 0.7333 GB, free: 468 kB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003302/0.005424, allocations: 187.4 kB / 0.7335 GB, free: 280 kB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0003868/0.00581, allocations: 427.4 kB / 0.7339 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001418/0.005952, allocations: 67.48 kB / 0.734 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006954/0.006648, allocations: 383.7 kB / 0.7344 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001744/0.006822, allocations: 147.6 kB / 0.7345 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.001e-05/0.006852, allocations: 24 kB / 0.7345 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001424/0.006994, allocations: 75.89 kB / 0.7346 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 8.204e-05/0.007077, allocations: 100.5 kB / 0.7347 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 6.888e-05/0.007145, allocations: 79.62 kB / 0.7348 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003295/0.007475, allocations: 299.7 kB / 0.735 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.138e-05/0.007486, allocations: 0 / 0.735 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of FrontEnd: time 8.72e-07/0.007487, allocations: 1.75 kB / 0.7351 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.178e-05/0.007499, allocations: 0 / 0.7351 GB, free: 14.74 MB / 0.7136 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.0006737/0.008173, allocations: 0.6812 MB / 0.7357 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.713e-05/0.0082, allocations: 12.03 kB / 0.7357 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.508e-05/0.008255, allocations: 37.39 kB / 0.7358 GB, free: 13.99 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002852/0.00854, allocations: 296.9 kB / 0.736 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.119e-05/0.008561, allocations: 16.36 kB / 0.7361 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.666e-05/0.008578, allocations: 16.94 kB / 0.7361 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001893/0.008767, allocations: 187 kB / 0.7363 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.886e-06/0.008776, allocations: 3.938 kB / 0.7363 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.008787, allocations: 4 kB / 0.7363 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.008793, allocations: 4.719 kB / 0.7363 GB, free: 13.42 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.696e-05/0.00885, allocations: 41.58 kB / 0.7363 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004967/0.009347, allocations: 498.1 kB / 0.7368 GB, free: 12.87 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000135/0.009482, allocations: 180 kB / 0.737 GB, free: 12.67 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.959e-05/0.009511, allocations: 23.47 kB / 0.737 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.251e-05/0.009524, allocations: 0 / 0.737 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001283/0.009652, allocations: 111.8 kB / 0.7371 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=12): time 1.022e-06/0.009653, allocations: 0.8438 kB / 0.7371 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12): time 0.0001607/0.009814, allocations: 115.2 kB / 0.7372 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.348e-05/0.009847, allocations: 82.39 kB / 0.7373 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002473/0.01009, allocations: 402 kB / 0.7377 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.216e-05/0.01012, allocations: 37.69 kB / 0.7377 GB, free: 11.85 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.525e-05/0.01019, allocations: 158.2 kB / 0.7378 GB, free: 11.69 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.03e-05/0.01022, allocations: 39.72 kB / 0.7379 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.635e-05/0.01029, allocations: 79.03 kB / 0.738 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.793e-05/0.01038, allocations: 354.8 kB / 0.7383 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.961e-05/0.01042, allocations: 34.75 kB / 0.7383 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.147e-05/0.0105, allocations: 160.5 kB / 0.7385 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000101/0.0106, allocations: 118.4 kB / 0.7386 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.0106, allocations: 0.5 kB / 0.7386 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0001564/0.01076, allocations: 169.9 kB / 0.7388 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.01077, allocations: 4 kB / 0.7388 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.01078, allocations: 9.188 kB / 0.7388 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.584e-06/0.01078, allocations: 0 / 0.7388 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001196/0.0109, allocations: 63.91 kB / 0.7388 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.236e-06/0.01091, allocations: 1.031 kB / 0.7388 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.303e-05/0.01099, allocations: 31.88 kB / 0.7389 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.661e-05/0.01101, allocations: 4.531 kB / 0.7389 GB, free: 10.57 MB / 0.7136 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 8.993e-05/0.0111, allocations: 140.2 kB / 0.739 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.777e-05/0.01112, allocations: 27.97 kB / 0.739 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001344/0.01126, allocations: 116.9 kB / 0.7391 GB, free: 10.28 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.01126, allocations: 5.219 kB / 0.7391 GB, free: 10.28 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.033e-06/0.01126, allocations: 0 / 0.7391 GB, free: 10.28 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.01127, allocations: 0 / 0.7391 GB, free: 10.28 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001289/0.0114, allocations: 162.3 kB / 0.7393 GB, free: 10.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.0114, allocations: 4 kB / 0.7393 GB, free: 10.1 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.971e-05/0.01143, allocations: 16.67 kB / 0.7393 GB, free: 10.08 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.492e-05/0.01146, allocations: 39.73 kB / 0.7394 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.01147, allocations: 4.75 kB / 0.7394 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.01148, allocations: 7.984 kB / 0.7394 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.01148, allocations: 4.75 kB / 0.7394 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.01148, allocations: 4 kB / 0.7394 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001023/0.01158, allocations: 131.9 kB / 0.7395 GB, free: 9.871 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.821e-05/0.01161, allocations: 8 kB / 0.7395 GB, free: 9.863 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.771e-05/0.01166, allocations: 15.98 kB / 0.7395 GB, free: 9.848 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.348e-05/0.0117, allocations: 26.33 kB / 0.7396 GB, free: 9.824 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.767e-06/0.01171, allocations: 4 kB / 0.7396 GB, free: 9.82 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001127/0.01182, allocations: 164.6 kB / 0.7397 GB, free: 9.66 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6e-08/0.01182, allocations: 0 / 0.7397 GB, free: 9.66 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001778/0.012, allocations: 71.88 kB / 0.7398 GB, free: 9.59 MB / 0.7136 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.00123/0.01323, allocations: 0.5682 MB / 0.7403 GB, free: 9.309 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001569/0.01339, allocations: 110.1 kB / 0.7404 GB, free: 9.203 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 9.939e-06/0.0134, allocations: 4 kB / 0.7404 GB, free: 9.199 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.962e-05/0.01345, allocations: 41.44 kB / 0.7405 GB, free: 9.156 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002368/0.01369, allocations: 116.2 kB / 0.7406 GB, free: 9.047 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001343/0.01503, allocations: 0.5622 MB / 0.7411 GB, free: 8.445 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.242e-05/0.0151, allocations: 114.1 kB / 0.7413 GB, free: 8.316 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 9.717e-05/0.0152, allocations: 43.25 kB / 0.7413 GB, free: 8.273 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001421/0.01534, allocations: 120.3 kB / 0.7414 GB, free: 8.156 MB / 0.7136 GB Notification: Performance of SimCode: time 8.22e-07/0.01534, allocations: 0 / 0.7414 GB, free: 8.156 MB / 0.7136 GB Notification: Performance of Templates: time 0.007472/0.02281, allocations: 5.603 MB / 0.7469 GB, free: 2.797 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.makefile [Timeout 300] (rm -f Buildings_12_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe ; mkfifo Buildings_12_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe ; head -c 1048576 < Buildings_12_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe >> ../files/Buildings_12_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.sim & ./Buildings_12_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus/Buildings_12_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.ref.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: 4.730010582134128]