Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.001587/0.001587, allocations: 114.7 kB / 16.42 MB, free: 6.031 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.001837/0.001837, allocations: 190 kB / 17.35 MB, free: 5.633 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.349/1.349, 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 9.1.3-maint.9.1.x/package.mo): time 2.186/2.186, allocations: 390.3 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 63.91 kB / 0.9516 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7396/0.7411, allocations: 140.4 MB / 1.089 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging3): time 0.05614/0.7973, allocations: 54.54 MB / 1.142 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01462/0.8119, allocations: 9.163 MB / 1.151 GB, free: 8.039 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00207/0.814, allocations: 43.59 kB / 1.151 GB, free: 8.023 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001744/0.8158, allocations: 0.5486 MB / 1.151 GB, free: 7.684 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.003869/0.8197, allocations: 1.405 MB / 1.153 GB, free: 6.836 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003308/0.823, allocations: 1.243 MB / 1.154 GB, free: 6.145 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.003965/0.827, allocations: 2.774 MB / 1.157 GB, free: 4.785 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001585/0.8286, allocations: 1.101 MB / 1.158 GB, free: 4.234 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005229/0.8338, allocations: 2.121 MB / 1.16 GB, free: 3.273 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001578/0.8354, allocations: 0.8121 MB / 1.161 GB, free: 2.871 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0003635/0.8358, allocations: 129.3 kB / 1.161 GB, free: 2.871 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004378/0.8402, allocations: 1.691 MB / 1.162 GB, free: 2.305 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0005505/0.8407, allocations: 371.9 kB / 1.163 GB, free: 2.09 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001358/0.8421, allocations: 0.7227 MB / 1.164 GB, free: 1.605 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.004325/0.8464, allocations: 2.429 MB / 1.166 GB, free: 0.6836 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.8465, allocations: 4 kB / 1.166 GB, free: 0.6797 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.373e-06/0.8465, allocations: 1.125 kB / 1.166 GB, free: 0.6797 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.763e-05/0.8465, allocations: 0 / 1.166 GB, free: 0.6797 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.003785/0.8503, allocations: 1.81 MB / 1.168 GB, free: 15.43 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.8504, allocations: 8.75 kB / 1.168 GB, free: 15.43 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002346/0.8527, allocations: 0.5653 MB / 1.168 GB, free: 15.26 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002409/0.8551, allocations: 1.215 MB / 1.169 GB, free: 14.3 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001206/0.8553, allocations: 118.7 kB / 1.17 GB, free: 14.21 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001454/0.8554, allocations: 83.3 kB / 1.17 GB, free: 14.19 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002236/0.8577, allocations: 1.187 MB / 1.171 GB, free: 13.45 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.185e-05/0.8577, allocations: 1.094 kB / 1.171 GB, free: 13.45 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.953e-05/0.8578, allocations: 31.75 kB / 1.171 GB, free: 13.42 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.909e-05/0.8579, allocations: 20.03 kB / 1.171 GB, free: 13.42 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002411/0.8603, allocations: 1.173 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.006429/0.8667, allocations: 5.131 MB / 1.177 GB, free: 8.594 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001651/0.8684, allocations: 0.8077 MB / 1.178 GB, free: 8.176 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001083/0.8695, allocations: 0.5537 MB / 1.178 GB, free: 7.898 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005342/0.87, allocations: 0.7426 MB / 1.179 GB, free: 7.027 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001302/0.8713, allocations: 0.676 MB / 1.18 GB, free: 6.617 MB / 0.92 GB Notification: Performance of pre-optimization done (n=54): time 2.434e-06/0.8713, allocations: 0 / 1.18 GB, free: 6.617 MB / 0.92 GB Notification: Performance of matching and sorting (n=54): time 0.00346/0.8748, allocations: 1.592 MB / 1.181 GB, free: 5.82 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.088e-05/0.8749, allocations: 112.8 kB / 1.181 GB, free: 5.691 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001519/0.8764, allocations: 1.135 MB / 1.182 GB, free: 5.062 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 8.168e-05/0.8765, allocations: 44.17 kB / 1.182 GB, free: 5.02 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004812/0.877, allocations: 0.5633 MB / 1.183 GB, free: 4.52 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001784/0.8772, allocations: 173.8 kB / 1.183 GB, free: 4.371 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002621/0.8774, allocations: 153.9 kB / 1.183 GB, free: 4.277 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.8776, allocations: 332.3 kB / 1.184 GB, free: 3.953 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001046/0.8786, allocations: 0.4991 MB / 1.184 GB, free: 3.695 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00115/0.8798, allocations: 0.6519 MB / 1.185 GB, free: 3.254 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001925/0.8817, allocations: 0.9634 MB / 1.186 GB, free: 2.699 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.8817, allocations: 1.125 kB / 1.186 GB, free: 2.699 MB / 0.92 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.002547/0.8843, allocations: 1.233 MB / 1.187 GB, free: 2.074 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.8843, allocations: 10.16 kB / 1.187 GB, free: 2.07 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.8843, allocations: 3.281 kB / 1.187 GB, free: 2.07 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.236e-05/0.8844, allocations: 9.906 kB / 1.187 GB, free: 2.066 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007946/0.8852, allocations: 205.9 kB / 1.187 GB, free: 1.992 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.324e-05/0.8852, allocations: 17.88 kB / 1.187 GB, free: 1.98 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000922/0.8861, allocations: 144.8 kB / 1.187 GB, free: 1.895 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.599e-05/0.8862, allocations: 35.47 kB / 1.187 GB, free: 1.883 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001384/0.8876, allocations: 0.7465 MB / 1.188 GB, free: 1.453 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001148/0.8888, allocations: 0.6489 MB / 1.189 GB, free: 1.02 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001991/0.8908, allocations: 0.9574 MB / 1.19 GB, free: 468 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.338e-06/0.8908, allocations: 1.281 kB / 1.19 GB, free: 468 kB / 0.92 GB Notification: Performance of matching and sorting (n=80) (initialization_lambda0): time 0.00264/0.8934, allocations: 1.227 MB / 1.191 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.8934, allocations: 8.125 kB / 1.191 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.8935, allocations: 2.969 kB / 1.191 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.424e-06/0.8935, allocations: 7.438 kB / 1.191 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007621/0.8942, allocations: 208 kB / 1.191 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.277e-05/0.8943, allocations: 14.28 kB / 1.191 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009608/0.8952, allocations: 141.7 kB / 1.191 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.575e-05/0.8953, allocations: 38.84 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.0002808/0.8956, allocations: 227.1 kB / 1.191 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002092/0.8958, allocations: 113.1 kB / 1.192 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002761/0.8986, allocations: 1.301 MB / 1.193 GB, free: 14.69 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002226/0.9008, allocations: 1.302 MB / 1.194 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.157e-06/0.9008, allocations: 0 / 1.194 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005597/0.9014, allocations: 327.9 kB / 1.194 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001851/0.9016, allocations: 22.67 kB / 1.194 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008148/0.9024, allocations: 105.5 kB / 1.195 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001263/0.9026, allocations: 53.52 kB / 1.195 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002904/0.9055, allocations: 1.392 MB / 1.196 GB, free: 12.67 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003695/0.9092, allocations: 2.147 MB / 1.198 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001072/0.9103, allocations: 0.5887 MB / 1.199 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001094/0.9114, allocations: 0.7856 MB / 1.199 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of Backend: time 3.11e-07/0.9114, allocations: 4 kB / 1.199 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.005035/0.9164, allocations: 2.069 MB / 1.201 GB, free: 9.707 MB / 0.9356 GB Notification: Performance of SimCode: time 0.003871/0.9203, allocations: 2.614 MB / 1.204 GB, free: 7.09 MB / 0.9356 GB Notification: Performance of Templates: time 0.04171/0.962, allocations: 29 MB / 1.232 GB, free: 10.24 MB / 0.9669 GB make -j1 -f Buildings_9_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging3.makefile (rm -f Buildings_9_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging3.pipe ; mkfifo Buildings_9_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging3.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging3.pipe >> ../files/Buildings_9_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging3.sim & ./Buildings_9_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging3.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Storage_Ice_Validation_ExperimentNIST_Discharging3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches