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.001165/0.001165, allocations: 109.8 kB / 16.42 MB, free: 6.453 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.001224/0.001225, allocations: 185.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.33/1.33, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.547/2.547, allocations: 461.9 MB / 0.7354 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 59.91 kB / 1.055 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7277/0.729, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.Validation.Tank): time 0.08786/0.8169, allocations: 89.22 MB / 1.296 GB, free: 4.113 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01797/0.8349, allocations: 13.09 MB / 1.308 GB, free: 6.984 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001874/0.8368, allocations: 71.62 kB / 1.308 GB, free: 6.914 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.00213/0.8389, allocations: 0.978 MB / 1.309 GB, free: 5.934 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.00499/0.844, allocations: 2.296 MB / 1.312 GB, free: 3.629 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.003967/0.8479, allocations: 1.748 MB / 1.313 GB, free: 1.891 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.005191/0.8531, allocations: 4.83 MB / 1.318 GB, free: 13.05 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002256/0.8554, allocations: 1.984 MB / 1.32 GB, free: 11.02 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006758/0.8622, allocations: 3.516 MB / 1.323 GB, free: 7.52 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001678/0.8639, allocations: 1.451 MB / 1.325 GB, free: 6.062 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0003146/0.8642, allocations: 236 kB / 1.325 GB, free: 5.832 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004723/0.8689, allocations: 2.449 MB / 1.327 GB, free: 3.379 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0005062/0.8694, allocations: 0.6463 MB / 1.328 GB, free: 2.73 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.001105/0.8706, allocations: 1.263 MB / 1.329 GB, free: 1.461 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.004529/0.8751, allocations: 4.077 MB / 1.333 GB, free: 13.37 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.8751, allocations: 3.938 kB / 1.333 GB, free: 13.37 MB / 1.061 GB Notification: Performance of FrontEnd: time 9.91e-07/0.8751, allocations: 0 / 1.333 GB, free: 13.37 MB / 1.061 GB Notification: Performance of Transformations before backend: time 3.284e-05/0.8752, allocations: 0 / 1.333 GB, free: 13.37 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.004444/0.8796, allocations: 2.896 MB / 1.336 GB, free: 10.39 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.8797, allocations: 8.031 kB / 1.336 GB, free: 10.38 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004124/0.8838, allocations: 1.085 MB / 1.337 GB, free: 9.289 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003117/0.8869, allocations: 2.017 MB / 1.339 GB, free: 7.195 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002103/0.8871, allocations: 237.5 kB / 1.339 GB, free: 6.938 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002203/0.8874, allocations: 136 kB / 1.34 GB, free: 6.805 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003704/0.8911, allocations: 2.072 MB / 1.342 GB, free: 4.664 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.317e-05/0.8911, allocations: 7.938 kB / 1.342 GB, free: 4.656 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001612/0.8913, allocations: 59.92 kB / 1.342 GB, free: 4.598 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.174e-05/0.8913, allocations: 36 kB / 1.342 GB, free: 4.562 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004226/0.8956, allocations: 2.156 MB / 1.344 GB, free: 2.398 MB / 1.061 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.0113/0.9069, allocations: 8.763 MB / 1.352 GB, free: 9.215 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002747/0.9096, allocations: 1.417 MB / 1.354 GB, free: 7.785 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00195/0.9116, allocations: 1.052 MB / 1.355 GB, free: 6.734 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006313/0.9123, allocations: 0.8356 MB / 1.356 GB, free: 5.715 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0023/0.9146, allocations: 1.251 MB / 1.357 GB, free: 4.441 MB / 1.076 GB Notification: Performance of pre-optimization done (n=94): time 2.875e-06/0.9146, allocations: 0 / 1.357 GB, free: 4.441 MB / 1.076 GB Notification: Performance of matching and sorting (n=94): time 0.007583/0.9222, allocations: 3.374 MB / 1.36 GB, free: 1.027 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.691e-05/0.9223, allocations: 119.8 kB / 1.36 GB, free: 0.8867 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002896/0.9252, allocations: 1.974 MB / 1.362 GB, free: 14.87 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0001577/0.9253, allocations: 61.69 kB / 1.362 GB, free: 14.8 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008969/0.9262, allocations: 0.9334 MB / 1.363 GB, free: 13.86 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003326/0.9266, allocations: 299.8 kB / 1.363 GB, free: 13.57 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004151/0.927, allocations: 250.7 kB / 1.364 GB, free: 13.32 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.9272, allocations: 357.9 kB / 1.364 GB, free: 12.96 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001796/0.929, allocations: 0.9311 MB / 1.365 GB, free: 12.02 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001965/0.9309, allocations: 1.179 MB / 1.366 GB, free: 10.76 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003389/0.9343, allocations: 1.815 MB / 1.368 GB, free: 8.867 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.9343, allocations: 0 / 1.368 GB, free: 8.867 MB / 1.092 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.004901/0.9393, allocations: 2.422 MB / 1.37 GB, free: 6.426 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 4.409e-05/0.9393, allocations: 41.69 kB / 1.37 GB, free: 6.379 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/0.9393, allocations: 4 kB / 1.37 GB, free: 6.375 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006997/0.94, allocations: 152.7 kB / 1.37 GB, free: 6.223 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00124/0.9413, allocations: 343.3 kB / 1.371 GB, free: 5.887 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00059/0.9419, allocations: 0.685 MB / 1.371 GB, free: 5.176 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001601/0.9435, allocations: 266.8 kB / 1.372 GB, free: 4.914 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001311/0.9436, allocations: 59.94 kB / 1.372 GB, free: 4.855 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002445/0.9461, allocations: 1.346 MB / 1.373 GB, free: 3.504 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002084/0.9482, allocations: 1.17 MB / 1.374 GB, free: 2.246 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003384/0.9516, allocations: 1.8 MB / 1.376 GB, free: 388 kB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.092e-06/0.9516, allocations: 0 / 1.376 GB, free: 388 kB / 1.092 GB Notification: Performance of matching and sorting (n=139) (initialization_lambda0): time 0.004926/0.9565, allocations: 2.356 MB / 1.378 GB, free: 14 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 4.19e-05/0.9566, allocations: 45.69 kB / 1.378 GB, free: 13.95 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.9566, allocations: 4 kB / 1.378 GB, free: 13.95 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003325/0.9569, allocations: 104.8 kB / 1.378 GB, free: 13.84 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001209/0.9582, allocations: 335.3 kB / 1.379 GB, free: 13.52 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002378/0.9606, allocations: 2.255 MB / 1.381 GB, free: 11.1 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00171/0.9623, allocations: 263 kB / 1.381 GB, free: 10.84 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001375/0.9624, allocations: 59.94 kB / 1.381 GB, free: 10.79 MB / 1.107 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.0004388/0.9629, allocations: 295 kB / 1.381 GB, free: 10.48 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004484/0.9633, allocations: 197.6 kB / 1.382 GB, free: 10.29 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005108/0.9684, allocations: 2.46 MB / 1.384 GB, free: 7.805 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004138/0.9726, allocations: 2.162 MB / 1.386 GB, free: 5.605 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.89e-06/0.9726, allocations: 0 / 1.386 GB, free: 5.605 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008469/0.9735, allocations: 0.51 MB / 1.387 GB, free: 5.074 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003466/0.9738, allocations: 43.92 kB / 1.387 GB, free: 5.031 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001514/0.9753, allocations: 211.6 kB / 1.387 GB, free: 4.824 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002228/0.9756, allocations: 116.8 kB / 1.387 GB, free: 4.711 MB / 1.107 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005569/0.9811, allocations: 2.591 MB / 1.389 GB, free: 2.09 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006607/0.9878, allocations: 3.774 MB / 1.393 GB, free: 14.29 MB / 1.123 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001962/0.9897, allocations: 1.081 MB / 1.394 GB, free: 13.21 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.002003/0.9918, allocations: 1.362 MB / 1.396 GB, free: 11.82 MB / 1.123 GB Notification: Performance of Backend: time 2.2e-07/0.9918, allocations: 0 / 1.396 GB, free: 11.82 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.007857/0.9996, allocations: 3.595 MB / 1.399 GB, free: 8.383 MB / 1.123 GB Notification: Performance of SimCode: time 0.006966/1.007, allocations: 4.333 MB / 1.403 GB, free: 3.984 MB / 1.123 GB Notification: Performance of Templates: time 0.1678/1.174, allocations: 49.71 MB / 1.452 GB, free: 2.445 MB / 1.17 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