Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001097/0.001097, allocations: 119.5 kB / 16.42 MB, free: 6.488 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.001042/0.001042, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.317/1.317, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.62/2.62, allocations: 461.9 MB / 0.7355 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 71.81 kB / 1.055 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7221/0.7234, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging1): time 0.06118/0.7846, allocations: 54.55 MB / 1.262 GB, free: 6.883 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01374/0.7984, allocations: 9.169 MB / 1.271 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001616/0.8, allocations: 43.75 kB / 1.271 GB, free: 13.65 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001771/0.8018, allocations: 0.5471 MB / 1.271 GB, free: 13.1 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003832/0.8057, allocations: 1.341 MB / 1.273 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003311/0.809, allocations: 1.233 MB / 1.274 GB, free: 10.53 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003805/0.8128, allocations: 2.759 MB / 1.276 GB, free: 7.758 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001821/0.8147, allocations: 1.104 MB / 1.278 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005049/0.8197, allocations: 2.121 MB / 1.28 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001518/0.8213, allocations: 0.8204 MB / 1.28 GB, free: 3.691 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004213/0.8217, allocations: 128 kB / 1.281 GB, free: 3.566 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004002/0.8257, allocations: 1.688 MB / 1.282 GB, free: 1.875 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004865/0.8262, allocations: 370.8 kB / 1.283 GB, free: 1.512 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001239/0.8275, allocations: 0.7268 MB / 1.283 GB, free: 0.7812 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003649/0.8311, allocations: 2.426 MB / 1.286 GB, free: 14.34 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.8312, allocations: 0 / 1.286 GB, free: 14.34 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.393e-06/0.8312, allocations: 0 / 1.286 GB, free: 14.34 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.368e-05/0.8312, allocations: 0 / 1.286 GB, free: 14.34 MB / 1.014 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.003085/0.8343, allocations: 1.815 MB / 1.287 GB, free: 12.47 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.8343, allocations: 8.031 kB / 1.287 GB, free: 12.46 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002361/0.8367, allocations: 0.5647 MB / 1.288 GB, free: 11.9 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002169/0.8389, allocations: 1.204 MB / 1.289 GB, free: 10.64 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001465/0.839, allocations: 125.4 kB / 1.289 GB, free: 10.5 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001363/0.8392, allocations: 83.98 kB / 1.289 GB, free: 10.42 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002154/0.8413, allocations: 1.195 MB / 1.29 GB, free: 9.184 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.086e-05/0.8414, allocations: 0 / 1.29 GB, free: 9.184 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.028e-05/0.8415, allocations: 32 kB / 1.291 GB, free: 9.152 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.663e-05/0.8415, allocations: 20 kB / 1.291 GB, free: 9.133 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002315/0.8438, allocations: 1.175 MB / 1.292 GB, free: 7.961 MB / 1.014 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.006882/0.8507, allocations: 5.108 MB / 1.297 GB, free: 2.59 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001712/0.8525, allocations: 0.818 MB / 1.297 GB, free: 1.762 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001069/0.8535, allocations: 0.5512 MB / 1.298 GB, free: 1.211 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000699/0.8543, allocations: 0.7445 MB / 1.299 GB, free: 308 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001333/0.8556, allocations: 0.6793 MB / 1.299 GB, free: 15.61 MB / 1.029 GB Notification: Performance of pre-optimization done (n=54): time 2.925e-06/0.8556, allocations: 0 / 1.299 GB, free: 15.61 MB / 1.029 GB Notification: Performance of matching and sorting (n=54): time 0.003415/0.859, allocations: 1.587 MB / 1.301 GB, free: 14.01 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.547e-05/0.8591, allocations: 119.2 kB / 1.301 GB, free: 13.87 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001419/0.8605, allocations: 1.134 MB / 1.302 GB, free: 12.72 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 8.583e-05/0.8606, allocations: 53.62 kB / 1.302 GB, free: 12.66 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004686/0.8611, allocations: 0.5588 MB / 1.303 GB, free: 12.09 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001749/0.8613, allocations: 177.5 kB / 1.303 GB, free: 11.92 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000247/0.8615, allocations: 154.2 kB / 1.303 GB, free: 11.76 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.8617, allocations: 326 kB / 1.303 GB, free: 11.44 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009829/0.8627, allocations: 0.4992 MB / 1.304 GB, free: 10.93 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001133/0.8638, allocations: 0.6484 MB / 1.305 GB, free: 10.23 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001858/0.8657, allocations: 0.9669 MB / 1.305 GB, free: 9.219 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.123e-06/0.8657, allocations: 0 / 1.305 GB, free: 9.219 MB / 1.029 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.002564/0.8683, allocations: 1.232 MB / 1.307 GB, free: 7.977 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.8683, allocations: 11.98 kB / 1.307 GB, free: 7.965 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.8683, allocations: 4 kB / 1.307 GB, free: 7.961 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/0.8683, allocations: 7.938 kB / 1.307 GB, free: 7.953 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007691/0.8691, allocations: 219.6 kB / 1.307 GB, free: 7.738 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/0.8691, allocations: 4 kB / 1.307 GB, free: 7.734 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008508/0.87, allocations: 143.3 kB / 1.307 GB, free: 7.594 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-05/0.8701, allocations: 39.97 kB / 1.307 GB, free: 7.555 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001345/0.8714, allocations: 0.7393 MB / 1.308 GB, free: 6.809 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001092/0.8725, allocations: 0.6522 MB / 1.308 GB, free: 6.102 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001808/0.8744, allocations: 0.963 MB / 1.309 GB, free: 5.094 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.035e-06/0.8744, allocations: 4 kB / 1.309 GB, free: 5.09 MB / 1.029 GB Notification: Performance of matching and sorting (n=80) (initialization_lambda0): time 0.002444/0.8768, allocations: 1.224 MB / 1.311 GB, free: 3.859 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.8768, allocations: 8 kB / 1.311 GB, free: 3.852 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.8769, allocations: 0 / 1.311 GB, free: 3.852 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.02e-05/0.8769, allocations: 8 kB / 1.311 GB, free: 3.844 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007621/0.8776, allocations: 207.6 kB / 1.311 GB, free: 3.641 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.299e-05/0.8777, allocations: 11.94 kB / 1.311 GB, free: 3.629 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008818/0.8786, allocations: 135.5 kB / 1.311 GB, free: 3.496 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.932e-05/0.8786, allocations: 35.97 kB / 1.311 GB, free: 3.461 MB / 1.029 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.0002487/0.8789, allocations: 226.4 kB / 1.311 GB, free: 3.234 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002264/0.8791, allocations: 114.6 kB / 1.311 GB, free: 3.121 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002727/0.8819, allocations: 1.307 MB / 1.313 GB, free: 1.805 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002208/0.8841, allocations: 1.289 MB / 1.314 GB, free: 456 kB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.8841, allocations: 3.938 kB / 1.314 GB, free: 452 kB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004986/0.8846, allocations: 331.4 kB / 1.314 GB, free: 100 kB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002087/0.8848, allocations: 24 kB / 1.314 GB, free: 76 kB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008528/0.8857, allocations: 107.8 kB / 1.314 GB, free: 15.97 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001292/0.8858, allocations: 52.48 kB / 1.314 GB, free: 15.92 MB / 1.045 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002979/0.8888, allocations: 1.4 MB / 1.316 GB, free: 14.52 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003677/0.8925, allocations: 2.146 MB / 1.318 GB, free: 12.35 MB / 1.045 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001071/0.8936, allocations: 0.5861 MB / 1.318 GB, free: 11.77 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001252/0.8949, allocations: 0.7826 MB / 1.319 GB, free: 10.98 MB / 1.045 GB Notification: Performance of Backend: time 4.51e-07/0.8949, allocations: 3.938 kB / 1.319 GB, free: 10.97 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.005054/0.8999, allocations: 2.076 MB / 1.321 GB, free: 9.102 MB / 1.045 GB Notification: Performance of SimCode: time 0.004318/0.9043, allocations: 2.615 MB / 1.324 GB, free: 6.441 MB / 1.045 GB Notification: Performance of Templates: time 0.04563/0.9499, allocations: 28.99 MB / 1.352 GB, free: 9.582 MB / 1.076 GB make -j1 -f Buildings_latest_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging1.makefile (rm -f Buildings_latest_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging1.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging1.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging1.sim & ./Buildings_latest_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Storage_Ice_Validation_ExperimentNIST_Discharging1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches