Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging2.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.Discharging2,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.Discharging2") translateModel(Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging2,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.Discharging2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 110.3 kB / 16.41 MB, free: 6.52 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.001169/0.001169, allocations: 186.7 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.321/1.321, 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 12.0.0-master/package.mo): time 2.731/2.731, allocations: 472.7 MB / 0.746 GB, free: 408 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 71.88 kB / 1.07 GB, free: 9.48 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7155/0.7169, allocations: 159.9 MB / 1.226 GB, free: 13.42 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging2): time 0.05425/0.7711, allocations: 54.54 MB / 1.28 GB, free: 6.691 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01246/0.7836, allocations: 9.177 MB / 1.289 GB, free: 13.49 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001283/0.785, allocations: 47.69 kB / 1.289 GB, free: 13.45 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001413/0.7864, allocations: 0.5622 MB / 1.289 GB, free: 12.88 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.003177/0.7896, allocations: 1.399 MB / 1.291 GB, free: 11.48 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002875/0.7925, allocations: 1.237 MB / 1.292 GB, free: 10.25 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003079/0.7956, allocations: 2.77 MB / 1.294 GB, free: 7.473 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001333/0.7969, allocations: 1.096 MB / 1.296 GB, free: 6.344 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004647/0.8016, allocations: 2.113 MB / 1.298 GB, free: 4.242 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001112/0.8027, allocations: 0.8089 MB / 1.298 GB, free: 3.43 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001823/0.8029, allocations: 128 kB / 1.299 GB, free: 3.305 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003388/0.8063, allocations: 1.696 MB / 1.3 GB, free: 1.605 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003285/0.8066, allocations: 386.7 kB / 1.301 GB, free: 1.227 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0007241/0.8074, allocations: 0.7151 MB / 1.301 GB, free: 0.5078 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003101/0.8105, allocations: 2.433 MB / 1.304 GB, free: 14.06 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.8105, allocations: 0 / 1.304 GB, free: 14.06 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.002e-06/0.8105, allocations: 4 kB / 1.304 GB, free: 14.06 MB / 1.029 GB Notification: Performance of Transformations before backend: time 2.119e-05/0.8105, allocations: 0 / 1.304 GB, free: 14.06 MB / 1.029 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.002691/0.8132, allocations: 1.856 MB / 1.305 GB, free: 12.14 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.8133, allocations: 12.03 kB / 1.305 GB, free: 12.12 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002212/0.8155, allocations: 0.5695 MB / 1.306 GB, free: 11.55 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001906/0.8174, allocations: 1.225 MB / 1.307 GB, free: 10.28 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001274/0.8175, allocations: 129.3 kB / 1.307 GB, free: 10.14 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001383/0.8177, allocations: 83.95 kB / 1.307 GB, free: 10.05 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002035/0.8197, allocations: 1.184 MB / 1.309 GB, free: 8.832 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.822e-05/0.8198, allocations: 8 kB / 1.309 GB, free: 8.824 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.413e-05/0.8199, allocations: 35.92 kB / 1.309 GB, free: 8.789 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.047e-05/0.8199, allocations: 16 kB / 1.309 GB, free: 8.773 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002338/0.8223, allocations: 1.171 MB / 1.31 GB, free: 7.602 MB / 1.029 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.006272/0.8285, allocations: 5.136 MB / 1.315 GB, free: 2.207 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001642/0.8302, allocations: 0.8094 MB / 1.316 GB, free: 1.387 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001064/0.8313, allocations: 0.5564 MB / 1.316 GB, free: 0.8242 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005504/0.8318, allocations: 0.7445 MB / 1.317 GB, free: 15.91 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001245/0.8331, allocations: 0.6675 MB / 1.317 GB, free: 15.23 MB / 1.045 GB Notification: Performance of pre-optimization done (n=54): time 2.324e-06/0.8331, allocations: 0 / 1.317 GB, free: 15.23 MB / 1.045 GB Notification: Performance of matching and sorting (n=54): time 0.00336/0.8365, allocations: 1.599 MB / 1.319 GB, free: 13.62 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.767e-05/0.8365, allocations: 111.2 kB / 1.319 GB, free: 13.49 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001381/0.8379, allocations: 1.131 MB / 1.32 GB, free: 12.34 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 7.797e-05/0.838, allocations: 41.7 kB / 1.32 GB, free: 12.3 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004385/0.8385, allocations: 0.5791 MB / 1.321 GB, free: 11.71 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001557/0.8386, allocations: 186.4 kB / 1.321 GB, free: 11.53 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002507/0.8389, allocations: 154.2 kB / 1.321 GB, free: 11.37 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.839, allocations: 334 kB / 1.322 GB, free: 11.04 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001003/0.84, allocations: 0.4992 MB / 1.322 GB, free: 10.54 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001113/0.8411, allocations: 0.6484 MB / 1.323 GB, free: 9.828 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001889/0.843, allocations: 0.9669 MB / 1.324 GB, free: 8.82 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.843, allocations: 0 / 1.324 GB, free: 8.82 MB / 1.045 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.002452/0.8455, allocations: 1.24 MB / 1.325 GB, free: 7.574 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.8455, allocations: 9.875 kB / 1.325 GB, free: 7.566 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.8456, allocations: 0 / 1.325 GB, free: 7.566 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/0.8456, allocations: 11.94 kB / 1.325 GB, free: 7.555 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008028/0.8464, allocations: 203.6 kB / 1.325 GB, free: 7.355 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.494e-05/0.8464, allocations: 11.94 kB / 1.325 GB, free: 7.344 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008508/0.8473, allocations: 147.5 kB / 1.325 GB, free: 7.199 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.51e-05/0.8474, allocations: 31.97 kB / 1.325 GB, free: 7.168 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001333/0.8487, allocations: 0.751 MB / 1.326 GB, free: 6.41 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001108/0.8498, allocations: 0.6445 MB / 1.327 GB, free: 5.707 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001846/0.8517, allocations: 0.9669 MB / 1.327 GB, free: 4.695 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.685e-06/0.8517, allocations: 4 kB / 1.328 GB, free: 4.691 MB / 1.045 GB Notification: Performance of matching and sorting (n=80) (initialization_lambda0): time 0.002461/0.8542, allocations: 1.228 MB / 1.329 GB, free: 3.453 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.8542, allocations: 4 kB / 1.329 GB, free: 3.449 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.8542, allocations: 4 kB / 1.329 GB, free: 3.445 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.245e-06/0.8542, allocations: 8 kB / 1.329 GB, free: 3.438 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007721/0.855, allocations: 207.6 kB / 1.329 GB, free: 3.234 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/0.855, allocations: 15.81 kB / 1.329 GB, free: 3.219 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008664/0.8559, allocations: 139.5 kB / 1.329 GB, free: 3.082 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.784e-05/0.856, allocations: 43.95 kB / 1.329 GB, free: 3.039 MB / 1.045 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.000256/0.8562, allocations: 235.6 kB / 1.329 GB, free: 2.805 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001957/0.8564, allocations: 127.2 kB / 1.329 GB, free: 2.68 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002694/0.8591, allocations: 1.287 MB / 1.331 GB, free: 1.387 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002162/0.8613, allocations: 1.292 MB / 1.332 GB, free: 24 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.8613, allocations: 4 kB / 1.332 GB, free: 20 kB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004623/0.8618, allocations: 340 kB / 1.332 GB, free: 15.67 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001615/0.862, allocations: 16 kB / 1.332 GB, free: 15.65 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007439/0.8627, allocations: 111.8 kB / 1.332 GB, free: 15.54 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001271/0.8628, allocations: 56.47 kB / 1.332 GB, free: 15.49 MB / 1.061 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002837/0.8657, allocations: 1.388 MB / 1.334 GB, free: 14.09 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003502/0.8692, allocations: 2.15 MB / 1.336 GB, free: 11.93 MB / 1.061 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001043/0.8703, allocations: 0.5861 MB / 1.337 GB, free: 11.34 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001034/0.8713, allocations: 0.7865 MB / 1.337 GB, free: 10.54 MB / 1.061 GB Notification: Performance of Backend: time 6.21e-07/0.8713, allocations: 0 / 1.337 GB, free: 10.54 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.004821/0.8762, allocations: 2.086 MB / 1.339 GB, free: 8.664 MB / 1.061 GB Notification: Performance of SimCode: time 0.003663/0.8798, allocations: 2.662 MB / 1.342 GB, free: 5.953 MB / 1.061 GB Notification: Performance of Templates: time 0.04191/0.9218, allocations: 28.99 MB / 1.37 GB, free: 9.094 MB / 1.092 GB make -j1 -f Buildings_latest_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging2.makefile (rm -f Buildings_latest_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging2.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging2.sim & ./Buildings_latest_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging2.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Storage_Ice_Validation_ExperimentNIST_Discharging2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches