Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.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_latest_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_latest_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.001232/0.001232, allocations: 112.7 kB / 16.42 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.001183/0.001183, allocations: 190.7 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.333/1.333, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.666/2.666, allocations: 469.4 MB / 0.7428 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001513/0.001513, allocations: 63.84 kB / 1.065 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7571/0.7586, allocations: 159.1 MB / 1.221 GB, free: 2.328 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.Validation.Tank): time 0.09384/0.8525, allocations: 89.23 MB / 1.308 GB, free: 8.781 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01956/0.8721, allocations: 13.08 MB / 1.321 GB, free: 11.67 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002565/0.8747, allocations: 71.62 kB / 1.321 GB, free: 11.6 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.002628/0.8773, allocations: 1.005 MB / 1.322 GB, free: 10.59 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.006498/0.8839, allocations: 2.406 MB / 1.324 GB, free: 8.176 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.004481/0.8884, allocations: 1.759 MB / 1.326 GB, free: 6.426 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.006712/0.8951, allocations: 4.844 MB / 1.331 GB, free: 1.57 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002915/0.898, allocations: 1.98 MB / 1.333 GB, free: 15.54 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00809/0.9061, allocations: 3.516 MB / 1.336 GB, free: 12.04 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002424/0.9086, allocations: 1.443 MB / 1.337 GB, free: 10.59 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0006586/0.9093, allocations: 236 kB / 1.338 GB, free: 10.36 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005724/0.915, allocations: 2.449 MB / 1.34 GB, free: 7.906 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0008583/0.9159, allocations: 0.6541 MB / 1.341 GB, free: 7.25 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001642/0.9175, allocations: 1.252 MB / 1.342 GB, free: 5.992 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.005396/0.9229, allocations: 4.089 MB / 1.346 GB, free: 1.891 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.923, allocations: 4 kB / 1.346 GB, free: 1.887 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.563e-06/0.923, allocations: 0 / 1.346 GB, free: 1.887 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.046e-05/0.923, allocations: 7.938 kB / 1.346 GB, free: 1.879 MB / 1.061 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.00499/0.928, allocations: 2.884 MB / 1.349 GB, free: 14.91 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.9281, allocations: 8.625 kB / 1.349 GB, free: 14.9 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004506/0.9326, allocations: 1.093 MB / 1.35 GB, free: 13.8 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003604/0.9362, allocations: 2.017 MB / 1.352 GB, free: 11.71 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002079/0.9364, allocations: 225.5 kB / 1.352 GB, free: 11.46 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002725/0.9367, allocations: 147.9 kB / 1.352 GB, free: 11.32 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003928/0.9406, allocations: 2.076 MB / 1.354 GB, free: 9.18 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.257e-05/0.9407, allocations: 8 kB / 1.354 GB, free: 9.172 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001504/0.9408, allocations: 55.94 kB / 1.354 GB, free: 9.117 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.875e-05/0.9409, allocations: 39.98 kB / 1.354 GB, free: 9.078 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004344/0.9452, allocations: 2.148 MB / 1.356 GB, free: 6.922 MB / 1.076 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.01193/0.9572, allocations: 8.778 MB / 1.365 GB, free: 13.72 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00287/0.9601, allocations: 1.424 MB / 1.366 GB, free: 12.28 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00207/0.9622, allocations: 1.05 MB / 1.367 GB, free: 11.23 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000646/0.9628, allocations: 0.8317 MB / 1.368 GB, free: 10.21 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002416/0.9653, allocations: 1.251 MB / 1.369 GB, free: 8.941 MB / 1.092 GB Notification: Performance of pre-optimization done (n=94): time 3.667e-06/0.9653, allocations: 8 kB / 1.369 GB, free: 8.934 MB / 1.092 GB Notification: Performance of matching and sorting (n=94): time 0.007978/0.9733, allocations: 3.355 MB / 1.373 GB, free: 5.543 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.739e-05/0.9733, allocations: 127.7 kB / 1.373 GB, free: 5.395 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002992/0.9763, allocations: 1.974 MB / 1.375 GB, free: 3.379 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0001708/0.9765, allocations: 57.7 kB / 1.375 GB, free: 3.316 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008542/0.9774, allocations: 0.9412 MB / 1.376 GB, free: 2.367 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003232/0.9777, allocations: 295.8 kB / 1.376 GB, free: 2.074 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004577/0.9782, allocations: 258.7 kB / 1.376 GB, free: 1.816 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.9783, allocations: 345.9 kB / 1.377 GB, free: 1.473 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001953/0.9803, allocations: 0.9428 MB / 1.377 GB, free: 0.5234 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002137/0.9824, allocations: 1.17 MB / 1.379 GB, free: 15.27 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003628/0.9861, allocations: 1.811 MB / 1.38 GB, free: 13.38 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.714e-06/0.9861, allocations: 3.984 kB / 1.38 GB, free: 13.38 MB / 1.107 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.005405/0.9915, allocations: 2.414 MB / 1.383 GB, free: 10.95 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 4.714e-05/0.9916, allocations: 45.62 kB / 1.383 GB, free: 10.89 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/0.9916, allocations: 4 kB / 1.383 GB, free: 10.89 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007184/0.9923, allocations: 156.7 kB / 1.383 GB, free: 10.73 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001288/0.9936, allocations: 335.4 kB / 1.383 GB, free: 10.41 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006113/0.9942, allocations: 0.685 MB / 1.384 GB, free: 9.695 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001816/0.9961, allocations: 270.8 kB / 1.384 GB, free: 9.43 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001407/0.9962, allocations: 63.89 kB / 1.384 GB, free: 9.367 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002634/0.9989, allocations: 1.35 MB / 1.386 GB, free: 8.012 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002119/1.001, allocations: 1.166 MB / 1.387 GB, free: 6.758 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003591/1.005, allocations: 1.804 MB / 1.388 GB, free: 4.887 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.769e-06/1.005, allocations: 0 / 1.388 GB, free: 4.887 MB / 1.107 GB Notification: Performance of matching and sorting (n=139) (initialization_lambda0): time 0.005097/1.01, allocations: 2.356 MB / 1.391 GB, free: 2.508 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 4.037e-05/1.01, allocations: 41.7 kB / 1.391 GB, free: 2.461 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/1.01, allocations: 4 kB / 1.391 GB, free: 2.457 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003424/1.01, allocations: 108.8 kB / 1.391 GB, free: 2.348 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001251/1.011, allocations: 335.4 kB / 1.391 GB, free: 2.02 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0023/1.014, allocations: 2.255 MB / 1.393 GB, free: 15.61 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001836/1.016, allocations: 259 kB / 1.394 GB, free: 15.35 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001475/1.016, allocations: 59.95 kB / 1.394 GB, free: 15.29 MB / 1.123 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.0004354/1.016, allocations: 302.9 kB / 1.394 GB, free: 14.98 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005474/1.017, allocations: 197.6 kB / 1.394 GB, free: 14.79 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005239/1.022, allocations: 2.452 MB / 1.397 GB, free: 12.32 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004241/1.026, allocations: 2.162 MB / 1.399 GB, free: 10.12 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.445e-06/1.026, allocations: 11.97 kB / 1.399 GB, free: 10.11 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001067/1.027, allocations: 0.5061 MB / 1.399 GB, free: 9.582 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003873/1.028, allocations: 39.94 kB / 1.399 GB, free: 9.543 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001558/1.029, allocations: 211.9 kB / 1.399 GB, free: 9.336 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000213/1.03, allocations: 108.7 kB / 1.4 GB, free: 9.23 MB / 1.123 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005752/1.035, allocations: 2.591 MB / 1.402 GB, free: 6.609 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006876/1.042, allocations: 3.777 MB / 1.406 GB, free: 2.809 MB / 1.123 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002071/1.044, allocations: 1.085 MB / 1.407 GB, free: 1.719 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.002215/1.046, allocations: 1.354 MB / 1.408 GB, free: 352 kB / 1.123 GB Notification: Performance of Backend: time 4.71e-07/1.046, allocations: 0 / 1.408 GB, free: 352 kB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.008472/1.055, allocations: 3.604 MB / 1.412 GB, free: 12.88 MB / 1.139 GB Notification: Performance of SimCode: time 0.00738/1.062, allocations: 4.318 MB / 1.416 GB, free: 8.508 MB / 1.139 GB Notification: Performance of Templates: time 0.07786/1.14, allocations: 49.71 MB / 1.464 GB, free: 6.957 MB / 1.186 GB make -j1 -f Buildings_latest_Buildings.Fluid.Storage.Ice.Validation.Tank.makefile (rm -f Buildings_latest_Buildings.Fluid.Storage.Ice.Validation.Tank.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Ice.Validation.Tank.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Ice.Validation.Tank.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Ice.Validation.Tank.sim & ./Buildings_latest_Buildings.Fluid.Storage.Ice.Validation.Tank -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Ice.Validation.Tank.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Storage.Ice.Validation.Tank_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Storage_Ice_Validation_Tank.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Storage.Ice.Validation.Tank.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches