Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging2.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.001337/0.001337, 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.001469/0.001469, allocations: 202.3 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.463/1.463, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.226/3.226, allocations: 0.49 GB / 0.7959 GB, free: 35.57 MB / 0.6231 GB " [Timeout remaining time 176] 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.Discharging2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=7878,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.Discharging2") translateModel(Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=7878,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.Discharging2") [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.002054/0.002054, allocations: 63.59 kB / 1.155 GB, free: 25.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3298/0.3318, allocations: 176.1 MB / 1.327 GB, free: 0.9727 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging2): time 0.05997/0.3918, allocations: 49.98 MB / 1.376 GB, free: 14.82 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01413/0.4059, allocations: 8.699 MB / 1.384 GB, free: 6.102 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001313/0.4072, allocations: 59.5 kB / 1.384 GB, free: 6.043 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001473/0.4087, allocations: 0.547 MB / 1.385 GB, free: 5.492 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.003492/0.4122, allocations: 1.447 MB / 1.386 GB, free: 4.039 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002885/0.4151, allocations: 1.227 MB / 1.388 GB, free: 2.816 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.003342/0.4184, allocations: 2.829 MB / 1.39 GB, free: 15.98 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001245/0.4197, allocations: 0.9094 MB / 1.391 GB, free: 15.04 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006234/0.4259, allocations: 2.825 MB / 1.394 GB, free: 12.22 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001168/0.4271, allocations: 0.8322 MB / 1.395 GB, free: 11.38 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001817/0.4272, allocations: 132 kB / 1.395 GB, free: 11.25 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002772/0.43, allocations: 1.373 MB / 1.396 GB, free: 9.879 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.000377/0.4304, allocations: 394.5 kB / 1.397 GB, free: 9.492 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.000629/0.431, allocations: 0.5675 MB / 1.397 GB, free: 8.922 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.003199/0.4342, allocations: 2.491 MB / 1.4 GB, free: 6.422 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.4342, allocations: 0 / 1.4 GB, free: 6.422 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.613e-06/0.4342, allocations: 0 / 1.4 GB, free: 6.422 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.803e-05/0.4342, allocations: 0 / 1.4 GB, free: 6.422 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.003087/0.4373, allocations: 1.812 MB / 1.401 GB, free: 4.566 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.4374, allocations: 8.031 kB / 1.401 GB, free: 4.559 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002491/0.4399, allocations: 0.5773 MB / 1.402 GB, free: 3.98 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002271/0.4421, allocations: 1.157 MB / 1.403 GB, free: 2.785 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001773/0.4423, allocations: 176.8 kB / 1.403 GB, free: 2.586 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001594/0.4425, allocations: 83.98 kB / 1.403 GB, free: 2.504 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002364/0.4448, allocations: 1.288 MB / 1.405 GB, free: 1.152 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.743e-05/0.4449, allocations: 4 kB / 1.405 GB, free: 1.148 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-05/0.445, allocations: 35.98 kB / 1.405 GB, free: 1.113 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.939e-05/0.445, allocations: 23.94 kB / 1.405 GB, free: 1.09 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002567/0.4476, allocations: 1.175 MB / 1.406 GB, free: 15.91 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.006754/0.4543, allocations: 3.979 MB / 1.41 GB, free: 11.86 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00185/0.4562, allocations: 0.776 MB / 1.411 GB, free: 11.07 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001203/0.4574, allocations: 0.5336 MB / 1.411 GB, free: 10.53 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002894/0.4577, allocations: 76.39 kB / 1.411 GB, free: 10.46 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001501/0.4592, allocations: 0.7544 MB / 1.412 GB, free: 9.668 MB / 1.107 GB Notification: Performance of pre-optimization done (n=54): time 2.795e-06/0.4592, allocations: 0 / 1.412 GB, free: 9.668 MB / 1.107 GB Notification: Performance of matching and sorting (n=54): time 0.003987/0.4631, allocations: 1.607 MB / 1.413 GB, free: 8.051 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.341e-05/0.4632, allocations: 115.2 kB / 1.414 GB, free: 7.914 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001909/0.4651, allocations: 1.149 MB / 1.415 GB, free: 6.75 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0001007/0.4653, allocations: 45.7 kB / 1.415 GB, free: 6.699 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005912/0.4658, allocations: 0.5712 MB / 1.415 GB, free: 6.121 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002328/0.4661, allocations: 198.5 kB / 1.415 GB, free: 5.926 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003055/0.4664, allocations: 154.2 kB / 1.416 GB, free: 5.77 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001731/0.4666, allocations: 330 kB / 1.416 GB, free: 5.441 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001135/0.4677, allocations: 0.4992 MB / 1.416 GB, free: 4.938 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001504/0.4692, allocations: 0.8609 MB / 1.417 GB, free: 3.965 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002132/0.4713, allocations: 0.98 MB / 1.418 GB, free: 2.945 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.4713, allocations: 0 / 1.418 GB, free: 2.945 MB / 1.107 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.002913/0.4742, allocations: 1.25 MB / 1.419 GB, free: 1.688 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.4743, allocations: 4 kB / 1.419 GB, free: 1.684 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.4743, allocations: 4 kB / 1.419 GB, free: 1.68 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.412e-05/0.4743, allocations: 11.98 kB / 1.419 GB, free: 1.668 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008614/0.4752, allocations: 199.7 kB / 1.42 GB, free: 1.473 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.518e-05/0.4752, allocations: 15.92 kB / 1.42 GB, free: 1.457 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000996/0.4762, allocations: 139.5 kB / 1.42 GB, free: 1.32 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.708e-05/0.4763, allocations: 39.97 kB / 1.42 GB, free: 1.281 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001559/0.4778, allocations: 0.751 MB / 1.421 GB, free: 0.5273 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001461/0.4793, allocations: 0.857 MB / 1.421 GB, free: 15.56 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002136/0.4814, allocations: 0.9722 MB / 1.422 GB, free: 14.54 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.407e-06/0.4814, allocations: 0 / 1.422 GB, free: 14.54 MB / 1.123 GB Notification: Performance of matching and sorting (n=80) (initialization_lambda0): time 0.002996/0.4844, allocations: 1.246 MB / 1.424 GB, free: 13.29 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.4844, allocations: 8 kB / 1.424 GB, free: 13.28 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.4844, allocations: 4 kB / 1.424 GB, free: 13.27 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.477e-06/0.4845, allocations: 4 kB / 1.424 GB, free: 13.27 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000833/0.4853, allocations: 207.6 kB / 1.424 GB, free: 13.07 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/0.4853, allocations: 7.938 kB / 1.424 GB, free: 13.06 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009653/0.4863, allocations: 147.4 kB / 1.424 GB, free: 12.91 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.117e-05/0.4863, allocations: 35.91 kB / 1.424 GB, free: 12.88 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.0003413/0.4867, allocations: 238 kB / 1.424 GB, free: 12.64 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000272/0.487, allocations: 119.2 kB / 1.424 GB, free: 12.53 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003172/0.4901, allocations: 1.344 MB / 1.426 GB, free: 11.18 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002522/0.4927, allocations: 1.322 MB / 1.427 GB, free: 9.785 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.922e-06/0.4927, allocations: 3.938 kB / 1.427 GB, free: 9.781 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006523/0.4933, allocations: 258.9 kB / 1.427 GB, free: 9.527 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001735/0.4935, allocations: 24 kB / 1.427 GB, free: 9.504 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00081/0.4943, allocations: 103.8 kB / 1.427 GB, free: 9.402 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001599/0.4945, allocations: 60.38 kB / 1.427 GB, free: 9.344 MB / 1.123 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003308/0.4978, allocations: 1.429 MB / 1.429 GB, free: 7.906 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004216/0.502, allocations: 2.206 MB / 1.431 GB, free: 5.684 MB / 1.123 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001203/0.5032, allocations: 0.5583 MB / 1.431 GB, free: 5.125 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001292/0.5045, allocations: 0.7941 MB / 1.432 GB, free: 4.324 MB / 1.123 GB Notification: Performance of Backend: time 4.41e-07/0.5045, allocations: 0 / 1.432 GB, free: 4.324 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.006517/0.511, allocations: 2.112 MB / 1.434 GB, free: 2.461 MB / 1.123 GB Notification: Performance of SimCode: time 0.004571/0.5156, allocations: 2.674 MB / 1.437 GB, free: 15.75 MB / 1.139 GB Notification: Performance of Templates: time 0.05342/0.569, allocations: 32.93 MB / 1.469 GB, free: 15.09 MB / 1.17 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging2.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging2.pipe ; mkfifo Buildings_12_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging2.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging2.pipe >> ../files/Buildings_12_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging2.sim & ./Buildings_12_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging2 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging2.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Storage_Ice_Validation_ExperimentNIST_Discharging2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging2.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.988312401997973]