Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Storage.Ice.Validation.Tank.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.001804/0.001804, allocations: 105.1 kB / 19.71 MB, free: 2.141 MB / 14.72 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.002233/0.002233, allocations: 213.7 kB / 23 MB, free: 4.961 MB / 14.72 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 1.542/1.542, allocations: 230.6 MB / 256.8 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.154/3.154, allocations: 0.49 GB / 0.7959 GB, free: 35.46 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.Fluid.Storage.Ice.Validation.Tank,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TSet.y|iceTan.T|TSou.y.1.|iceTan.SOC|iceTanUnc.SOC|iceTan.mIce|iceTan.Q_flow|iceTanUnc.Q_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.Storage.Ice.Validation.Tank") translateModel(Buildings.Fluid.Storage.Ice.Validation.Tank,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TSet.y|iceTan.T|TSou.y.1.|iceTan.SOC|iceTanUnc.SOC|iceTan.mIce|iceTan.Q_flow|iceTanUnc.Q_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.Storage.Ice.Validation.Tank") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002044/0.002044, allocations: 73.64 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3048/0.3068, allocations: 176.1 MB / 1.327 GB, free: 0.9492 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.Validation.Tank): time 0.09824/0.405, allocations: 81.47 MB / 1.407 GB, free: 15.2 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.02126/0.4263, allocations: 12.22 MB / 1.419 GB, free: 2.945 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002592/0.4289, allocations: 99.19 kB / 1.419 GB, free: 2.848 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.002754/0.4316, allocations: 0.9666 MB / 1.42 GB, free: 1.875 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.007149/0.4388, allocations: 2.485 MB / 1.422 GB, free: 15.38 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.004647/0.4434, allocations: 1.753 MB / 1.424 GB, free: 13.64 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.006996/0.4504, allocations: 4.925 MB / 1.429 GB, free: 8.703 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003114/0.4536, allocations: 1.591 MB / 1.43 GB, free: 7.062 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01124/0.4648, allocations: 4.569 MB / 1.435 GB, free: 2.504 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002443/0.4672, allocations: 1.493 MB / 1.436 GB, free: 1.004 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0003818/0.4676, allocations: 232 kB / 1.436 GB, free: 0.7773 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004478/0.4721, allocations: 2.028 MB / 1.438 GB, free: 14.75 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0006799/0.4728, allocations: 0.6694 MB / 1.439 GB, free: 14.07 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.001197/0.474, allocations: 0.9874 MB / 1.44 GB, free: 13.08 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.005634/0.4796, allocations: 4.134 MB / 1.444 GB, free: 8.934 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.4796, allocations: 4 kB / 1.444 GB, free: 8.93 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.863e-06/0.4796, allocations: 0 / 1.444 GB, free: 8.93 MB / 1.139 GB Notification: Performance of Transformations before backend: time 5.258e-05/0.4797, allocations: 0 / 1.444 GB, free: 8.93 MB / 1.139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 322 * Number of variables: 322 Notification: Performance of Generate backend data structure: time 0.005168/0.4848, allocations: 2.911 MB / 1.447 GB, free: 5.949 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.4849, allocations: 15.97 kB / 1.447 GB, free: 5.934 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004743/0.4896, allocations: 1.102 MB / 1.448 GB, free: 4.828 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003822/0.4934, allocations: 1.967 MB / 1.45 GB, free: 2.789 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003005/0.4937, allocations: 344.3 kB / 1.45 GB, free: 2.402 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002575/0.494, allocations: 136 kB / 1.45 GB, free: 2.27 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004225/0.4982, allocations: 2.248 MB / 1.452 GB, free: 15.91 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.631e-05/0.4983, allocations: 11.98 kB / 1.452 GB, free: 15.89 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001541/0.4984, allocations: 51.94 kB / 1.452 GB, free: 15.84 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.048e-05/0.4985, allocations: 39.94 kB / 1.453 GB, free: 15.8 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004614/0.5031, allocations: 2.178 MB / 1.455 GB, free: 13.61 MB / 1.154 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0118/0.5149, allocations: 6.759 MB / 1.461 GB, free: 6.742 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002892/0.5178, allocations: 1.36 MB / 1.463 GB, free: 5.367 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002106/0.5199, allocations: 1.013 MB / 1.464 GB, free: 4.348 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003234/0.5202, allocations: 84.58 kB / 1.464 GB, free: 4.266 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002782/0.523, allocations: 1.439 MB / 1.465 GB, free: 2.762 MB / 1.154 GB Notification: Performance of pre-optimization done (n=94): time 3.687e-06/0.523, allocations: 8 kB / 1.465 GB, free: 2.754 MB / 1.154 GB Notification: Performance of matching and sorting (n=94): time 0.008535/0.5315, allocations: 3.363 MB / 1.468 GB, free: 15.36 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.59e-05/0.5316, allocations: 127.8 kB / 1.468 GB, free: 15.21 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003191/0.5348, allocations: 1.971 MB / 1.47 GB, free: 13.2 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0002593/0.5351, allocations: 61.64 kB / 1.47 GB, free: 13.13 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.001036/0.5361, allocations: 0.9581 MB / 1.471 GB, free: 12.16 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004177/0.5365, allocations: 305.4 kB / 1.472 GB, free: 11.86 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005091/0.537, allocations: 262.8 kB / 1.472 GB, free: 11.6 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001817/0.5372, allocations: 349.9 kB / 1.472 GB, free: 11.25 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002178/0.5394, allocations: 0.9679 MB / 1.473 GB, free: 10.27 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002515/0.5419, allocations: 1.512 MB / 1.475 GB, free: 8.594 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003908/0.5458, allocations: 1.811 MB / 1.476 GB, free: 6.711 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.642e-06/0.5458, allocations: 0 / 1.476 GB, free: 6.711 MB / 1.17 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.005983/0.5518, allocations: 2.456 MB / 1.479 GB, free: 4.23 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 5.511e-05/0.5519, allocations: 49.62 kB / 1.479 GB, free: 4.176 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.179e-05/0.5519, allocations: 4 kB / 1.479 GB, free: 4.172 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008165/0.5527, allocations: 148.7 kB / 1.479 GB, free: 4.023 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001371/0.5541, allocations: 335.4 kB / 1.479 GB, free: 3.695 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006964/0.5548, allocations: 0.6812 MB / 1.48 GB, free: 2.988 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001888/0.5566, allocations: 259.1 kB / 1.48 GB, free: 2.734 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001409/0.5568, allocations: 67.94 kB / 1.48 GB, free: 2.668 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00275/0.5595, allocations: 1.367 MB / 1.482 GB, free: 1.289 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00245/0.562, allocations: 1.508 MB / 1.483 GB, free: 15.61 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003792/0.5658, allocations: 1.811 MB / 1.485 GB, free: 13.73 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.368e-06/0.5658, allocations: 0 / 1.485 GB, free: 13.73 MB / 1.186 GB Notification: Performance of matching and sorting (n=139) (initialization_lambda0): time 0.00537/0.5712, allocations: 2.405 MB / 1.487 GB, free: 11.3 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 4.443e-05/0.5712, allocations: 37.7 kB / 1.487 GB, free: 11.26 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.906e-06/0.5712, allocations: 4 kB / 1.487 GB, free: 11.25 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000314/0.5715, allocations: 104.7 kB / 1.487 GB, free: 11.15 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001385/0.5729, allocations: 339.3 kB / 1.488 GB, free: 10.82 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002326/0.5752, allocations: 1.954 MB / 1.49 GB, free: 8.762 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001899/0.5771, allocations: 259.2 kB / 1.49 GB, free: 8.508 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001368/0.5773, allocations: 63.94 kB / 1.49 GB, free: 8.445 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 38 ($PRE.TSou.nextTimeEvent,$whenCondition6,iceTanUnc.tanHeaTra.canMelt.greHys.y,$PRE.iceTanUnc.tanHeaTra.canMelt.greHys.y,iceTanUnc.tanHeaTra.canFreeze.lesHys.y,$PRE.iceTanUnc.tanHeaTra.canFreeze.lesHys.y,iceTanUnc.tanHeaTra.SOCCalc.suspend,iceTanUnc.tanHeaTra.SOCCalc.discharged,$PRE.iceTanUnc.tanHeaTra.SOCCalc.discharged,iceTanUnc.tanHeaTra.SOCCalc.charged,$PRE.iceTanUnc.tanHeaTra.SOCCalc.charged,TSet.nextEventScaled,TSet.nextEvent,$PRE.TSet.nextEvent,TSet.last,TSet.b,TSet.a,TSou.nextTimeEventScaled,$PRE.TSou.nextTimeEventScaled,TSou.nextTimeEvent,iceTan.tanHeaTra.canMelt.greHys.y,$PRE.iceTan.tanHeaTra.canMelt.greHys.y,iceTan.tanHeaTra.canFreeze.lesHys.y,$PRE.iceTan.tanHeaTra.canFreeze.lesHys.y,iceTan.tanHeaTra.SOCCalc.suspend,iceTan.tanHeaTra.SOCCalc.discharged,$PRE.iceTan.tanHeaTra.SOCCalc.discharged,iceTan.tanHeaTra.SOCCalc.charged,$PRE.iceTan.tanHeaTra.SOCCalc.charged,$whenCondition1,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 120 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0004841/0.5778, allocations: 305.2 kB / 1.49 GB, free: 8.141 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004068/0.5782, allocations: 206.7 kB / 1.49 GB, free: 7.938 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005672/0.5838, allocations: 2.512 MB / 1.493 GB, free: 5.398 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004611/0.5884, allocations: 2.191 MB / 1.495 GB, free: 3.164 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.164e-06/0.5884, allocations: 4 kB / 1.495 GB, free: 3.16 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001193/0.5896, allocations: 452.2 kB / 1.495 GB, free: 2.719 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003042/0.5899, allocations: 35.98 kB / 1.495 GB, free: 2.684 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001496/0.5914, allocations: 207.6 kB / 1.496 GB, free: 2.48 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002238/0.5917, allocations: 112.8 kB / 1.496 GB, free: 2.371 MB / 1.186 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006048/0.5977, allocations: 2.639 MB / 1.498 GB, free: 15.7 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007347/0.6051, allocations: 3.884 MB / 1.502 GB, free: 11.77 MB / 1.201 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002141/0.6072, allocations: 1.036 MB / 1.503 GB, free: 10.73 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001998/0.6092, allocations: 1.353 MB / 1.504 GB, free: 9.355 MB / 1.201 GB Notification: Performance of Backend: time 2.9e-07/0.6092, allocations: 0 / 1.504 GB, free: 9.355 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.009257/0.6185, allocations: 3.54 MB / 1.508 GB, free: 5.977 MB / 1.201 GB Notification: Performance of SimCode: time 0.007375/0.6258, allocations: 4.389 MB / 1.512 GB, free: 1.52 MB / 1.201 GB Notification: Performance of Templates: time 0.08505/0.7109, allocations: 55.46 MB / 1.566 GB, free: 10.44 MB / 1.264 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Storage.Ice.Validation.Tank.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Storage.Ice.Validation.Tank.pipe ; mkfifo Buildings_12_Buildings.Fluid.Storage.Ice.Validation.Tank.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Storage.Ice.Validation.Tank.pipe >> ../files/Buildings_12_Buildings.Fluid.Storage.Ice.Validation.Tank.sim & ./Buildings_12_Buildings.Fluid.Storage.Ice.Validation.Tank -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Storage.Ice.Validation.Tank.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Storage.Ice.Validation.Tank_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Storage_Ice_Validation_Tank.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Storage.Ice.Validation.Tank.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: 10.589218313005404]