Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging1.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.Discharging1,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.Discharging1") translateModel(Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging1,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.Discharging1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001513/0.001513, allocations: 115.5 kB / 16.81 MB, free: 5.766 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.001531/0.001531, 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.396/1.396, allocations: 225.6 MB / 244.2 MB, free: 13.89 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.739/2.739, allocations: 476.7 MB / 0.7556 GB, free: 11.31 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001936/0.001936, allocations: 72.53 kB / 1.097 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.317/0.3189, allocations: 168.7 MB / 1.262 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging1): time 0.06516/0.3841, allocations: 54.89 MB / 1.316 GB, free: 5.863 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01438/0.3985, allocations: 9.218 MB / 1.325 GB, free: 12.62 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001405/0.3999, allocations: 43.75 kB / 1.325 GB, free: 12.57 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.00158/0.4015, allocations: 0.551 MB / 1.325 GB, free: 12.02 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0035/0.405, allocations: 1.408 MB / 1.327 GB, free: 10.61 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.003091/0.4081, allocations: 1.245 MB / 1.328 GB, free: 9.367 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.003729/0.4118, allocations: 2.782 MB / 1.331 GB, free: 6.578 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001373/0.4132, allocations: 0.9049 MB / 1.331 GB, free: 5.641 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005697/0.4189, allocations: 2.188 MB / 1.334 GB, free: 3.461 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001724/0.4206, allocations: 0.8477 MB / 1.334 GB, free: 2.609 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0002926/0.4209, allocations: 128 kB / 1.335 GB, free: 2.484 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004043/0.4249, allocations: 1.766 MB / 1.336 GB, free: 0.7148 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.00047/0.4254, allocations: 394.5 kB / 1.337 GB, free: 336 kB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.001043/0.4264, allocations: 0.7112 MB / 1.337 GB, free: 15.61 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.003942/0.4304, allocations: 2.44 MB / 1.34 GB, free: 13.16 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.4304, allocations: 4 kB / 1.34 GB, free: 13.16 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.453e-06/0.4304, allocations: 0 / 1.34 GB, free: 13.16 MB / 1.061 GB Notification: Performance of Transformations before backend: time 2.617e-05/0.4304, allocations: 0 / 1.34 GB, free: 13.16 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.003266/0.4337, allocations: 1.86 MB / 1.342 GB, free: 11.24 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.4337, allocations: 12.03 kB / 1.342 GB, free: 11.23 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002424/0.4361, allocations: 0.5771 MB / 1.342 GB, free: 10.65 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002195/0.4383, allocations: 1.213 MB / 1.343 GB, free: 9.383 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001492/0.4385, allocations: 133.3 kB / 1.343 GB, free: 9.238 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001643/0.4387, allocations: 83.95 kB / 1.344 GB, free: 9.156 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0024/0.4411, allocations: 1.188 MB / 1.345 GB, free: 7.93 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.682e-05/0.4411, allocations: 8 kB / 1.345 GB, free: 7.922 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.271e-05/0.4412, allocations: 28 kB / 1.345 GB, free: 7.895 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.042e-05/0.4412, allocations: 16 kB / 1.345 GB, free: 7.879 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002478/0.4437, allocations: 1.179 MB / 1.346 GB, free: 6.695 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.007097/0.4508, allocations: 5.133 MB / 1.351 GB, free: 1.305 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001759/0.4525, allocations: 0.7554 MB / 1.352 GB, free: 0.5352 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001134/0.4537, allocations: 0.5277 MB / 1.352 GB, free: 8 kB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006751/0.4543, allocations: 0.7484 MB / 1.353 GB, free: 15.09 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001376/0.4557, allocations: 0.6675 MB / 1.354 GB, free: 14.41 MB / 1.076 GB Notification: Performance of pre-optimization done (n=54): time 2.315e-06/0.4557, allocations: 0 / 1.354 GB, free: 14.41 MB / 1.076 GB Notification: Performance of matching and sorting (n=54): time 0.003702/0.4594, allocations: 1.599 MB / 1.355 GB, free: 12.8 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.648e-05/0.4595, allocations: 111.2 kB / 1.355 GB, free: 12.67 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001634/0.4611, allocations: 1.138 MB / 1.356 GB, free: 11.52 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 9.261e-05/0.4612, allocations: 49.7 kB / 1.356 GB, free: 11.46 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005468/0.4618, allocations: 0.5636 MB / 1.357 GB, free: 10.89 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001975/0.462, allocations: 186.4 kB / 1.357 GB, free: 10.71 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002699/0.4622, allocations: 162.2 kB / 1.357 GB, free: 10.55 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.4624, allocations: 326 kB / 1.358 GB, free: 10.22 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001096/0.4635, allocations: 0.4992 MB / 1.358 GB, free: 9.719 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001248/0.4647, allocations: 0.6484 MB / 1.359 GB, free: 9.012 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002129/0.4669, allocations: 0.9747 MB / 1.36 GB, free: 7.996 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.4669, allocations: 0 / 1.36 GB, free: 7.996 MB / 1.076 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.002812/0.4697, allocations: 1.232 MB / 1.361 GB, free: 6.758 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.4697, allocations: 9.875 kB / 1.361 GB, free: 6.75 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.4697, allocations: 4 kB / 1.361 GB, free: 6.746 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.159e-05/0.4697, allocations: 7.938 kB / 1.361 GB, free: 6.738 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008264/0.4706, allocations: 207.6 kB / 1.361 GB, free: 6.535 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.377e-05/0.4706, allocations: 7.938 kB / 1.361 GB, free: 6.527 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009138/0.4715, allocations: 151.5 kB / 1.361 GB, free: 6.379 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.119e-05/0.4716, allocations: 35.97 kB / 1.361 GB, free: 6.344 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001457/0.473, allocations: 0.7432 MB / 1.362 GB, free: 5.594 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001237/0.4743, allocations: 0.6543 MB / 1.363 GB, free: 4.887 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002057/0.4763, allocations: 0.9591 MB / 1.364 GB, free: 3.883 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.374e-06/0.4763, allocations: 160 / 1.364 GB, free: 3.883 MB / 1.076 GB Notification: Performance of matching and sorting (n=80) (initialization_lambda0): time 0.002631/0.479, allocations: 1.236 MB / 1.365 GB, free: 2.641 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.479, allocations: 11.98 kB / 1.365 GB, free: 2.629 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.479, allocations: 0 / 1.365 GB, free: 2.629 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.717e-06/0.479, allocations: 12 kB / 1.365 GB, free: 2.617 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000781/0.4798, allocations: 207.5 kB / 1.365 GB, free: 2.414 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.896e-05/0.4798, allocations: 15.92 kB / 1.365 GB, free: 2.398 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009394/0.4807, allocations: 135.6 kB / 1.365 GB, free: 2.266 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.396e-05/0.4808, allocations: 35.97 kB / 1.365 GB, free: 2.23 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.0002885/0.4811, allocations: 230.3 kB / 1.365 GB, free: 1.996 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002197/0.4813, allocations: 123.2 kB / 1.365 GB, free: 1.875 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002895/0.4842, allocations: 1.299 MB / 1.367 GB, free: 0.5703 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002377/0.4866, allocations: 1.292 MB / 1.368 GB, free: 15.21 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.4866, allocations: 0 / 1.368 GB, free: 15.21 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005539/0.4871, allocations: 332.1 kB / 1.368 GB, free: 14.87 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001855/0.4873, allocations: 24.03 kB / 1.368 GB, free: 14.84 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008131/0.4881, allocations: 103.8 kB / 1.368 GB, free: 14.74 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001372/0.4883, allocations: 56.48 kB / 1.368 GB, free: 14.69 MB / 1.092 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003073/0.4914, allocations: 1.388 MB / 1.37 GB, free: 13.29 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003946/0.4953, allocations: 2.154 MB / 1.372 GB, free: 11.12 MB / 1.092 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001121/0.4964, allocations: 0.5431 MB / 1.372 GB, free: 10.57 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001198/0.4976, allocations: 0.7865 MB / 1.373 GB, free: 9.781 MB / 1.092 GB Notification: Performance of Backend: time 2.91e-07/0.4976, allocations: 0 / 1.373 GB, free: 9.781 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.005932/0.5035, allocations: 2.041 MB / 1.375 GB, free: 7.945 MB / 1.092 GB Notification: Performance of SimCode: time 0.004363/0.5079, allocations: 2.645 MB / 1.378 GB, free: 5.25 MB / 1.092 GB Notification: Performance of Templates: time 0.04944/0.5574, allocations: 29.45 MB / 1.407 GB, free: 7.941 MB / 1.123 GB make -j1 -f Buildings_11_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging1.makefile (rm -f Buildings_11_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging1.pipe ; mkfifo Buildings_11_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging1.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging1.pipe >> ../files/Buildings_11_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging1.sim & ./Buildings_11_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging1 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging1.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Storage_Ice_Validation_ExperimentNIST_Discharging1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches