Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Charging.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.001304/0.001304, allocations: 107.8 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.001415/0.001415, allocations: 216.5 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.439/1.439, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.128/3.128, allocations: 0.49 GB / 0.7959 GB, free: 35.54 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.Charging,tolerance=1e-06,outputFormat="mat",numberOfIntervals=9582,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.Charging") translateModel(Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Charging,tolerance=1e-06,outputFormat="mat",numberOfIntervals=9582,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.Charging") [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: 69.22 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3486/0.3507, allocations: 176.1 MB / 1.327 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Charging): time 0.06015/0.4108, allocations: 49.98 MB / 1.376 GB, free: 14.8 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01386/0.4247, allocations: 8.7 MB / 1.384 GB, free: 6.086 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001664/0.4263, allocations: 59.5 kB / 1.384 GB, free: 6.027 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001611/0.4279, allocations: 0.5471 MB / 1.385 GB, free: 5.477 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.004022/0.432, allocations: 1.442 MB / 1.386 GB, free: 4.027 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.003115/0.4351, allocations: 1.226 MB / 1.388 GB, free: 2.805 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.003836/0.4389, allocations: 2.84 MB / 1.39 GB, free: 15.95 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001399/0.4403, allocations: 0.9015 MB / 1.391 GB, free: 15.02 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006831/0.4471, allocations: 2.825 MB / 1.394 GB, free: 12.2 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001341/0.4485, allocations: 0.8362 MB / 1.395 GB, free: 11.36 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001931/0.4487, allocations: 132 kB / 1.395 GB, free: 11.23 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00301/0.4517, allocations: 1.369 MB / 1.396 GB, free: 9.863 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0004072/0.4521, allocations: 394.6 kB / 1.397 GB, free: 9.477 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.000648/0.4527, allocations: 0.5674 MB / 1.397 GB, free: 8.906 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.003464/0.4562, allocations: 2.487 MB / 1.4 GB, free: 6.41 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.4562, allocations: 0 / 1.4 GB, free: 6.41 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.373e-06/0.4562, allocations: 4 kB / 1.4 GB, free: 6.406 MB / 1.092 GB Notification: Performance of Transformations before backend: time 2.356e-05/0.4562, allocations: 0 / 1.4 GB, free: 6.406 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.003344/0.4596, allocations: 1.816 MB / 1.401 GB, free: 4.547 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/0.4596, allocations: 8.031 kB / 1.401 GB, free: 4.539 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002518/0.4622, allocations: 0.5773 MB / 1.402 GB, free: 3.961 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002311/0.4645, allocations: 1.149 MB / 1.403 GB, free: 2.777 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001865/0.4646, allocations: 192.6 kB / 1.403 GB, free: 2.562 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000157/0.4648, allocations: 80 kB / 1.403 GB, free: 2.484 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002358/0.4672, allocations: 1.288 MB / 1.405 GB, free: 1.133 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.623e-05/0.4672, allocations: 0 / 1.405 GB, free: 1.133 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.284e-05/0.4673, allocations: 32 kB / 1.405 GB, free: 1.102 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.565e-05/0.4673, allocations: 20 kB / 1.405 GB, free: 1.082 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002486/0.4698, allocations: 1.183 MB / 1.406 GB, free: 15.89 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.006673/0.4765, allocations: 3.983 MB / 1.41 GB, free: 11.84 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001788/0.4783, allocations: 0.7714 MB / 1.411 GB, free: 11.05 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001126/0.4794, allocations: 0.533 MB / 1.411 GB, free: 10.52 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002727/0.4797, allocations: 72.39 kB / 1.411 GB, free: 10.45 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001409/0.4811, allocations: 0.7506 MB / 1.412 GB, free: 9.66 MB / 1.107 GB Notification: Performance of pre-optimization done (n=54): time 3.126e-06/0.4811, allocations: 0 / 1.412 GB, free: 9.66 MB / 1.107 GB Notification: Performance of matching and sorting (n=54): time 0.003692/0.4848, allocations: 1.607 MB / 1.413 GB, free: 8.043 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.083e-05/0.4848, allocations: 123.1 kB / 1.414 GB, free: 7.898 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001651/0.4865, allocations: 1.145 MB / 1.415 GB, free: 6.738 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 9.61e-05/0.4866, allocations: 49.69 kB / 1.415 GB, free: 6.684 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005459/0.4871, allocations: 0.5712 MB / 1.415 GB, free: 6.105 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002029/0.4873, allocations: 190.5 kB / 1.415 GB, free: 5.918 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002834/0.4876, allocations: 162.2 kB / 1.416 GB, free: 5.754 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.4878, allocations: 334 kB / 1.416 GB, free: 5.422 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001083/0.4889, allocations: 0.4992 MB / 1.416 GB, free: 4.918 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001328/0.4902, allocations: 0.8571 MB / 1.417 GB, free: 3.949 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002043/0.4922, allocations: 0.9761 MB / 1.418 GB, free: 2.934 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.419e-06/0.4922, allocations: 4 kB / 1.418 GB, free: 2.93 MB / 1.107 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.002785/0.495, allocations: 1.25 MB / 1.419 GB, free: 1.672 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.3e-05/0.495, allocations: 8 kB / 1.419 GB, free: 1.664 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.4951, allocations: 4 kB / 1.419 GB, free: 1.66 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.255e-05/0.4951, allocations: 4 kB / 1.419 GB, free: 1.656 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000855/0.4959, allocations: 207.6 kB / 1.42 GB, free: 1.453 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.599e-05/0.4959, allocations: 11.88 kB / 1.42 GB, free: 1.441 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009533/0.4969, allocations: 147.5 kB / 1.42 GB, free: 1.297 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.615e-05/0.497, allocations: 31.97 kB / 1.42 GB, free: 1.266 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001488/0.4985, allocations: 0.7549 MB / 1.421 GB, free: 0.5078 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001323/0.4998, allocations: 0.8532 MB / 1.421 GB, free: 15.54 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002019/0.5018, allocations: 0.9722 MB / 1.422 GB, free: 14.52 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.346e-06/0.5018, allocations: 0 / 1.422 GB, free: 14.52 MB / 1.123 GB Notification: Performance of matching and sorting (n=80) (initialization_lambda0): time 0.002715/0.5045, allocations: 1.242 MB / 1.424 GB, free: 13.27 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.5046, allocations: 8.031 kB / 1.424 GB, free: 13.27 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.5046, allocations: 11.94 kB / 1.424 GB, free: 13.25 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.045e-06/0.5046, allocations: 4 kB / 1.424 GB, free: 13.25 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008311/0.5054, allocations: 199.6 kB / 1.424 GB, free: 13.05 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.215e-05/0.5054, allocations: 11.94 kB / 1.424 GB, free: 13.04 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009509/0.5064, allocations: 143.4 kB / 1.424 GB, free: 12.9 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.137e-05/0.5064, allocations: 39.97 kB / 1.424 GB, free: 12.86 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.0002864/0.5067, allocations: 230.8 kB / 1.424 GB, free: 12.63 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002245/0.507, allocations: 123.2 kB / 1.424 GB, free: 12.51 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003/0.51, allocations: 1.344 MB / 1.426 GB, free: 11.16 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002415/0.5124, allocations: 1.326 MB / 1.427 GB, free: 9.766 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.5124, allocations: 3.938 kB / 1.427 GB, free: 9.762 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006473/0.513, allocations: 254.9 kB / 1.427 GB, free: 9.512 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001735/0.5132, allocations: 24 kB / 1.427 GB, free: 9.488 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008236/0.514, allocations: 103.8 kB / 1.427 GB, free: 9.387 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001357/0.5142, allocations: 60.39 kB / 1.427 GB, free: 9.328 MB / 1.123 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003174/0.5173, allocations: 1.425 MB / 1.429 GB, free: 7.895 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00396/0.5213, allocations: 2.21 MB / 1.431 GB, free: 5.668 MB / 1.123 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001142/0.5224, allocations: 0.566 MB / 1.431 GB, free: 5.102 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001141/0.5236, allocations: 0.7863 MB / 1.432 GB, free: 4.309 MB / 1.123 GB Notification: Performance of Backend: time 4.5e-07/0.5236, allocations: 4 kB / 1.432 GB, free: 4.305 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.006131/0.5297, allocations: 2.104 MB / 1.434 GB, free: 2.449 MB / 1.123 GB Notification: Performance of SimCode: time 0.004463/0.5342, allocations: 2.667 MB / 1.437 GB, free: 15.73 MB / 1.139 GB Notification: Performance of Templates: time 0.05034/0.5845, allocations: 32.91 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.Charging.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Charging.pipe ; mkfifo Buildings_12_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Charging.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Charging.pipe >> ../files/Buildings_12_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Charging.sim & ./Buildings_12_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Charging -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Charging.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Charging_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Storage_Ice_Validation_ExperimentNIST_Charging.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Charging.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: 11.217401891997724]