Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Storage.Ice.Validation.Tank.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.Tank,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSet.y|iceTan.T|TSou.y.1.|iceTan.SOC|iceTanUnc.SOC|iceTan.mIce|iceTan.Q_flow|iceTanUnc.Q_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Storage.Ice.Validation.Tank") translateModel(Buildings.Fluid.Storage.Ice.Validation.Tank,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSet.y|iceTan.T|TSou.y.1.|iceTan.SOC|iceTanUnc.SOC|iceTan.mIce|iceTan.Q_flow|iceTanUnc.Q_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Storage.Ice.Validation.Tank") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001077/0.001077, allocations: 108.4 kB / 16.41 MB, free: 6.512 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.001036/0.001036, allocations: 186.7 kB / 17.35 MB, free: 5.723 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.294/1.294, allocations: 222.9 MB / 241.1 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.198/2.198, allocations: 390.3 MB / 0.6655 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 63.91 kB / 0.9515 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7315/0.7328, allocations: 140.4 MB / 1.089 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.Validation.Tank): time 0.1003/0.8332, allocations: 89.22 MB / 1.176 GB, free: 5.719 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.02033/0.8536, allocations: 13.08 MB / 1.189 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003719/0.8573, allocations: 78.56 kB / 1.189 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.00358/0.8609, allocations: 0.9904 MB / 1.19 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.007914/0.8689, allocations: 2.404 MB / 1.192 GB, free: 9.273 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.004982/0.8739, allocations: 1.773 MB / 1.194 GB, free: 7.891 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.006922/0.8808, allocations: 4.833 MB / 1.198 GB, free: 5 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003474/0.8843, allocations: 1.982 MB / 1.2 GB, free: 3.688 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009308/0.8937, allocations: 3.524 MB / 1.204 GB, free: 1.574 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003308/0.897, allocations: 1.451 MB / 1.205 GB, free: 0.6406 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0008821/0.8979, allocations: 234 kB / 1.205 GB, free: 0.6406 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008113/0.906, allocations: 2.449 MB / 1.208 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.001534/0.9076, allocations: 0.6448 MB / 1.208 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.003947/0.9115, allocations: 1.262 MB / 1.21 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.007485/0.919, allocations: 4.087 MB / 1.214 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.919, allocations: 0 / 1.214 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.804e-06/0.919, allocations: 0 / 1.214 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0001262/0.9192, allocations: 4 kB / 1.214 GB, free: 11.05 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 322 * Number of variables: 322 Notification: Performance of Generate backend data structure: time 0.008314/0.9275, allocations: 2.897 MB / 1.216 GB, free: 8.84 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.9276, allocations: 8.625 kB / 1.216 GB, free: 8.84 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005145/0.9327, allocations: 1.089 MB / 1.218 GB, free: 8.273 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005097/0.9378, allocations: 2.008 MB / 1.219 GB, free: 6.742 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002353/0.9381, allocations: 235.1 kB / 1.22 GB, free: 6.551 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002495/0.9383, allocations: 139.4 kB / 1.22 GB, free: 6.508 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003942/0.9423, allocations: 2.072 MB / 1.222 GB, free: 5.203 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.892e-05/0.9423, allocations: 0 / 1.222 GB, free: 5.203 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001484/0.9425, allocations: 63.92 kB / 1.222 GB, free: 5.141 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.865e-05/0.9425, allocations: 39.94 kB / 1.222 GB, free: 5.102 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004166/0.9467, allocations: 2.141 MB / 1.224 GB, free: 2.953 MB / 0.9512 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.01182/0.9585, allocations: 8.786 MB / 1.233 GB, free: 9.746 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002709/0.9613, allocations: 1.414 MB / 1.234 GB, free: 8.324 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001938/0.9632, allocations: 1.038 MB / 1.235 GB, free: 7.285 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006042/0.9638, allocations: 0.8394 MB / 1.236 GB, free: 6.262 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002263/0.9661, allocations: 1.251 MB / 1.237 GB, free: 4.98 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=94): time 4.809e-06/0.9661, allocations: 4 kB / 1.237 GB, free: 4.977 MB / 0.9669 GB Notification: Performance of matching and sorting (n=94): time 0.007868/0.974, allocations: 3.367 MB / 1.24 GB, free: 1.578 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.901e-05/0.9741, allocations: 123.8 kB / 1.24 GB, free: 1.434 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002731/0.9768, allocations: 1.966 MB / 1.242 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001601/0.977, allocations: 61.69 kB / 1.242 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008415/0.9778, allocations: 0.9412 MB / 1.243 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002946/0.9781, allocations: 303.8 kB / 1.244 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004432/0.9786, allocations: 254.7 kB / 1.244 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001251/0.9787, allocations: 345.9 kB / 1.244 GB, free: 13.51 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001823/0.9805, allocations: 0.9389 MB / 1.245 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001988/0.9825, allocations: 1.182 MB / 1.246 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003405/0.986, allocations: 1.808 MB / 1.248 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.986, allocations: 4 kB / 1.248 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.005274/0.9913, allocations: 2.41 MB / 1.25 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.8e-05/0.9913, allocations: 41.69 kB / 1.25 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/0.9913, allocations: 8 kB / 1.25 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006894/0.992, allocations: 155.1 kB / 1.251 GB, free: 6.773 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001214/0.9933, allocations: 331.4 kB / 1.251 GB, free: 6.449 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005699/0.9938, allocations: 0.6928 MB / 1.252 GB, free: 5.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001974/0.9958, allocations: 262.8 kB / 1.252 GB, free: 5.473 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001298/0.996, allocations: 67.94 kB / 1.252 GB, free: 5.406 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002521/0.9985, allocations: 1.346 MB / 1.253 GB, free: 4.055 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001954/1, allocations: 1.171 MB / 1.254 GB, free: 2.801 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003307/1.004, allocations: 1.796 MB / 1.256 GB, free: 0.9375 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.269e-06/1.004, allocations: 7.938 kB / 1.256 GB, free: 0.9297 MB / 0.9825 GB Notification: Performance of matching and sorting (n=139) (initialization_lambda0): time 0.00485/1.009, allocations: 2.36 MB / 1.258 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.917e-05/1.009, allocations: 40.03 kB / 1.259 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/1.009, allocations: 4 kB / 1.259 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003221/1.009, allocations: 104.8 kB / 1.259 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001211/1.01, allocations: 347.3 kB / 1.259 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002106/1.012, allocations: 2.242 MB / 1.261 GB, free: 11.65 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001989/1.014, allocations: 255 kB / 1.261 GB, free: 11.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001238/1.015, allocations: 71.88 kB / 1.261 GB, free: 11.33 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 38 ($PRE.TSou.nextTimeEvent,$whenCondition6,iceTanUnc.tanHeaTra.canMelt.greHys.y,$PRE.iceTanUnc.tanHeaTra.canMelt.greHys.y,iceTanUnc.tanHeaTra.canFreeze.lesHys.y,$PRE.iceTanUnc.tanHeaTra.canFreeze.lesHys.y,iceTanUnc.tanHeaTra.SOCCalc.suspend,iceTanUnc.tanHeaTra.SOCCalc.discharged,$PRE.iceTanUnc.tanHeaTra.SOCCalc.discharged,iceTanUnc.tanHeaTra.SOCCalc.charged,$PRE.iceTanUnc.tanHeaTra.SOCCalc.charged,TSet.nextEventScaled,TSet.nextEvent,$PRE.TSet.nextEvent,TSet.last,TSet.b,TSet.a,TSou.nextTimeEventScaled,$PRE.TSou.nextTimeEventScaled,TSou.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,$whenCondition1,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 120 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0004531/1.015, allocations: 295.5 kB / 1.262 GB, free: 11.03 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003629/1.015, allocations: 193.7 kB / 1.262 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004969/1.02, allocations: 2.46 MB / 1.264 GB, free: 8.355 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004069/1.024, allocations: 2.158 MB / 1.266 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/1.024, allocations: 8 kB / 1.266 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001172/1.026, allocations: 0.5099 MB / 1.267 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003039/1.026, allocations: 43.92 kB / 1.267 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001872/1.028, allocations: 207.7 kB / 1.267 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002969/1.028, allocations: 112.9 kB / 1.267 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006739/1.035, allocations: 2.599 MB / 1.27 GB, free: 2.633 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006875/1.042, allocations: 3.763 MB / 1.273 GB, free: 14.84 MB / 1.014 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002003/1.044, allocations: 1.089 MB / 1.275 GB, free: 13.75 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.00266/1.046, allocations: 1.358 MB / 1.276 GB, free: 12.37 MB / 1.014 GB Notification: Performance of Backend: time 4.31e-07/1.046, allocations: 0 / 1.276 GB, free: 12.37 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.009673/1.056, allocations: 3.604 MB / 1.279 GB, free: 8.926 MB / 1.014 GB Notification: Performance of SimCode: time 0.009442/1.066, allocations: 4.331 MB / 1.284 GB, free: 4.535 MB / 1.014 GB Notification: Performance of Templates: time 0.07756/1.143, allocations: 49.71 MB / 1.332 GB, free: 3.008 MB / 1.061 GB make -j1 -f Buildings_9_Buildings.Fluid.Storage.Ice.Validation.Tank.makefile (rm -f Buildings_9_Buildings.Fluid.Storage.Ice.Validation.Tank.pipe ; mkfifo Buildings_9_Buildings.Fluid.Storage.Ice.Validation.Tank.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Storage.Ice.Validation.Tank.pipe >> ../files/Buildings_9_Buildings.Fluid.Storage.Ice.Validation.Tank.sim & ./Buildings_9_Buildings.Fluid.Storage.Ice.Validation.Tank -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Storage.Ice.Validation.Tank.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Storage.Ice.Validation.Tank_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Storage_Ice_Validation_Tank.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Storage.Ice.Validation.Tank.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches