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.00148/0.00148, allocations: 109.8 kB / 16.41 MB, free: 6.512 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.001619/0.001619, allocations: 188.3 kB / 17.35 MB, free: 5.734 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.339/1.339, allocations: 222.9 MB / 241.1 MB, free: 15.13 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.47/2.47, allocations: 437 MB / 0.7112 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001476/0.001476, allocations: 64.12 kB / 1.019 GB, free: 9.336 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7354/0.7369, allocations: 151.6 MB / 1.167 GB, free: 3.77 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging1): time 0.05882/0.7958, allocations: 54.55 MB / 1.221 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01285/0.8087, allocations: 9.167 MB / 1.23 GB, free: 3.824 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001467/0.8102, allocations: 43.75 kB / 1.23 GB, free: 3.781 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001629/0.8118, allocations: 0.5508 MB / 1.23 GB, free: 3.23 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.003623/0.8155, allocations: 1.405 MB / 1.232 GB, free: 1.82 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.003016/0.8185, allocations: 1.238 MB / 1.233 GB, free: 0.5898 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.003481/0.822, allocations: 2.769 MB / 1.235 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001624/0.8236, allocations: 1.104 MB / 1.237 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004758/0.8284, allocations: 2.122 MB / 1.239 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001255/0.8297, allocations: 0.8127 MB / 1.239 GB, free: 9.758 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002597/0.8299, allocations: 131.9 kB / 1.24 GB, free: 9.629 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003493/0.8334, allocations: 1.689 MB / 1.241 GB, free: 7.938 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003931/0.8339, allocations: 374.8 kB / 1.242 GB, free: 7.57 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0008331/0.8347, allocations: 0.7267 MB / 1.242 GB, free: 6.84 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.00329/0.838, allocations: 2.433 MB / 1.245 GB, free: 4.398 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.838, allocations: 0 / 1.245 GB, free: 4.398 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.393e-06/0.838, allocations: 0 / 1.245 GB, free: 4.398 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.102e-05/0.8381, allocations: 0 / 1.245 GB, free: 4.398 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.003195/0.8413, allocations: 1.871 MB / 1.246 GB, free: 2.461 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.8413, allocations: 12.88 kB / 1.246 GB, free: 2.449 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00236/0.8437, allocations: 0.5773 MB / 1.247 GB, free: 1.871 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002117/0.8458, allocations: 1.205 MB / 1.248 GB, free: 0.6133 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001519/0.846, allocations: 129.3 kB / 1.248 GB, free: 484 kB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001364/0.8461, allocations: 80 kB / 1.248 GB, free: 404 kB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002138/0.8483, allocations: 1.191 MB / 1.25 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.647e-05/0.8483, allocations: 3.953 kB / 1.25 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.93e-05/0.8484, allocations: 35.98 kB / 1.25 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.864e-05/0.8484, allocations: 24 kB / 1.25 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002392/0.8508, allocations: 1.167 MB / 1.251 GB, free: 13.93 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.00664/0.8575, allocations: 5.121 MB / 1.256 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0017/0.8592, allocations: 0.8121 MB / 1.257 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00106/0.8603, allocations: 0.5613 MB / 1.257 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006618/0.861, allocations: 0.7445 MB / 1.258 GB, free: 6.266 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001366/0.8623, allocations: 0.6713 MB / 1.258 GB, free: 5.578 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=54): time 4.158e-06/0.8624, allocations: 0 / 1.258 GB, free: 5.578 MB / 0.9825 GB Notification: Performance of matching and sorting (n=54): time 0.003694/0.866, allocations: 1.599 MB / 1.26 GB, free: 3.969 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.596e-05/0.8662, allocations: 119.2 kB / 1.26 GB, free: 3.828 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001901/0.8681, allocations: 1.13 MB / 1.261 GB, free: 2.684 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001029/0.8682, allocations: 49.69 kB / 1.261 GB, free: 2.629 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005764/0.8688, allocations: 0.5635 MB / 1.262 GB, free: 2.059 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002173/0.869, allocations: 194.5 kB / 1.262 GB, free: 1.867 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002812/0.8693, allocations: 154.2 kB / 1.262 GB, free: 1.711 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001178/0.8694, allocations: 326 kB / 1.262 GB, free: 1.387 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00103/0.8704, allocations: 0.4992 MB / 1.263 GB, free: 0.8828 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001179/0.8716, allocations: 0.6522 MB / 1.264 GB, free: 168 kB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002018/0.8737, allocations: 0.9669 MB / 1.265 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.043e-06/0.8737, allocations: 4 kB / 1.265 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.002901/0.8766, allocations: 1.232 MB / 1.266 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.8766, allocations: 8 kB / 1.266 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/0.8767, allocations: 4 kB / 1.266 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.656e-05/0.8767, allocations: 7.938 kB / 1.266 GB, free: 13.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007975/0.8775, allocations: 215.6 kB / 1.266 GB, free: 13.69 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.13e-05/0.8775, allocations: 7.984 kB / 1.266 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001081/0.8786, allocations: 143.4 kB / 1.266 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001017/0.8787, allocations: 39.97 kB / 1.266 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001509/0.8802, allocations: 0.7471 MB / 1.267 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001123/0.8814, allocations: 0.6483 MB / 1.268 GB, free: 12.04 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001903/0.8833, allocations: 0.9669 MB / 1.268 GB, free: 11.03 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.683e-06/0.8833, allocations: 4 kB / 1.268 GB, free: 11.03 MB / 0.9981 GB Notification: Performance of matching and sorting (n=80) (initialization_lambda0): time 0.00276/0.8861, allocations: 1.228 MB / 1.27 GB, free: 9.789 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.8861, allocations: 8 kB / 1.27 GB, free: 9.781 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.8861, allocations: 4 kB / 1.27 GB, free: 9.777 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.576e-06/0.8861, allocations: 4 kB / 1.27 GB, free: 9.773 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007914/0.8869, allocations: 203.6 kB / 1.27 GB, free: 9.574 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.497e-05/0.887, allocations: 11.94 kB / 1.27 GB, free: 9.562 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009747/0.8879, allocations: 139.6 kB / 1.27 GB, free: 9.426 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-05/0.888, allocations: 31.97 kB / 1.27 GB, free: 9.395 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.0002729/0.8883, allocations: 238.2 kB / 1.27 GB, free: 9.152 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002906/0.8886, allocations: 123.2 kB / 1.27 GB, free: 9.031 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00287/0.8915, allocations: 1.295 MB / 1.272 GB, free: 7.734 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00223/0.8937, allocations: 1.288 MB / 1.273 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.8937, allocations: 4 kB / 1.273 GB, free: 6.371 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005508/0.8943, allocations: 340 kB / 1.273 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001971/0.8945, allocations: 20 kB / 1.273 GB, free: 6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008266/0.8953, allocations: 111.8 kB / 1.273 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001293/0.8955, allocations: 56.42 kB / 1.273 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003031/0.8985, allocations: 1.392 MB / 1.275 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003728/0.9023, allocations: 2.146 MB / 1.277 GB, free: 2.273 MB / 0.9981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001097/0.9034, allocations: 0.5861 MB / 1.277 GB, free: 1.684 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001125/0.9045, allocations: 0.7787 MB / 1.278 GB, free: 0.8984 MB / 0.9981 GB Notification: Performance of Backend: time 4.01e-07/0.9045, allocations: 0 / 1.278 GB, free: 0.8984 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.005001/0.9095, allocations: 2.097 MB / 1.28 GB, free: 14.98 MB / 1.014 GB Notification: Performance of SimCode: time 0.004039/0.9136, allocations: 2.651 MB / 1.283 GB, free: 12.28 MB / 1.014 GB Notification: Performance of Templates: time 0.04615/0.9597, allocations: 29 MB / 1.311 GB, free: 15.39 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