Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging3.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.Discharging3,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.Discharging3") translateModel(Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging3,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.Discharging3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001342/0.001342, allocations: 115.2 kB / 16.42 MB, free: 6.5 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.00141/0.00141, 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.456/1.456, 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.634/2.634, allocations: 461.9 MB / 0.7355 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 64.12 kB / 1.055 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7427/0.744, allocations: 157.4 MB / 1.208 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging3): time 0.05526/0.7993, allocations: 54.53 MB / 1.262 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01274/0.8121, allocations: 9.172 MB / 1.271 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001078/0.8132, allocations: 47.69 kB / 1.271 GB, free: 13.83 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001332/0.8146, allocations: 0.5432 MB / 1.271 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002808/0.8174, allocations: 1.34 MB / 1.273 GB, free: 11.94 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002663/0.8201, allocations: 1.241 MB / 1.274 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003432/0.8235, allocations: 2.756 MB / 1.276 GB, free: 7.941 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001511/0.825, allocations: 1.108 MB / 1.278 GB, free: 6.805 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005065/0.8301, allocations: 2.115 MB / 1.28 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001333/0.8315, allocations: 0.8128 MB / 1.28 GB, free: 3.883 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001873/0.8317, allocations: 128 kB / 1.281 GB, free: 3.758 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003603/0.8353, allocations: 1.692 MB / 1.282 GB, free: 2.062 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003456/0.8356, allocations: 374.8 kB / 1.283 GB, free: 1.695 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007833/0.8364, allocations: 0.719 MB / 1.283 GB, free: 0.9727 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003401/0.8398, allocations: 2.422 MB / 1.286 GB, free: 14.54 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.8398, allocations: 0 / 1.286 GB, free: 14.54 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.773e-06/0.8399, allocations: 8 kB / 1.286 GB, free: 14.54 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.861e-05/0.8399, allocations: 0 / 1.286 GB, free: 14.54 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.00279/0.8427, allocations: 1.811 MB / 1.287 GB, free: 12.66 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.8427, allocations: 12.03 kB / 1.287 GB, free: 12.65 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002422/0.8452, allocations: 0.5608 MB / 1.288 GB, free: 12.09 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002169/0.8473, allocations: 1.208 MB / 1.289 GB, free: 10.82 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000132/0.8475, allocations: 125.4 kB / 1.289 GB, free: 10.69 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001482/0.8476, allocations: 83.92 kB / 1.289 GB, free: 10.61 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002141/0.8498, allocations: 1.191 MB / 1.29 GB, free: 9.375 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.209e-05/0.8498, allocations: 4 kB / 1.29 GB, free: 9.371 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.525e-05/0.8499, allocations: 32 kB / 1.291 GB, free: 9.34 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.955e-05/0.85, allocations: 16 kB / 1.291 GB, free: 9.324 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002324/0.8523, allocations: 1.179 MB / 1.292 GB, free: 8.148 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.006341/0.8586, allocations: 5.124 MB / 1.297 GB, free: 2.762 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001678/0.8603, allocations: 0.812 MB / 1.297 GB, free: 1.941 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001117/0.8615, allocations: 0.5486 MB / 1.298 GB, free: 1.391 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005856/0.8621, allocations: 0.7445 MB / 1.299 GB, free: 492 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001301/0.8634, allocations: 0.6713 MB / 1.299 GB, free: 15.79 MB / 1.029 GB Notification: Performance of pre-optimization done (n=54): time 2.474e-06/0.8634, allocations: 4 kB / 1.299 GB, free: 15.79 MB / 1.029 GB Notification: Performance of matching and sorting (n=54): time 0.003408/0.8668, allocations: 1.587 MB / 1.301 GB, free: 14.19 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.532e-05/0.8669, allocations: 119.2 kB / 1.301 GB, free: 14.05 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001433/0.8683, allocations: 1.134 MB / 1.302 GB, free: 12.9 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.639e-05/0.8684, allocations: 41.7 kB / 1.302 GB, free: 12.86 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004579/0.8689, allocations: 0.5666 MB / 1.303 GB, free: 12.28 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002242/0.8691, allocations: 169.5 kB / 1.303 GB, free: 12.11 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000245/0.8694, allocations: 158.1 kB / 1.303 GB, free: 11.95 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001231/0.8695, allocations: 334 kB / 1.303 GB, free: 11.62 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001007/0.8705, allocations: 0.4952 MB / 1.304 GB, free: 11.12 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001134/0.8717, allocations: 0.6523 MB / 1.305 GB, free: 10.41 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001914/0.8736, allocations: 0.9669 MB / 1.305 GB, free: 9.402 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.8736, allocations: 0 / 1.305 GB, free: 9.402 MB / 1.029 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.002511/0.8761, allocations: 1.232 MB / 1.307 GB, free: 8.16 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.8761, allocations: 9.875 kB / 1.307 GB, free: 8.152 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.8762, allocations: 4 kB / 1.307 GB, free: 8.148 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.061e-05/0.8762, allocations: 11.94 kB / 1.307 GB, free: 8.137 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008138/0.877, allocations: 203.6 kB / 1.307 GB, free: 7.938 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.554e-05/0.877, allocations: 11.94 kB / 1.307 GB, free: 7.926 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000872/0.8779, allocations: 143.3 kB / 1.307 GB, free: 7.785 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.379e-05/0.878, allocations: 39.97 kB / 1.307 GB, free: 7.746 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001345/0.8793, allocations: 0.7471 MB / 1.308 GB, free: 6.992 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001138/0.8805, allocations: 0.6405 MB / 1.308 GB, free: 6.297 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001919/0.8824, allocations: 0.9669 MB / 1.309 GB, free: 5.285 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.374e-06/0.8824, allocations: 0 / 1.309 GB, free: 5.285 MB / 1.029 GB Notification: Performance of matching and sorting (n=80) (initialization_lambda0): time 0.002436/0.8849, allocations: 1.224 MB / 1.311 GB, free: 4.055 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.021e-05/0.8849, allocations: 8.094 kB / 1.311 GB, free: 4.047 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.8849, allocations: 4 kB / 1.311 GB, free: 4.043 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.077e-06/0.8849, allocations: 8 kB / 1.311 GB, free: 4.035 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007719/0.8857, allocations: 199.6 kB / 1.311 GB, free: 3.84 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.8857, allocations: 16.03 kB / 1.311 GB, free: 3.824 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000874/0.8866, allocations: 151.3 kB / 1.311 GB, free: 3.676 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.918e-05/0.8867, allocations: 35.97 kB / 1.311 GB, free: 3.641 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.0002449/0.8869, allocations: 234.3 kB / 1.311 GB, free: 3.406 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001977/0.8871, allocations: 114.6 kB / 1.311 GB, free: 3.293 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002737/0.8899, allocations: 1.299 MB / 1.313 GB, free: 1.984 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002245/0.8921, allocations: 1.288 MB / 1.314 GB, free: 0.625 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.8922, allocations: 4 kB / 1.314 GB, free: 0.6211 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004521/0.8926, allocations: 331.4 kB / 1.314 GB, free: 284 kB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001885/0.8928, allocations: 19.98 kB / 1.314 GB, free: 264 kB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008259/0.8937, allocations: 107.8 kB / 1.314 GB, free: 156 kB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001232/0.8938, allocations: 56.42 kB / 1.314 GB, free: 100 kB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002979/0.8968, allocations: 1.396 MB / 1.316 GB, free: 14.7 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003722/0.9005, allocations: 2.142 MB / 1.318 GB, free: 12.54 MB / 1.045 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001083/0.9016, allocations: 0.59 MB / 1.318 GB, free: 11.95 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.00121/0.9028, allocations: 0.7826 MB / 1.319 GB, free: 11.16 MB / 1.045 GB Notification: Performance of Backend: time 4.91e-07/0.9028, allocations: 0 / 1.319 GB, free: 11.16 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.005289/0.9081, allocations: 2.079 MB / 1.321 GB, free: 9.289 MB / 1.045 GB Notification: Performance of SimCode: time 0.004644/0.9128, allocations: 2.614 MB / 1.324 GB, free: 6.629 MB / 1.045 GB Notification: Performance of Templates: time 0.04472/0.9575, allocations: 29 MB / 1.352 GB, free: 9.758 MB / 1.076 GB make -j1 -f Buildings_latest_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging3.makefile (rm -f Buildings_latest_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging3.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging3.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging3.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging3.sim & ./Buildings_latest_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging3.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging3_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Storage_Ice_Validation_ExperimentNIST_Discharging3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches