Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging1.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.001408/0.001408, allocations: 109.1 kB / 19.71 MB, free: 2.145 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.00144/0.00144, allocations: 213.7 kB / 23 MB, free: 4.969 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.44/1.44, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.132/3.132, allocations: 0.49 GB / 0.7959 GB, free: 35.41 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.Discharging1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4498,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.Discharging1") translateModel(Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4498,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.Discharging1") [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.002033/0.002033, allocations: 71.14 kB / 1.155 GB, free: 25.27 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3371/0.3392, allocations: 176.1 MB / 1.327 GB, free: 0.9453 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging1): time 0.05872/0.3979, allocations: 49.99 MB / 1.376 GB, free: 14.79 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01409/0.412, allocations: 8.69 MB / 1.384 GB, free: 6.074 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001459/0.4134, allocations: 59.5 kB / 1.384 GB, free: 6.016 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001538/0.415, allocations: 0.5471 MB / 1.385 GB, free: 5.465 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.00398/0.4189, allocations: 1.453 MB / 1.386 GB, free: 4.008 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.003109/0.4221, allocations: 1.223 MB / 1.388 GB, free: 2.789 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.003712/0.4258, allocations: 2.837 MB / 1.39 GB, free: 15.95 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001383/0.4272, allocations: 0.8938 MB / 1.391 GB, free: 15.02 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00643/0.4336, allocations: 2.829 MB / 1.394 GB, free: 12.2 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001291/0.4349, allocations: 0.84 MB / 1.395 GB, free: 11.35 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001957/0.4351, allocations: 132 kB / 1.395 GB, free: 11.22 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002819/0.4379, allocations: 1.369 MB / 1.396 GB, free: 9.852 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0004676/0.4384, allocations: 390.5 kB / 1.397 GB, free: 9.469 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0009178/0.4393, allocations: 0.5791 MB / 1.397 GB, free: 8.887 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.005112/0.4444, allocations: 2.479 MB / 1.4 GB, free: 6.398 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.4444, allocations: 4 kB / 1.4 GB, free: 6.395 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.603e-06/0.4444, allocations: 0 / 1.4 GB, free: 6.395 MB / 1.092 GB Notification: Performance of Transformations before backend: time 2.298e-05/0.4444, allocations: 0 / 1.4 GB, free: 6.395 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.004675/0.4491, allocations: 1.813 MB / 1.401 GB, free: 4.539 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.144e-05/0.4491, allocations: 8.031 kB / 1.401 GB, free: 4.531 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003902/0.453, allocations: 0.5812 MB / 1.402 GB, free: 3.949 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003613/0.4567, allocations: 1.155 MB / 1.403 GB, free: 2.758 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002548/0.4569, allocations: 180.8 kB / 1.403 GB, free: 2.555 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002354/0.4571, allocations: 80 kB / 1.403 GB, free: 2.477 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003614/0.4608, allocations: 1.288 MB / 1.405 GB, free: 1.125 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.547e-05/0.4608, allocations: 0 / 1.405 GB, free: 1.125 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001494/0.4609, allocations: 32 kB / 1.405 GB, free: 1.094 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.362e-05/0.461, allocations: 20 kB / 1.405 GB, free: 1.074 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004107/0.4651, allocations: 1.191 MB / 1.406 GB, free: 15.88 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.01063/0.4757, allocations: 3.991 MB / 1.41 GB, free: 11.81 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002714/0.4784, allocations: 0.7635 MB / 1.411 GB, free: 11.04 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001752/0.4802, allocations: 0.5262 MB / 1.411 GB, free: 10.51 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003878/0.4806, allocations: 76.38 kB / 1.411 GB, free: 10.43 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002064/0.4827, allocations: 0.7544 MB / 1.412 GB, free: 9.645 MB / 1.107 GB Notification: Performance of pre-optimization done (n=54): time 3.847e-06/0.4827, allocations: 4 kB / 1.412 GB, free: 9.641 MB / 1.107 GB Notification: Performance of matching and sorting (n=54): time 0.005801/0.4885, allocations: 1.607 MB / 1.413 GB, free: 8.023 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001068/0.4886, allocations: 115.2 kB / 1.414 GB, free: 7.887 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00265/0.4912, allocations: 1.149 MB / 1.415 GB, free: 6.723 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.000136/0.4913, allocations: 45.7 kB / 1.415 GB, free: 6.672 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.000766/0.4921, allocations: 0.5829 MB / 1.415 GB, free: 6.082 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002989/0.4924, allocations: 182.5 kB / 1.415 GB, free: 5.902 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004108/0.4928, allocations: 158.2 kB / 1.416 GB, free: 5.742 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0002095/0.493, allocations: 334 kB / 1.416 GB, free: 5.41 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001644/0.4947, allocations: 0.5031 MB / 1.416 GB, free: 4.902 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001987/0.4967, allocations: 0.8493 MB / 1.417 GB, free: 3.941 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003105/0.4998, allocations: 0.9839 MB / 1.418 GB, free: 2.918 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.091e-06/0.4998, allocations: 0 / 1.418 GB, free: 2.918 MB / 1.107 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.004175/0.504, allocations: 1.25 MB / 1.419 GB, free: 1.66 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.828e-05/0.504, allocations: 8.031 kB / 1.419 GB, free: 1.652 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.407e-05/0.504, allocations: 4 kB / 1.419 GB, free: 1.648 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.385e-05/0.504, allocations: 8 kB / 1.419 GB, free: 1.641 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00122/0.5052, allocations: 203.6 kB / 1.42 GB, free: 1.441 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.841e-05/0.5053, allocations: 15.88 kB / 1.42 GB, free: 1.426 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00152/0.5068, allocations: 139.5 kB / 1.42 GB, free: 1.289 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001263/0.5069, allocations: 39.97 kB / 1.42 GB, free: 1.25 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002033/0.509, allocations: 0.751 MB / 1.421 GB, free: 0.4961 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001769/0.5107, allocations: 0.8493 MB / 1.421 GB, free: 15.54 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002282/0.513, allocations: 0.9722 MB / 1.422 GB, free: 14.52 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.965e-06/0.513, allocations: 0 / 1.422 GB, free: 14.52 MB / 1.123 GB Notification: Performance of matching and sorting (n=80) (initialization_lambda0): time 0.003023/0.516, allocations: 1.25 MB / 1.424 GB, free: 13.26 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.5161, allocations: 8 kB / 1.424 GB, free: 13.25 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.5161, allocations: 4 kB / 1.424 GB, free: 13.25 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.5161, allocations: 8 kB / 1.424 GB, free: 13.24 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000856/0.5169, allocations: 211.6 kB / 1.424 GB, free: 13.03 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.443e-05/0.5169, allocations: 11.94 kB / 1.424 GB, free: 13.02 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001039/0.518, allocations: 139.4 kB / 1.424 GB, free: 12.88 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.82e-05/0.5181, allocations: 39.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.0003349/0.5184, allocations: 228.5 kB / 1.424 GB, free: 12.62 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002294/0.5186, allocations: 119.2 kB / 1.424 GB, free: 12.5 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003305/0.5219, allocations: 1.344 MB / 1.426 GB, free: 11.15 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002473/0.5244, allocations: 1.318 MB / 1.427 GB, free: 9.762 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.343e-06/0.5244, allocations: 3.938 kB / 1.427 GB, free: 9.758 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006799/0.5251, allocations: 259 kB / 1.427 GB, free: 9.504 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000174/0.5253, allocations: 23.92 kB / 1.427 GB, free: 9.48 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000838/0.5261, allocations: 107.8 kB / 1.427 GB, free: 9.375 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001401/0.5262, allocations: 56.39 kB / 1.427 GB, free: 9.32 MB / 1.123 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003207/0.5295, allocations: 1.429 MB / 1.429 GB, free: 7.883 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004534/0.534, allocations: 2.214 MB / 1.431 GB, free: 5.652 MB / 1.123 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001181/0.5352, allocations: 0.5621 MB / 1.431 GB, free: 5.09 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001516/0.5367, allocations: 0.7863 MB / 1.432 GB, free: 4.297 MB / 1.123 GB Notification: Performance of Backend: time 5.91e-07/0.5367, allocations: 4 kB / 1.432 GB, free: 4.293 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.006786/0.5435, allocations: 2.106 MB / 1.434 GB, free: 2.434 MB / 1.123 GB Notification: Performance of SimCode: time 0.00479/0.5483, allocations: 2.669 MB / 1.437 GB, free: 15.72 MB / 1.139 GB Notification: Performance of Templates: time 0.06765/0.6159, allocations: 32.93 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.Discharging1.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging1.pipe ; mkfifo Buildings_12_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging1.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging1.pipe >> ../files/Buildings_12_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging1.sim & ./Buildings_12_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging1 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging1.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Storage_Ice_Validation_ExperimentNIST_Discharging1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging1.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.303277282000636]