Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.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_9_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_9_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.001327/0.001327, allocations: 110.4 kB / 16.42 MB, free: 6.508 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.001352/0.001352, allocations: 185.5 kB / 17.35 MB, free: 5.738 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.335/1.335, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.163/2.163, allocations: 390.3 MB / 0.6655 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001416, allocations: 59.91 kB / 0.9516 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7626/0.764, allocations: 140.4 MB / 1.089 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging2): time 0.05789/0.822, allocations: 54.53 MB / 1.142 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01427/0.8363, allocations: 9.175 MB / 1.151 GB, free: 8.051 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001729/0.8381, allocations: 43.47 kB / 1.151 GB, free: 8.035 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001574/0.8397, allocations: 0.5521 MB / 1.151 GB, free: 7.691 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.00396/0.8437, allocations: 1.395 MB / 1.153 GB, free: 6.852 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003368/0.847, allocations: 1.247 MB / 1.154 GB, free: 6.156 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.004098/0.8512, allocations: 2.776 MB / 1.157 GB, free: 4.797 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001595/0.8528, allocations: 1.098 MB / 1.158 GB, free: 4.25 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005708/0.8585, allocations: 2.118 MB / 1.16 GB, free: 3.293 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00192/0.8604, allocations: 0.811 MB / 1.161 GB, free: 2.891 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0004314/0.8609, allocations: 137.2 kB / 1.161 GB, free: 2.883 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005015/0.8659, allocations: 1.682 MB / 1.162 GB, free: 2.324 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.000625/0.8665, allocations: 381.9 kB / 1.163 GB, free: 2.102 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001277/0.8678, allocations: 0.7228 MB / 1.164 GB, free: 1.617 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.004386/0.8722, allocations: 2.422 MB / 1.166 GB, free: 0.7031 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.8722, allocations: 0 / 1.166 GB, free: 0.7031 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.412e-06/0.8722, allocations: 0 / 1.166 GB, free: 0.7031 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.395e-05/0.8723, allocations: 4 kB / 1.166 GB, free: 0.6992 MB / 0.9044 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.0043/0.8766, allocations: 1.819 MB / 1.168 GB, free: 15.45 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.8767, allocations: 9.75 kB / 1.168 GB, free: 15.45 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002544/0.8792, allocations: 0.5648 MB / 1.168 GB, free: 15.27 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002543/0.8818, allocations: 1.204 MB / 1.169 GB, free: 14.32 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001486/0.8819, allocations: 124 kB / 1.17 GB, free: 14.22 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001803/0.8821, allocations: 82.73 kB / 1.17 GB, free: 14.2 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002406/0.8845, allocations: 1.184 MB / 1.171 GB, free: 13.46 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.621e-05/0.8846, allocations: 3.938 kB / 1.171 GB, free: 13.45 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.855e-05/0.8847, allocations: 32.84 kB / 1.171 GB, free: 13.43 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.082e-05/0.8847, allocations: 22.55 kB / 1.171 GB, free: 13.43 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002494/0.8872, allocations: 1.171 MB / 1.172 GB, free: 12.84 MB / 0.92 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.00759/0.8948, allocations: 5.131 MB / 1.177 GB, free: 8.602 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001859/0.8967, allocations: 0.8082 MB / 1.178 GB, free: 8.184 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001119/0.8978, allocations: 0.5529 MB / 1.178 GB, free: 7.906 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005941/0.8984, allocations: 0.747 MB / 1.179 GB, free: 7.031 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001374/0.8998, allocations: 0.6702 MB / 1.18 GB, free: 6.625 MB / 0.92 GB Notification: Performance of pre-optimization done (n=54): time 3.787e-06/0.8998, allocations: 5.312 kB / 1.18 GB, free: 6.621 MB / 0.92 GB Notification: Performance of matching and sorting (n=54): time 0.00374/0.9036, allocations: 1.587 MB / 1.181 GB, free: 5.828 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.563e-05/0.9037, allocations: 113.4 kB / 1.181 GB, free: 5.699 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001927/0.9056, allocations: 1.138 MB / 1.182 GB, free: 5.066 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001034/0.9057, allocations: 44.3 kB / 1.182 GB, free: 5.023 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005113/0.9062, allocations: 0.556 MB / 1.183 GB, free: 4.531 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001909/0.9064, allocations: 181.1 kB / 1.183 GB, free: 4.375 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003078/0.9067, allocations: 154 kB / 1.183 GB, free: 4.281 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.9069, allocations: 327.4 kB / 1.184 GB, free: 3.961 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001078/0.908, allocations: 0.4962 MB / 1.184 GB, free: 3.707 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001195/0.9092, allocations: 0.6547 MB / 1.185 GB, free: 3.262 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002/0.9112, allocations: 0.9674 MB / 1.186 GB, free: 2.703 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.622e-06/0.9112, allocations: 1.125 kB / 1.186 GB, free: 2.703 MB / 0.92 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.002676/0.9139, allocations: 1.236 MB / 1.187 GB, free: 2.074 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.9139, allocations: 9.656 kB / 1.187 GB, free: 2.07 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.9139, allocations: 7.469 kB / 1.187 GB, free: 2.066 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.954e-05/0.914, allocations: 10 kB / 1.187 GB, free: 2.062 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007954/0.9148, allocations: 205.9 kB / 1.187 GB, free: 1.988 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.031e-05/0.9148, allocations: 9.594 kB / 1.187 GB, free: 1.984 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001034/0.9158, allocations: 142.3 kB / 1.187 GB, free: 1.902 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.381e-05/0.916, allocations: 39 kB / 1.187 GB, free: 1.887 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001422/0.9174, allocations: 0.7421 MB / 1.188 GB, free: 1.461 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001168/0.9186, allocations: 0.649 MB / 1.189 GB, free: 1.027 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002038/0.9206, allocations: 0.9687 MB / 1.19 GB, free: 464 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.412e-06/0.9206, allocations: 1.125 kB / 1.19 GB, free: 464 kB / 0.92 GB Notification: Performance of matching and sorting (n=80) (initialization_lambda0): time 0.002658/0.9233, allocations: 1.222 MB / 1.191 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.9233, allocations: 11 kB / 1.191 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.9233, allocations: 7.422 kB / 1.191 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.157e-06/0.9233, allocations: 5.75 kB / 1.191 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007791/0.9241, allocations: 200 kB / 1.191 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.998e-05/0.9242, allocations: 15.34 kB / 1.191 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001034/0.9252, allocations: 140.7 kB / 1.191 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.689e-05/0.9253, allocations: 35.47 kB / 1.191 GB, free: 15.66 MB / 0.9356 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.000289/0.9256, allocations: 235.6 kB / 1.191 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003002/0.9259, allocations: 113.4 kB / 1.192 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002882/0.9288, allocations: 1.301 MB / 1.193 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002321/0.9311, allocations: 1.287 MB / 1.194 GB, free: 13.85 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/0.9312, allocations: 3.938 kB / 1.194 GB, free: 13.85 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006499/0.9318, allocations: 331.3 kB / 1.194 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002743/0.9321, allocations: 19.72 kB / 1.194 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009403/0.933, allocations: 108.6 kB / 1.195 GB, free: 13.49 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000146/0.9332, allocations: 53.05 kB / 1.195 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003129/0.9363, allocations: 1.389 MB / 1.196 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003909/0.9403, allocations: 2.143 MB / 1.198 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001109/0.9414, allocations: 0.5894 MB / 1.199 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001375/0.9428, allocations: 0.782 MB / 1.199 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of Backend: time 2.5e-07/0.9428, allocations: 0 / 1.199 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.005752/0.9485, allocations: 2.089 MB / 1.201 GB, free: 9.707 MB / 0.9356 GB Notification: Performance of SimCode: time 0.004536/0.9531, allocations: 2.621 MB / 1.204 GB, free: 7.074 MB / 0.9356 GB Notification: Performance of Templates: time 0.04461/0.9977, allocations: 28.98 MB / 1.232 GB, free: 10.23 MB / 0.9669 GB make -j1 -f Buildings_9_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging2.makefile (rm -f Buildings_9_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging2.pipe ; mkfifo Buildings_9_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging2.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging2.pipe >> ../files/Buildings_9_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging2.sim & ./Buildings_9_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging2.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Storage_Ice_Validation_ExperimentNIST_Discharging2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches