Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001338/0.001338, allocations: 109.8 kB / 16.41 MB, free: 6.449 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.001381/0.001381, allocations: 188.3 kB / 17.35 MB, free: 5.738 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.328/1.328, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.199/2.199, allocations: 390.2 MB / 0.6655 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.001389, allocations: 71.83 kB / 0.9516 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7606/0.762, allocations: 140.4 MB / 1.089 GB, free: 5.543 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging1): time 0.05808/0.8201, allocations: 54.53 MB / 1.142 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01496/0.8351, allocations: 9.176 MB / 1.151 GB, free: 8.059 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001781/0.8369, allocations: 44.28 kB / 1.151 GB, free: 8.043 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001866/0.8388, allocations: 0.5474 MB / 1.151 GB, free: 7.703 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.004445/0.8433, allocations: 1.407 MB / 1.153 GB, free: 6.855 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003538/0.8468, allocations: 1.242 MB / 1.154 GB, free: 6.164 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.004164/0.851, allocations: 2.775 MB / 1.157 GB, free: 4.805 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001899/0.8529, allocations: 1.098 MB / 1.158 GB, free: 4.258 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005422/0.8584, allocations: 2.12 MB / 1.16 GB, free: 3.301 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001683/0.8601, allocations: 0.8072 MB / 1.161 GB, free: 2.902 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0004177/0.8605, allocations: 130.2 kB / 1.161 GB, free: 2.902 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004597/0.8651, allocations: 1.694 MB / 1.162 GB, free: 2.332 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0005922/0.8657, allocations: 385.1 kB / 1.163 GB, free: 2.105 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001336/0.8671, allocations: 0.7151 MB / 1.164 GB, free: 1.629 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.004542/0.8716, allocations: 2.426 MB / 1.166 GB, free: 0.7109 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.8716, allocations: 0 / 1.166 GB, free: 0.7109 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.082e-06/0.8716, allocations: 0 / 1.166 GB, free: 0.7109 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 7.023e-05/0.8717, allocations: 0 / 1.166 GB, free: 0.7109 MB / 0.9044 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.004095/0.8758, allocations: 1.815 MB / 1.168 GB, free: 15.46 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.8759, allocations: 8.812 kB / 1.168 GB, free: 15.46 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00246/0.8783, allocations: 0.5702 MB / 1.168 GB, free: 15.29 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002511/0.8808, allocations: 1.204 MB / 1.169 GB, free: 14.34 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001484/0.881, allocations: 128.1 kB / 1.17 GB, free: 14.24 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001595/0.8812, allocations: 82.16 kB / 1.17 GB, free: 14.21 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002279/0.8835, allocations: 1.18 MB / 1.171 GB, free: 13.48 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.338e-05/0.8835, allocations: 4 kB / 1.171 GB, free: 13.47 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.333e-05/0.8836, allocations: 32.06 kB / 1.171 GB, free: 13.45 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.841e-05/0.8837, allocations: 19.56 kB / 1.171 GB, free: 13.45 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002402/0.8861, allocations: 1.174 MB / 1.172 GB, free: 12.86 MB / 0.92 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.007549/0.8936, allocations: 5.135 MB / 1.177 GB, free: 8.617 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001677/0.8953, allocations: 0.8133 MB / 1.178 GB, free: 8.195 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001064/0.8964, allocations: 0.5467 MB / 1.178 GB, free: 7.922 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005693/0.897, allocations: 0.7392 MB / 1.179 GB, free: 7.055 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00129/0.8983, allocations: 0.6757 MB / 1.18 GB, free: 6.648 MB / 0.92 GB Notification: Performance of pre-optimization done (n=54): time 3.606e-06/0.8983, allocations: 0 / 1.18 GB, free: 6.648 MB / 0.92 GB Notification: Performance of matching and sorting (n=54): time 0.00351/0.9018, allocations: 1.595 MB / 1.181 GB, free: 5.848 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.094e-05/0.9019, allocations: 110.1 kB / 1.181 GB, free: 5.723 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00166/0.9036, allocations: 1.134 MB / 1.182 GB, free: 5.094 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 9.518e-05/0.9037, allocations: 48.38 kB / 1.182 GB, free: 5.047 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004868/0.9042, allocations: 0.5597 MB / 1.183 GB, free: 4.551 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.000184/0.9044, allocations: 176.8 kB / 1.183 GB, free: 4.398 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000265/0.9046, allocations: 150.2 kB / 1.183 GB, free: 4.309 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001156/0.9048, allocations: 335.6 kB / 1.184 GB, free: 3.98 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001005/0.9058, allocations: 0.4964 MB / 1.184 GB, free: 3.727 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001176/0.907, allocations: 0.6493 MB / 1.185 GB, free: 3.285 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002051/0.909, allocations: 0.9679 MB / 1.186 GB, free: 2.727 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.909, allocations: 1.406 kB / 1.186 GB, free: 2.727 MB / 0.92 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.002869/0.9119, allocations: 1.232 MB / 1.187 GB, free: 2.102 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.393e-05/0.9119, allocations: 10.33 kB / 1.187 GB, free: 2.098 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.431e-05/0.912, allocations: 3.688 kB / 1.187 GB, free: 2.098 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.484e-05/0.912, allocations: 18.06 kB / 1.187 GB, free: 2.086 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007953/0.9128, allocations: 197.7 kB / 1.187 GB, free: 2.02 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.298e-05/0.9128, allocations: 13.89 kB / 1.187 GB, free: 2.012 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00134/0.9142, allocations: 145.2 kB / 1.187 GB, free: 1.926 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001097/0.9143, allocations: 35.73 kB / 1.187 GB, free: 1.914 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00151/0.9158, allocations: 0.7495 MB / 1.188 GB, free: 1.48 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001156/0.917, allocations: 0.6454 MB / 1.189 GB, free: 1.051 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00198/0.919, allocations: 0.9648 MB / 1.19 GB, free: 492 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.799e-06/0.919, allocations: 1.125 kB / 1.19 GB, free: 492 kB / 0.92 GB Notification: Performance of matching and sorting (n=80) (initialization_lambda0): time 0.002725/0.9217, allocations: 1.222 MB / 1.191 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.9218, allocations: 6.531 kB / 1.191 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.9218, allocations: 3.75 kB / 1.191 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/0.9218, allocations: 9.906 kB / 1.191 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007842/0.9226, allocations: 204.6 kB / 1.191 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.623e-05/0.9226, allocations: 13.56 kB / 1.191 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001108/0.9237, allocations: 138 kB / 1.191 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.472e-05/0.9238, allocations: 38.75 kB / 1.191 GB, free: 15.68 MB / 0.9356 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.0003133/0.9241, allocations: 242 kB / 1.191 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003547/0.9245, allocations: 113.6 kB / 1.192 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002883/0.9274, allocations: 1.304 MB / 1.193 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002233/0.9296, allocations: 1.293 MB / 1.194 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.84e-06/0.9296, allocations: 1.188 kB / 1.194 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006739/0.9303, allocations: 331.1 kB / 1.194 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002698/0.9306, allocations: 19.22 kB / 1.194 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008801/0.9315, allocations: 109.2 kB / 1.195 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001337/0.9316, allocations: 53.52 kB / 1.195 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003023/0.9347, allocations: 1.389 MB / 1.196 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003673/0.9384, allocations: 2.143 MB / 1.198 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001048/0.9394, allocations: 0.5916 MB / 1.199 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001234/0.9407, allocations: 0.7863 MB / 1.199 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of Backend: time 3.3e-07/0.9407, allocations: 0 / 1.199 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.005302/0.946, allocations: 2.069 MB / 1.201 GB, free: 9.734 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0043/0.9503, allocations: 2.626 MB / 1.204 GB, free: 7.105 MB / 0.9356 GB Notification: Performance of Templates: time 0.04453/0.9948, allocations: 28.99 MB / 1.232 GB, free: 10.25 MB / 0.9669 GB make -j1 -f Buildings_9_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging1.makefile (rm -f Buildings_9_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging1.pipe ; mkfifo Buildings_9_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging1.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging1.pipe >> ../files/Buildings_9_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging1.sim & ./Buildings_9_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Storage_Ice_Validation_ExperimentNIST_Discharging1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches