Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_11_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging2") translateModel(Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_11_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 116.6 kB / 16.81 MB, free: 5.77 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001225/0.001225, allocations: 196.7 kB / 17.77 MB, free: 5.117 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 225.6 MB / 244.2 MB, free: 13.9 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.706/2.706, allocations: 476.7 MB / 0.7556 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001929/0.001929, allocations: 67.47 kB / 1.097 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3004/0.3023, allocations: 168.7 MB / 1.262 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging2): time 0.06326/0.3656, allocations: 54.88 MB / 1.316 GB, free: 5.84 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01409/0.3797, allocations: 9.214 MB / 1.325 GB, free: 12.6 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001155/0.3808, allocations: 43.75 kB / 1.325 GB, free: 12.55 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001471/0.3823, allocations: 0.5471 MB / 1.325 GB, free: 12 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.003414/0.3857, allocations: 1.41 MB / 1.327 GB, free: 10.59 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.003009/0.3887, allocations: 1.259 MB / 1.328 GB, free: 9.336 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.00348/0.3922, allocations: 2.764 MB / 1.331 GB, free: 6.562 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001332/0.3935, allocations: 0.9048 MB / 1.331 GB, free: 5.625 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005201/0.3987, allocations: 2.194 MB / 1.334 GB, free: 3.441 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001348/0.4001, allocations: 0.84 MB / 1.334 GB, free: 2.598 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0002181/0.4003, allocations: 132 kB / 1.335 GB, free: 2.469 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003998/0.4043, allocations: 1.758 MB / 1.336 GB, free: 0.707 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0004552/0.4047, allocations: 398.5 kB / 1.337 GB, free: 324 kB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0009133/0.4057, allocations: 0.7267 MB / 1.337 GB, free: 15.59 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.003842/0.4095, allocations: 2.436 MB / 1.34 GB, free: 13.14 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.4095, allocations: 0 / 1.34 GB, free: 13.14 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.573e-06/0.4095, allocations: 0 / 1.34 GB, free: 13.14 MB / 1.061 GB Notification: Performance of Transformations before backend: time 2.507e-05/0.4095, allocations: 0 / 1.34 GB, free: 13.14 MB / 1.061 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.003362/0.4129, allocations: 1.87 MB / 1.342 GB, free: 11.21 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.4129, allocations: 8.031 kB / 1.342 GB, free: 11.2 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002495/0.4154, allocations: 0.5695 MB / 1.342 GB, free: 10.63 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002295/0.4177, allocations: 1.221 MB / 1.343 GB, free: 9.359 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001355/0.4179, allocations: 121.4 kB / 1.343 GB, free: 9.227 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001679/0.418, allocations: 91.94 kB / 1.344 GB, free: 9.137 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002316/0.4203, allocations: 1.184 MB / 1.345 GB, free: 7.914 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.442e-05/0.4204, allocations: 0 / 1.345 GB, free: 7.914 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.761e-05/0.4205, allocations: 32 kB / 1.345 GB, free: 7.883 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.216e-05/0.4205, allocations: 20 kB / 1.345 GB, free: 7.863 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002543/0.423, allocations: 1.171 MB / 1.346 GB, free: 6.688 MB / 1.061 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.007344/0.4304, allocations: 5.145 MB / 1.351 GB, free: 1.285 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001849/0.4322, allocations: 0.7554 MB / 1.352 GB, free: 0.5156 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001164/0.4334, allocations: 0.5214 MB / 1.352 GB, free: 15.99 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006642/0.4341, allocations: 0.7444 MB / 1.353 GB, free: 15.08 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00141/0.4355, allocations: 0.6752 MB / 1.354 GB, free: 14.39 MB / 1.076 GB Notification: Performance of pre-optimization done (n=54): time 2.555e-06/0.4355, allocations: 0 / 1.354 GB, free: 14.39 MB / 1.076 GB Notification: Performance of matching and sorting (n=54): time 0.003826/0.4393, allocations: 1.599 MB / 1.355 GB, free: 12.79 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.811e-05/0.4394, allocations: 111.2 kB / 1.355 GB, free: 12.65 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001691/0.4411, allocations: 1.134 MB / 1.356 GB, free: 11.5 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001007/0.4412, allocations: 45.7 kB / 1.356 GB, free: 11.45 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005577/0.4417, allocations: 0.5675 MB / 1.357 GB, free: 10.88 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002132/0.4419, allocations: 186.4 kB / 1.357 GB, free: 10.7 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002855/0.4422, allocations: 162.2 kB / 1.357 GB, free: 10.53 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001653/0.4424, allocations: 326 kB / 1.358 GB, free: 10.21 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001107/0.4435, allocations: 0.4953 MB / 1.358 GB, free: 9.707 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001247/0.4447, allocations: 0.6561 MB / 1.359 GB, free: 8.992 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00212/0.4469, allocations: 0.9669 MB / 1.36 GB, free: 7.984 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.089e-06/0.4469, allocations: 0 / 1.36 GB, free: 7.984 MB / 1.076 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.002858/0.4497, allocations: 1.24 MB / 1.361 GB, free: 6.738 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.683e-05/0.4498, allocations: 8 kB / 1.361 GB, free: 6.73 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/0.4498, allocations: 4 kB / 1.361 GB, free: 6.727 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.387e-05/0.4498, allocations: 11.88 kB / 1.361 GB, free: 6.715 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008717/0.4507, allocations: 207.6 kB / 1.361 GB, free: 6.512 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.607e-05/0.4507, allocations: 4 kB / 1.361 GB, free: 6.508 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001007/0.4517, allocations: 147.5 kB / 1.361 GB, free: 6.363 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-05/0.4518, allocations: 39.95 kB / 1.361 GB, free: 6.324 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00153/0.4533, allocations: 0.751 MB / 1.362 GB, free: 5.566 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001248/0.4545, allocations: 0.6445 MB / 1.363 GB, free: 4.867 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002018/0.4566, allocations: 0.959 MB / 1.364 GB, free: 3.863 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.799e-06/0.4566, allocations: 4 kB / 1.364 GB, free: 3.859 MB / 1.076 GB Notification: Performance of matching and sorting (n=80) (initialization_lambda0): time 0.002799/0.4594, allocations: 1.228 MB / 1.365 GB, free: 2.625 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.4594, allocations: 8 kB / 1.365 GB, free: 2.617 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.852e-06/0.4594, allocations: 4 kB / 1.365 GB, free: 2.613 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.357e-06/0.4594, allocations: 4 kB / 1.365 GB, free: 2.609 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008149/0.4602, allocations: 207.6 kB / 1.365 GB, free: 2.406 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.508e-05/0.4602, allocations: 16.03 kB / 1.365 GB, free: 2.391 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009902/0.4612, allocations: 139.6 kB / 1.365 GB, free: 2.254 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.007e-05/0.4613, allocations: 31.97 kB / 1.365 GB, free: 2.223 MB / 1.076 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.0003006/0.4616, allocations: 238.2 kB / 1.365 GB, free: 1.98 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002316/0.4618, allocations: 123.2 kB / 1.365 GB, free: 1.859 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002948/0.4648, allocations: 1.303 MB / 1.367 GB, free: 0.5508 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00242/0.4672, allocations: 1.292 MB / 1.368 GB, free: 15.19 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.4672, allocations: 0 / 1.368 GB, free: 15.19 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005628/0.4678, allocations: 328.1 kB / 1.368 GB, free: 14.85 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001882/0.468, allocations: 31.98 kB / 1.368 GB, free: 14.82 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008148/0.4688, allocations: 95.83 kB / 1.368 GB, free: 14.73 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001354/0.4689, allocations: 60.48 kB / 1.368 GB, free: 14.67 MB / 1.092 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003119/0.472, allocations: 1.392 MB / 1.37 GB, free: 13.27 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00403/0.4761, allocations: 2.15 MB / 1.372 GB, free: 11.1 MB / 1.092 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001133/0.4772, allocations: 0.5471 MB / 1.372 GB, free: 10.55 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001195/0.4784, allocations: 0.7826 MB / 1.373 GB, free: 9.762 MB / 1.092 GB Notification: Performance of Backend: time 4.81e-07/0.4784, allocations: 0 / 1.373 GB, free: 9.762 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.006039/0.4844, allocations: 2.037 MB / 1.375 GB, free: 7.93 MB / 1.092 GB Notification: Performance of SimCode: time 0.004584/0.489, allocations: 2.652 MB / 1.378 GB, free: 5.227 MB / 1.092 GB Notification: Performance of Templates: time 0.04946/0.5385, allocations: 29.45 MB / 1.407 GB, free: 7.918 MB / 1.123 GB make -j1 -f Buildings_11_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging2.makefile (rm -f Buildings_11_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging2.pipe ; mkfifo Buildings_11_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging2.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging2.pipe >> ../files/Buildings_11_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging2.sim & ./Buildings_11_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging2 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging2.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Storage_Ice_Validation_ExperimentNIST_Discharging2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches