Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001287/0.001288, allocations: 118.2 kB / 16.42 MB, free: 6.016 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.001014/0.001014, allocations: 185.2 kB / 17.35 MB, free: 5.625 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.309/1.309, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.397/2.397, allocations: 437 MB / 0.7112 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001462, allocations: 60.12 kB / 1.019 GB, free: 9.469 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7618/0.7633, allocations: 151.6 MB / 1.167 GB, free: 3.938 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging1): time 0.0551/0.8184, allocations: 54.54 MB / 1.221 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01273/0.8312, allocations: 9.175 MB / 1.23 GB, free: 4 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00133/0.8325, allocations: 43.75 kB / 1.23 GB, free: 3.957 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001443/0.834, allocations: 0.5471 MB / 1.23 GB, free: 3.406 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.003264/0.8373, allocations: 1.403 MB / 1.232 GB, free: 1.996 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002908/0.8402, allocations: 1.249 MB / 1.233 GB, free: 0.7539 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.003141/0.8434, allocations: 2.765 MB / 1.235 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001465/0.8449, allocations: 1.104 MB / 1.237 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005053/0.8499, allocations: 2.125 MB / 1.239 GB, free: 10.74 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001088/0.851, allocations: 0.8071 MB / 1.239 GB, free: 9.93 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.000184/0.8512, allocations: 135.9 kB / 1.24 GB, free: 9.797 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003567/0.8548, allocations: 1.688 MB / 1.241 GB, free: 8.105 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003631/0.8552, allocations: 378.8 kB / 1.242 GB, free: 7.734 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0007462/0.8559, allocations: 0.7189 MB / 1.242 GB, free: 7.012 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.003114/0.8591, allocations: 2.426 MB / 1.245 GB, free: 4.578 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.8591, allocations: 0 / 1.245 GB, free: 4.578 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.583e-06/0.8591, allocations: 0 / 1.245 GB, free: 4.578 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.759e-05/0.8591, allocations: 0 / 1.245 GB, free: 4.578 MB / 0.9669 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.003059/0.8622, allocations: 1.819 MB / 1.246 GB, free: 2.695 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.8622, allocations: 12.88 kB / 1.246 GB, free: 2.684 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002368/0.8646, allocations: 0.5686 MB / 1.247 GB, free: 2.113 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002092/0.8667, allocations: 1.204 MB / 1.248 GB, free: 0.8555 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002119/0.8669, allocations: 121.4 kB / 1.248 GB, free: 0.7227 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001386/0.8671, allocations: 87.98 kB / 1.248 GB, free: 0.6367 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002152/0.8692, allocations: 1.188 MB / 1.249 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.172e-05/0.8693, allocations: 0 / 1.249 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.839e-05/0.8694, allocations: 32 kB / 1.249 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.177e-05/0.8694, allocations: 24 kB / 1.25 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002352/0.8718, allocations: 1.171 MB / 1.251 GB, free: 14.18 MB / 0.9825 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.006607/0.8784, allocations: 5.124 MB / 1.256 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001722/0.8801, allocations: 0.8017 MB / 1.256 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001085/0.8812, allocations: 0.5497 MB / 1.257 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005899/0.8818, allocations: 0.7523 MB / 1.258 GB, free: 6.523 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001285/0.8831, allocations: 0.6791 MB / 1.258 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=54): time 2.405e-06/0.8831, allocations: 0 / 1.258 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of matching and sorting (n=54): time 0.003446/0.8866, allocations: 1.591 MB / 1.26 GB, free: 4.227 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.704e-05/0.8866, allocations: 107.2 kB / 1.26 GB, free: 4.098 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001414/0.8881, allocations: 1.134 MB / 1.261 GB, free: 2.949 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 8.049e-05/0.8882, allocations: 45.7 kB / 1.261 GB, free: 2.898 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000488/0.8887, allocations: 0.5627 MB / 1.262 GB, free: 2.328 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001632/0.8888, allocations: 181.5 kB / 1.262 GB, free: 2.148 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002511/0.8891, allocations: 154.2 kB / 1.262 GB, free: 1.992 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.8892, allocations: 334 kB / 1.262 GB, free: 1.66 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001053/0.8903, allocations: 0.4953 MB / 1.263 GB, free: 1.16 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001142/0.8914, allocations: 0.6561 MB / 1.264 GB, free: 448 kB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001919/0.8934, allocations: 0.9669 MB / 1.264 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.8934, allocations: 0 / 1.264 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.002562/0.8959, allocations: 1.236 MB / 1.266 GB, free: 14.19 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.896, allocations: 8 kB / 1.266 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.896, allocations: 0 / 1.266 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.377e-05/0.896, allocations: 11.94 kB / 1.266 GB, free: 14.17 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008022/0.8968, allocations: 203.6 kB / 1.266 GB, free: 13.97 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.287e-05/0.8968, allocations: 8 kB / 1.266 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008818/0.8977, allocations: 143.3 kB / 1.266 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.629e-05/0.8978, allocations: 35.97 kB / 1.266 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001405/0.8992, allocations: 0.7471 MB / 1.267 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001119/0.9004, allocations: 0.6524 MB / 1.267 GB, free: 12.32 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001884/0.9023, allocations: 0.9708 MB / 1.268 GB, free: 11.31 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.555e-06/0.9023, allocations: 0 / 1.268 GB, free: 11.31 MB / 0.9981 GB Notification: Performance of matching and sorting (n=80) (initialization_lambda0): time 0.002496/0.9048, allocations: 1.22 MB / 1.27 GB, free: 10.08 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.9048, allocations: 4 kB / 1.27 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.9048, allocations: 4 kB / 1.27 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.135e-06/0.9048, allocations: 8 kB / 1.27 GB, free: 10.06 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007838/0.9056, allocations: 207.6 kB / 1.27 GB, free: 9.859 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.9056, allocations: 7.938 kB / 1.27 GB, free: 9.852 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008904/0.9065, allocations: 143.3 kB / 1.27 GB, free: 9.711 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.573e-05/0.9066, allocations: 39.97 kB / 1.27 GB, free: 9.672 MB / 0.9981 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.000274/0.9069, allocations: 234.4 kB / 1.27 GB, free: 9.434 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001978/0.9071, allocations: 114.6 kB / 1.27 GB, free: 9.32 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002735/0.9098, allocations: 1.295 MB / 1.272 GB, free: 8.023 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002291/0.9121, allocations: 1.292 MB / 1.273 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.9122, allocations: 4 kB / 1.273 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005315/0.9127, allocations: 327.4 kB / 1.273 GB, free: 6.316 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001706/0.9129, allocations: 19.98 kB / 1.273 GB, free: 6.297 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008065/0.9137, allocations: 115.8 kB / 1.273 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001268/0.9138, allocations: 56.42 kB / 1.273 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002967/0.9168, allocations: 1.392 MB / 1.275 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003696/0.9205, allocations: 2.142 MB / 1.277 GB, free: 2.574 MB / 0.9981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001072/0.9216, allocations: 0.5861 MB / 1.277 GB, free: 1.984 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001075/0.9227, allocations: 0.7865 MB / 1.278 GB, free: 1.191 MB / 0.9981 GB Notification: Performance of Backend: time 3.71e-07/0.9227, allocations: 0 / 1.278 GB, free: 1.191 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004919/0.9276, allocations: 2.077 MB / 1.28 GB, free: 15.29 MB / 1.014 GB Notification: Performance of SimCode: time 0.00388/0.9315, allocations: 2.623 MB / 1.283 GB, free: 12.62 MB / 1.014 GB Notification: Performance of Templates: time 0.04338/0.9749, allocations: 28.99 MB / 1.311 GB, free: 15.73 MB / 1.045 GB make -j1 -f Buildings_10_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging1.makefile (rm -f Buildings_10_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging1.pipe ; mkfifo Buildings_10_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging1.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging1.pipe >> ../files/Buildings_10_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging1.sim & ./Buildings_10_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging1.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Storage_Ice_Validation_ExperimentNIST_Discharging1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches