Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging3.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.001287/0.001287, allocations: 97.11 kB / 19.7 MB, free: 2.129 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.001427/0.001427, allocations: 208 kB / 23 MB, free: 4.934 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.494/1.494, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.181/3.181, allocations: 0.49 GB / 0.7959 GB, free: 35.5 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.ExperimentNIST.Discharging3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4488,variableFilter="time|dat.y.1.|TIn.Celsius|dat.y.2.|TOut.T|dat.y.3.|iceTan.m_flow|dat.y.4.|iceTan.SOC",fileNamePrefix="Buildings_12_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging3") translateModel(Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4488,variableFilter="time|dat.y.1.|TIn.Celsius|dat.y.2.|TOut.T|dat.y.3.|iceTan.m_flow|dat.y.4.|iceTan.SOC",fileNamePrefix="Buildings_12_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging3") [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.002051/0.002051, allocations: 69.34 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3262/0.3283, allocations: 176.1 MB / 1.327 GB, free: 0.9297 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging3): time 0.06129/0.3896, allocations: 49.97 MB / 1.376 GB, free: 14.79 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01427/0.4038, allocations: 8.71 MB / 1.384 GB, free: 6.059 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001508/0.4053, allocations: 59.5 kB / 1.384 GB, free: 6 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001552/0.4069, allocations: 0.5471 MB / 1.385 GB, free: 5.449 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.003935/0.4108, allocations: 1.443 MB / 1.386 GB, free: 4 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.00315/0.414, allocations: 1.235 MB / 1.388 GB, free: 2.77 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.003825/0.4178, allocations: 2.827 MB / 1.39 GB, free: 15.93 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001413/0.4192, allocations: 0.8976 MB / 1.391 GB, free: 15 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006556/0.4258, allocations: 2.832 MB / 1.394 GB, free: 12.18 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001298/0.4271, allocations: 0.8415 MB / 1.395 GB, free: 11.34 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001968/0.4273, allocations: 132 kB / 1.395 GB, free: 11.21 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002812/0.4301, allocations: 1.373 MB / 1.396 GB, free: 9.832 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0003743/0.4305, allocations: 386.6 kB / 1.397 GB, free: 9.453 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0006273/0.4311, allocations: 0.5752 MB / 1.397 GB, free: 8.875 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.003277/0.4344, allocations: 2.483 MB / 1.4 GB, free: 6.383 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.4344, allocations: 4 kB / 1.4 GB, free: 6.379 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.693e-06/0.4344, allocations: 4 kB / 1.4 GB, free: 6.375 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.833e-05/0.4344, allocations: 0 / 1.4 GB, free: 6.375 MB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.003116/0.4375, allocations: 1.815 MB / 1.401 GB, free: 4.516 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 2.902e-05/0.4375, allocations: 12.03 kB / 1.401 GB, free: 4.504 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002582/0.4401, allocations: 0.5733 MB / 1.402 GB, free: 3.93 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0023/0.4424, allocations: 1.153 MB / 1.403 GB, free: 2.738 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001773/0.4426, allocations: 180.8 kB / 1.403 GB, free: 2.535 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000153/0.4427, allocations: 80 kB / 1.403 GB, free: 2.457 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002422/0.4452, allocations: 1.288 MB / 1.405 GB, free: 1.105 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.533e-05/0.4452, allocations: 3.938 kB / 1.405 GB, free: 1.102 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.58e-05/0.4453, allocations: 32 kB / 1.405 GB, free: 1.07 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.998e-05/0.4453, allocations: 20 kB / 1.405 GB, free: 1.051 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00256/0.4479, allocations: 1.183 MB / 1.406 GB, free: 15.86 MB / 1.107 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.006701/0.4546, allocations: 3.987 MB / 1.41 GB, free: 11.8 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001792/0.4564, allocations: 0.7622 MB / 1.411 GB, free: 11.03 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001186/0.4576, allocations: 0.5273 MB / 1.411 GB, free: 10.5 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002774/0.4578, allocations: 76.38 kB / 1.411 GB, free: 10.42 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001456/0.4593, allocations: 0.7583 MB / 1.412 GB, free: 9.629 MB / 1.107 GB Notification: Performance of pre-optimization done (n=54): time 2.625e-06/0.4593, allocations: 0 / 1.412 GB, free: 9.629 MB / 1.107 GB Notification: Performance of matching and sorting (n=54): time 0.003779/0.4631, allocations: 1.611 MB / 1.413 GB, free: 8.008 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.988e-05/0.4631, allocations: 115.2 kB / 1.414 GB, free: 7.871 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001619/0.4648, allocations: 1.149 MB / 1.415 GB, free: 6.707 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 9.078e-05/0.4649, allocations: 45.7 kB / 1.415 GB, free: 6.656 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005476/0.4654, allocations: 0.5751 MB / 1.415 GB, free: 6.074 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002021/0.4656, allocations: 186.5 kB / 1.415 GB, free: 5.891 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002937/0.4659, allocations: 154.2 kB / 1.416 GB, free: 5.734 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.4661, allocations: 334 kB / 1.416 GB, free: 5.402 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00113/0.4672, allocations: 0.4992 MB / 1.416 GB, free: 4.898 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001369/0.4686, allocations: 0.8609 MB / 1.417 GB, free: 3.926 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002138/0.4707, allocations: 0.9839 MB / 1.418 GB, free: 2.902 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.4707, allocations: 0 / 1.418 GB, free: 2.902 MB / 1.107 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.002916/0.4736, allocations: 1.258 MB / 1.419 GB, free: 1.637 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.4736, allocations: 4 kB / 1.419 GB, free: 1.633 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.4736, allocations: 4 kB / 1.419 GB, free: 1.629 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.307e-05/0.4737, allocations: 8 kB / 1.419 GB, free: 1.621 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000864/0.4745, allocations: 207.6 kB / 1.42 GB, free: 1.418 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.839e-05/0.4745, allocations: 7.938 kB / 1.42 GB, free: 1.41 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009943/0.4755, allocations: 147.5 kB / 1.42 GB, free: 1.266 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.548e-05/0.4756, allocations: 31.97 kB / 1.42 GB, free: 1.234 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001566/0.4772, allocations: 0.751 MB / 1.421 GB, free: 492 kB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001424/0.4786, allocations: 0.8609 MB / 1.421 GB, free: 15.51 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002204/0.4808, allocations: 0.9722 MB / 1.422 GB, free: 14.49 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.096e-06/0.4808, allocations: 0 / 1.422 GB, free: 14.49 MB / 1.123 GB Notification: Performance of matching and sorting (n=80) (initialization_lambda0): time 0.003008/0.4838, allocations: 1.238 MB / 1.424 GB, free: 13.24 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.4839, allocations: 11.98 kB / 1.424 GB, free: 13.23 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.4839, allocations: 4 kB / 1.424 GB, free: 13.23 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.037e-06/0.4839, allocations: 4 kB / 1.424 GB, free: 13.22 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008559/0.4847, allocations: 199.7 kB / 1.424 GB, free: 13.03 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.52e-05/0.4847, allocations: 11.98 kB / 1.424 GB, free: 13.02 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001044/0.4858, allocations: 143.4 kB / 1.424 GB, free: 12.88 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.108e-05/0.4859, allocations: 35.97 kB / 1.424 GB, free: 12.84 MB / 1.123 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 18 ($PRE.dat.nextTimeEvent,$whenCondition1,dat.nextTimeEventScaled,$PRE.dat.nextTimeEventScaled,dat.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,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 80 * 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.0003111/0.4862, allocations: 237.1 kB / 1.424 GB, free: 12.61 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000234/0.4864, allocations: 123.2 kB / 1.424 GB, free: 12.48 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003153/0.4896, allocations: 1.344 MB / 1.426 GB, free: 11.14 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002539/0.4921, allocations: 1.318 MB / 1.427 GB, free: 9.746 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.095e-06/0.4921, allocations: 3.938 kB / 1.427 GB, free: 9.742 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006678/0.4928, allocations: 258.9 kB / 1.427 GB, free: 9.488 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001819/0.493, allocations: 23.98 kB / 1.427 GB, free: 9.465 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008289/0.4938, allocations: 111.8 kB / 1.427 GB, free: 9.355 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000139/0.4939, allocations: 60.39 kB / 1.427 GB, free: 9.297 MB / 1.123 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00335/0.4973, allocations: 1.422 MB / 1.429 GB, free: 7.867 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004238/0.5015, allocations: 2.214 MB / 1.431 GB, free: 5.637 MB / 1.123 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001211/0.5027, allocations: 0.5622 MB / 1.431 GB, free: 5.074 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001236/0.504, allocations: 0.7863 MB / 1.432 GB, free: 4.281 MB / 1.123 GB Notification: Performance of Backend: time 4.61e-07/0.504, allocations: 4 kB / 1.432 GB, free: 4.277 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.006378/0.5104, allocations: 2.111 MB / 1.434 GB, free: 2.418 MB / 1.123 GB Notification: Performance of SimCode: time 0.004471/0.5148, allocations: 2.674 MB / 1.437 GB, free: 15.7 MB / 1.139 GB Notification: Performance of Templates: time 0.05326/0.5681, allocations: 32.92 MB / 1.469 GB, free: 15.07 MB / 1.17 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging3.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging3.pipe ; mkfifo Buildings_12_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging3.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging3.pipe >> ../files/Buildings_12_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging3.sim & ./Buildings_12_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging3 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging3.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Storage_Ice_Validation_ExperimentNIST_Discharging3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging3.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.301270982999995]