Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001212/0.001212, allocations: 115 kB / 16.42 MB, free: 6.496 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.001129/0.001129, allocations: 186.5 kB / 17.35 MB, free: 5.742 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.336/1.336, 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 10.1.1-maint.10.0.x/package.mo): time 2.453/2.453, allocations: 437 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 68.12 kB / 1.019 GB, free: 9.434 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7665/0.7679, allocations: 151.6 MB / 1.167 GB, free: 3.852 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.Validation.Tank): time 0.09725/0.8651, allocations: 89.23 MB / 1.254 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01834/0.8835, allocations: 13.08 MB / 1.267 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002589/0.8861, allocations: 75.56 kB / 1.267 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00289/0.8891, allocations: 1.003 MB / 1.268 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006618/0.8958, allocations: 2.4 MB / 1.271 GB, free: 9.703 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004728/0.9005, allocations: 1.759 MB / 1.272 GB, free: 7.957 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.006181/0.9067, allocations: 4.835 MB / 1.277 GB, free: 3.102 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003063/0.9098, allocations: 1.984 MB / 1.279 GB, free: 1.074 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008282/0.9181, allocations: 3.531 MB / 1.282 GB, free: 13.56 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002589/0.9207, allocations: 1.443 MB / 1.284 GB, free: 12.11 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0008663/0.9215, allocations: 240 kB / 1.284 GB, free: 11.88 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005975/0.9275, allocations: 2.453 MB / 1.286 GB, free: 9.418 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0009076/0.9285, allocations: 0.6463 MB / 1.287 GB, free: 8.77 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.002034/0.9305, allocations: 1.252 MB / 1.288 GB, free: 7.512 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.006047/0.9366, allocations: 4.102 MB / 1.292 GB, free: 3.395 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.9366, allocations: 0 / 1.292 GB, free: 3.395 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.563e-06/0.9366, allocations: 4 kB / 1.292 GB, free: 3.391 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.062e-05/0.9366, allocations: 0 / 1.292 GB, free: 3.391 MB / 1.014 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.004561/0.9412, allocations: 2.981 MB / 1.295 GB, free: 332 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.9412, allocations: 8.922 kB / 1.295 GB, free: 324 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004123/0.9454, allocations: 1.106 MB / 1.296 GB, free: 15.21 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00324/0.9486, allocations: 2.027 MB / 1.298 GB, free: 13.11 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002021/0.9488, allocations: 229.5 kB / 1.299 GB, free: 12.86 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002175/0.9491, allocations: 147.9 kB / 1.299 GB, free: 12.71 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003581/0.9527, allocations: 2.068 MB / 1.301 GB, free: 10.57 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.606e-05/0.9527, allocations: 7.938 kB / 1.301 GB, free: 10.57 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001396/0.9529, allocations: 55.88 kB / 1.301 GB, free: 10.51 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.909e-05/0.9529, allocations: 36 kB / 1.301 GB, free: 10.48 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004159/0.9571, allocations: 2.156 MB / 1.303 GB, free: 8.312 MB / 1.029 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.01192/0.969, allocations: 8.788 MB / 1.311 GB, free: 15.1 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002777/0.9718, allocations: 1.428 MB / 1.313 GB, free: 13.66 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001961/0.9738, allocations: 1.043 MB / 1.314 GB, free: 12.62 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006186/0.9744, allocations: 0.8277 MB / 1.315 GB, free: 11.61 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002351/0.9768, allocations: 1.259 MB / 1.316 GB, free: 10.33 MB / 1.045 GB Notification: Performance of pre-optimization done (n=94): time 4.648e-06/0.9768, allocations: 4 kB / 1.316 GB, free: 10.33 MB / 1.045 GB Notification: Performance of matching and sorting (n=94): time 0.007781/0.9846, allocations: 3.376 MB / 1.319 GB, free: 6.914 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.362e-05/0.9847, allocations: 119.8 kB / 1.319 GB, free: 6.773 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003061/0.9878, allocations: 1.978 MB / 1.321 GB, free: 4.754 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001583/0.9879, allocations: 57.7 kB / 1.321 GB, free: 4.691 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008778/0.9888, allocations: 0.9504 MB / 1.322 GB, free: 3.734 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003231/0.9891, allocations: 309.4 kB / 1.323 GB, free: 3.43 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004675/0.9896, allocations: 258.8 kB / 1.323 GB, free: 3.172 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.9898, allocations: 345.9 kB / 1.323 GB, free: 2.828 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001904/0.9917, allocations: 0.9428 MB / 1.324 GB, free: 1.879 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002053/0.9937, allocations: 1.17 MB / 1.325 GB, free: 0.6211 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003537/0.9973, allocations: 1.815 MB / 1.327 GB, free: 14.73 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.733e-06/0.9973, allocations: 0 / 1.327 GB, free: 14.73 MB / 1.061 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.005259/1.003, allocations: 2.435 MB / 1.329 GB, free: 12.28 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.542e-05/1.003, allocations: 41.69 kB / 1.329 GB, free: 12.23 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.547e-05/1.003, allocations: 4 kB / 1.329 GB, free: 12.23 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007129/1.003, allocations: 152.7 kB / 1.33 GB, free: 12.08 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001239/1.005, allocations: 343.3 kB / 1.33 GB, free: 11.74 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005977/1.005, allocations: 0.6818 MB / 1.331 GB, free: 11.04 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001822/1.007, allocations: 275 kB / 1.331 GB, free: 10.77 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001527/1.007, allocations: 59.95 kB / 1.331 GB, free: 10.71 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002527/1.01, allocations: 1.346 MB / 1.332 GB, free: 9.355 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002015/1.012, allocations: 1.166 MB / 1.333 GB, free: 8.105 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003437/1.015, allocations: 1.8 MB / 1.335 GB, free: 6.23 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.11e-06/1.015, allocations: 0 / 1.335 GB, free: 6.23 MB / 1.061 GB Notification: Performance of matching and sorting (n=139) (initialization_lambda0): time 0.004981/1.02, allocations: 2.365 MB / 1.337 GB, free: 3.852 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.303e-05/1.02, allocations: 45.69 kB / 1.337 GB, free: 3.801 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/1.02, allocations: 7.938 kB / 1.337 GB, free: 3.793 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003641/1.021, allocations: 110.3 kB / 1.338 GB, free: 3.684 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001234/1.022, allocations: 335.3 kB / 1.338 GB, free: 3.355 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002285/1.024, allocations: 2.258 MB / 1.34 GB, free: 0.9297 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001873/1.026, allocations: 255.2 kB / 1.34 GB, free: 0.6797 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001528/1.026, allocations: 55.95 kB / 1.34 GB, free: 0.625 MB / 1.061 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.0004381/1.027, allocations: 307.5 kB / 1.341 GB, free: 320 kB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005956/1.027, allocations: 210.7 kB / 1.341 GB, free: 108 kB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005135/1.033, allocations: 2.456 MB / 1.343 GB, free: 13.63 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004182/1.037, allocations: 2.162 MB / 1.345 GB, free: 11.43 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/1.037, allocations: 0 / 1.345 GB, free: 11.43 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001147/1.038, allocations: 0.5189 MB / 1.346 GB, free: 10.89 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004913/1.038, allocations: 43.88 kB / 1.346 GB, free: 10.85 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001682/1.04, allocations: 215.6 kB / 1.346 GB, free: 10.64 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002509/1.04, allocations: 100.8 kB / 1.346 GB, free: 10.54 MB / 1.076 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005708/1.046, allocations: 2.595 MB / 1.349 GB, free: 7.914 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00696/1.053, allocations: 3.787 MB / 1.352 GB, free: 4.102 MB / 1.076 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001959/1.055, allocations: 1.077 MB / 1.353 GB, free: 3.023 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.002322/1.057, allocations: 1.362 MB / 1.355 GB, free: 1.641 MB / 1.076 GB Notification: Performance of Backend: time 1.122e-06/1.057, allocations: 0 / 1.355 GB, free: 1.641 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.008708/1.066, allocations: 3.604 MB / 1.358 GB, free: 14.15 MB / 1.092 GB Notification: Performance of SimCode: time 0.008002/1.074, allocations: 4.398 MB / 1.363 GB, free: 9.688 MB / 1.092 GB Notification: Performance of Templates: time 0.0763/1.15, allocations: 49.71 MB / 1.411 GB, free: 8.105 MB / 1.139 GB make -j1 -f Buildings_10_Buildings.Fluid.Storage.Ice.Validation.Tank.makefile (rm -f Buildings_10_Buildings.Fluid.Storage.Ice.Validation.Tank.pipe ; mkfifo Buildings_10_Buildings.Fluid.Storage.Ice.Validation.Tank.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Storage.Ice.Validation.Tank.pipe >> ../files/Buildings_10_Buildings.Fluid.Storage.Ice.Validation.Tank.sim & ./Buildings_10_Buildings.Fluid.Storage.Ice.Validation.Tank -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Storage.Ice.Validation.Tank.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Storage.Ice.Validation.Tank_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Storage_Ice_Validation_Tank.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Storage.Ice.Validation.Tank.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches