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.001292/0.001292, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001794/0.003086, allocations: 435.8 kB / 10.33 MB, free: 368 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.00073/0.00073, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009716/0.001702, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9306/0.9306, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09429/1.025, allocations: 53.66 MB / 243.2 MB, free: 15.6 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.401/2.401, allocations: 446.7 MB / 0.6745 GB, free: 6.219 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2678/2.669, allocations: 145.9 MB / 0.817 GB, free: 4.211 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.693e-06/1.693e-06, allocations: 0 / 0.8183 GB, free: 2.914 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.345e-05/1.514e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.91 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus): time 0.002803/0.002818, allocations: 2.288 MB / 0.8205 GB, free: 0.6016 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001939/0.004758, allocations: 1.434 MB / 0.8219 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001094/0.004867, allocations: 7.938 kB / 0.8219 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0002494/0.005117, allocations: 163.2 kB / 0.8221 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0003126/0.005429, allocations: 234.8 kB / 0.8223 GB, free: 14.76 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002674/0.005697, allocations: 187.4 kB / 0.8225 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0003568/0.006053, allocations: 422.8 kB / 0.8229 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.006165, allocations: 63.52 kB / 0.823 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000769/0.006934, allocations: 375 kB / 0.8233 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001585/0.007093, allocations: 155.6 kB / 0.8235 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 3.15e-05/0.007124, allocations: 24 kB / 0.8235 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001257/0.00725, allocations: 79.84 kB / 0.8236 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 8.308e-05/0.007333, allocations: 95.72 kB / 0.8237 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 7.819e-05/0.007411, allocations: 79.69 kB / 0.8237 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0003723/0.007783, allocations: 302.8 kB / 0.824 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.459e-05/0.007798, allocations: 0 / 0.824 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of FrontEnd: time 9.12e-07/0.007799, allocations: 0 / 0.824 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.583e-05/0.007815, allocations: 0 / 0.824 GB, free: 13.04 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.0008229/0.008637, allocations: 0.6889 MB / 0.8247 GB, free: 12.33 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.181e-05/0.008669, allocations: 8.625 kB / 0.8247 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.738e-05/0.008737, allocations: 36.91 kB / 0.8247 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003507/0.009087, allocations: 295.8 kB / 0.825 GB, free: 11.97 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.929e-05/0.009107, allocations: 8.375 kB / 0.825 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.352e-05/0.00913, allocations: 20.31 kB / 0.825 GB, free: 11.94 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002148/0.009345, allocations: 185.9 kB / 0.8252 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.009355, allocations: 3.938 kB / 0.8252 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.009369, allocations: 12 kB / 0.8252 GB, free: 11.72 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.009377, allocations: 4 kB / 0.8252 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.784e-05/0.009454, allocations: 45.56 kB / 0.8253 GB, free: 11.67 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005824/0.01004, allocations: 492.7 kB / 0.8258 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001634/0.0102, allocations: 178.6 kB / 0.8259 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.938e-05/0.01024, allocations: 29.7 kB / 0.8259 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.237e-05/0.01025, allocations: 0 / 0.8259 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000143/0.0104, allocations: 107.8 kB / 0.8261 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=12): time 1.233e-06/0.0104, allocations: 0 / 0.8261 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of matching and sorting (n=12): time 0.0002032/0.0106, allocations: 115.2 kB / 0.8262 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.749e-05/0.01064, allocations: 81.11 kB / 0.8262 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003258/0.01096, allocations: 402 kB / 0.8266 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.192e-05/0.01098, allocations: 33.7 kB / 0.8267 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 9.618e-05/0.01108, allocations: 161.5 kB / 0.8268 GB, free: 9.98 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.599e-05/0.01112, allocations: 43.7 kB / 0.8269 GB, free: 9.938 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.5e-05/0.0112, allocations: 73.61 kB / 0.8269 GB, free: 9.859 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.01132, allocations: 354.8 kB / 0.8273 GB, free: 9.504 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.07e-05/0.01137, allocations: 34.73 kB / 0.8273 GB, free: 9.469 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001132/0.01148, allocations: 164.5 kB / 0.8274 GB, free: 9.27 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000125/0.0116, allocations: 111.5 kB / 0.8276 GB, free: 9.145 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.01161, allocations: 4 kB / 0.8276 GB, free: 9.141 MB / 0.8073 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0002125/0.01182, allocations: 170.3 kB / 0.8277 GB, free: 8.969 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.01183, allocations: 4 kB / 0.8277 GB, free: 8.965 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.01184, allocations: 3.984 kB / 0.8277 GB, free: 8.961 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.01185, allocations: 7.984 kB / 0.8277 GB, free: 8.953 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001553/0.01201, allocations: 59.89 kB / 0.8278 GB, free: 8.895 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.179e-06/0.01201, allocations: 4 kB / 0.8278 GB, free: 8.891 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001099/0.01212, allocations: 27.88 kB / 0.8278 GB, free: 8.863 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.86e-05/0.01214, allocations: 8 kB / 0.8278 GB, free: 8.855 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,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 0.000103/0.01224, allocations: 142.7 kB / 0.828 GB, free: 8.707 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.495e-05/0.01228, allocations: 24.48 kB / 0.828 GB, free: 8.684 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002091/0.01249, allocations: 117 kB / 0.8281 GB, free: 8.559 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.01249, allocations: 4 kB / 0.8281 GB, free: 8.555 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.01249, allocations: 0 / 0.8281 GB, free: 8.555 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.0125, allocations: 3.984 kB / 0.8281 GB, free: 8.551 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001556/0.01265, allocations: 161.7 kB / 0.8283 GB, free: 8.375 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.01265, allocations: 0 / 0.8283 GB, free: 8.375 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.954e-05/0.01269, allocations: 19.94 kB / 0.8283 GB, free: 8.355 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.566e-05/0.01274, allocations: 39.69 kB / 0.8283 GB, free: 8.316 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.01274, allocations: 4 kB / 0.8283 GB, free: 8.312 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.01275, allocations: 8 kB / 0.8283 GB, free: 8.305 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.01275, allocations: 3.938 kB / 0.8283 GB, free: 8.301 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.01276, allocations: 0 / 0.8283 GB, free: 8.301 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000134/0.01289, allocations: 134.4 kB / 0.8285 GB, free: 8.145 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.467e-05/0.01292, allocations: 4 kB / 0.8285 GB, free: 8.141 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.897e-05/0.01299, allocations: 15.98 kB / 0.8285 GB, free: 8.125 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.179e-05/0.01305, allocations: 27.84 kB / 0.8285 GB, free: 8.098 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.114e-05/0.01306, allocations: 7.984 kB / 0.8285 GB, free: 8.09 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0001485/0.01321, allocations: 164.7 kB / 0.8287 GB, free: 7.93 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.01321, allocations: 0 / 0.8287 GB, free: 7.93 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002376/0.01344, allocations: 67.88 kB / 0.8287 GB, free: 7.863 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.001454/0.0149, allocations: 0.5623 MB / 0.8293 GB, free: 7.574 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001725/0.01507, allocations: 105.3 kB / 0.8294 GB, free: 7.469 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.19e-05/0.01508, allocations: 8.188 kB / 0.8294 GB, free: 7.461 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 5.551e-05/0.01514, allocations: 40.78 kB / 0.8294 GB, free: 7.418 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000299/0.01544, allocations: 132.9 kB / 0.8296 GB, free: 7.305 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001739/0.01718, allocations: 0.5539 MB / 0.8301 GB, free: 6.711 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.48e-05/0.01725, allocations: 116.4 kB / 0.8302 GB, free: 6.578 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0001058/0.01736, allocations: 58.92 kB / 0.8303 GB, free: 6.52 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001731/0.01753, allocations: 123.2 kB / 0.8304 GB, free: 6.398 MB / 0.8073 GB Notification: Performance of SimCode: time 4.91e-07/0.01753, allocations: 0 / 0.8304 GB, free: 6.398 MB / 0.8073 GB Notification: Performance of Templates: time 0.008795/0.02632, allocations: 5.587 MB / 0.8358 GB, free: 0.9102 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 -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus/Buildings_latest_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: 5.30068538710475]