Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001877/0.001877, allocations: 81.5 kB / 19.44 MB, free: 344 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002013/0.002013, allocations: 173.6 kB / 22.76 MB, free: 1.664 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.575/1.575, allocations: 177.1 MB / 203.1 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.452/3.452, allocations: 429.5 MB / 0.6729 GB, free: 3.988 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaTan.vol.1..T|heaTan.vol.2..T|heaTan.vol.3..T|heaTan.vol.4..T|heaTan.vol.5..T|heaTan.vol.6..T|heaTan.vol.7..T|cooTan.vol.1..T|cooTan.vol.2..T|cooTan.vol.3..T|cooTan.vol.4..T|cooTan.vol.5..T|cooTan.vol.6..T|cooTan.vol.7..T|dHTan.y|dHTanEnh.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial") translateModel(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaTan.vol.1..T|heaTan.vol.2..T|heaTan.vol.3..T|heaTan.vol.4..T|heaTan.vol.5..T|heaTan.vol.6..T|heaTan.vol.7..T|cooTan.vol.1..T|cooTan.vol.2..T|cooTan.vol.3..T|cooTan.vol.4..T|cooTan.vol.5..T|cooTan.vol.6..T|cooTan.vol.7..T|dHTan.y|dHTanEnh.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 0.8774 GB, free: 6.633 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.168e-05/3.344e-05, allocations: 3.188 kB / 0.8774 GB, free: 6.629 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.06913/0.06916, allocations: 50.97 MB / 0.9272 GB, free: 3.52 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.027/0.09616, allocations: 14.35 MB / 0.9412 GB, free: 5.129 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003424/0.09959, allocations: 91.25 kB / 0.9413 GB, free: 5.039 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.003322/0.1029, allocations: 0.8146 MB / 0.9421 GB, free: 4.219 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.00897/0.1119, allocations: 2.459 MB / 0.9445 GB, free: 1.746 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.004873/0.1168, allocations: 1.388 MB / 0.9459 GB, free: 364 kB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.02888/0.1456, allocations: 20.64 MB / 0.966 GB, free: 11.64 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01378/0.1594, allocations: 6.397 MB / 0.9723 GB, free: 5.148 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02903/0.1884, allocations: 9.602 MB / 0.9817 GB, free: 11.63 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01489/0.2033, allocations: 5.954 MB / 0.9875 GB, free: 5.664 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.004096/0.2074, allocations: 0.8438 MB / 0.9883 GB, free: 4.82 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008487/0.2159, allocations: 1.494 MB / 0.9898 GB, free: 3.324 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.005541/0.2215, allocations: 2.289 MB / 0.992 GB, free: 1.027 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.01141/0.2329, allocations: 3.084 MB / 0.995 GB, free: 13.93 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.02372/0.2566, allocations: 12.42 MB / 1.007 GB, free: 1.48 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 6.902e-06/0.2566, allocations: 0 / 1.007 GB, free: 1.48 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2566, allocations: 0 / 1.007 GB, free: 1.48 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0004853/0.2571, allocations: 8 kB / 1.007 GB, free: 1.473 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1414 * Number of variables: 1414 Notification: Performance of Generate backend data structure: time 0.02646/0.2835, allocations: 8.766 MB / 1.016 GB, free: 8.629 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.812e-05/0.2836, allocations: 12.03 kB / 1.016 GB, free: 8.617 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006937/0.2905, allocations: 1.393 MB / 1.017 GB, free: 7.219 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01729/0.3078, allocations: 5.894 MB / 1.023 GB, free: 1.238 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006197/0.3084, allocations: 423.4 kB / 1.023 GB, free: 0.8242 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002789/0.3112, allocations: 0.5589 MB / 1.024 GB, free: 272 kB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02594/0.3372, allocations: 9.115 MB / 1.033 GB, free: 6.578 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003439/0.3375, allocations: 19.83 kB / 1.033 GB, free: 6.559 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00203/0.3395, allocations: 236 kB / 1.033 GB, free: 6.328 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000275/0.3398, allocations: 167.9 kB / 1.033 GB, free: 6.164 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01691/0.3567, allocations: 5.47 MB / 1.038 GB, free: 0.6836 MB / 0.9948 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.5325/0.8892, allocations: 43.11 MB / 1.081 GB, free: 181 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004811/0.894, allocations: 3.036 MB / 1.083 GB, free: 180 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003379/0.8974, allocations: 2.26 MB / 1.086 GB, free: 179.3 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006506/0.8981, allocations: 155.9 kB / 1.086 GB, free: 179.3 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.343e-05/0.8981, allocations: 77.03 kB / 1.086 GB, free: 179.2 MB / 1.01 GB Notification: Performance of pre-optimization done (n=267): time 4.899e-06/0.8981, allocations: 0 / 1.086 GB, free: 179.2 MB / 1.01 GB Notification: Performance of matching and sorting (n=267): time 0.01084/0.909, allocations: 4.708 MB / 1.091 GB, free: 177.7 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.722e-05/0.909, allocations: 86.33 kB / 1.091 GB, free: 177.6 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01125/0.9203, allocations: 5.491 MB / 1.096 GB, free: 175.4 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0008067/0.9211, allocations: 81.58 kB / 1.096 GB, free: 175.3 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.003284/0.9244, allocations: 3.374 MB / 1.099 GB, free: 173.2 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.001956/0.9263, allocations: 1.093 MB / 1.1 GB, free: 172.5 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002563/0.9289, allocations: 0.9193 MB / 1.101 GB, free: 172 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 8.74e-05/0.929, allocations: 483 kB / 1.102 GB, free: 171.5 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002794/0.9318, allocations: 1.28 MB / 1.103 GB, free: 171.1 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0039/0.9357, allocations: 3.333 MB / 1.106 GB, free: 168.2 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006544/0.9422, allocations: 4.982 MB / 1.111 GB, free: 164.7 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.333e-05/0.9423, allocations: 12.31 kB / 1.111 GB, free: 164.7 MB / 1.01 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01004/0.9523, allocations: 4.825 MB / 1.116 GB, free: 162.8 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 5.622e-05/0.9524, allocations: 25.5 kB / 1.116 GB, free: 162.8 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.379e-05/0.9525, allocations: 39.84 kB / 1.116 GB, free: 162.8 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002317/0.9548, allocations: 0.5186 MB / 1.116 GB, free: 162.7 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003426/0.9582, allocations: 0.857 MB / 1.117 GB, free: 162.6 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008595/0.9668, allocations: 6.593 MB / 1.124 GB, free: 157.5 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005883/0.9727, allocations: 482.7 kB / 1.124 GB, free: 157.4 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009833/0.9737, allocations: 181.6 kB / 1.124 GB, free: 157.3 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 181 * Number of states: 0 () * Number of discrete variables: 2 (dHTan.local_reset,dHTanEnh.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (447): * Single equations (assignments): 445 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005484/0.9792, allocations: 2.014 MB / 1.126 GB, free: 156.4 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002433/0.9816, allocations: 0.5205 MB / 1.127 GB, free: 156.1 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00806/0.9897, allocations: 3.402 MB / 1.13 GB, free: 154.8 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.842e-05/0.9897, allocations: 28.28 kB / 1.13 GB, free: 154.8 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.912e-05/0.9897, allocations: 4.594 kB / 1.13 GB, free: 154.8 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005269/0.995, allocations: 2.97 MB / 1.133 GB, free: 153.5 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02393/1.019, allocations: 10.09 MB / 1.143 GB, free: 149.1 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.574e-05/1.019, allocations: 4.516 kB / 1.143 GB, free: 149.1 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002245/1.021, allocations: 0.5015 MB / 1.143 GB, free: 149.1 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002257/1.023, allocations: 476 kB / 1.144 GB, free: 149 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004045/1.024, allocations: 79.62 kB / 1.144 GB, free: 148.9 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005373/1.029, allocations: 6.537 MB / 1.15 GB, free: 143.8 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/1.029, allocations: 7.781 kB / 1.15 GB, free: 143.8 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0102/1.039, allocations: 5.358 MB / 1.156 GB, free: 141.4 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003775/1.043, allocations: 0.8989 MB / 1.156 GB, free: 141 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001366/1.045, allocations: 66.77 kB / 1.156 GB, free: 140.9 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003492/1.048, allocations: 171.2 kB / 1.157 GB, free: 140.9 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004869/1.049, allocations: 192.6 kB / 1.157 GB, free: 140.8 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004464/1.049, allocations: 124 kB / 1.157 GB, free: 140.8 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.006323/1.055, allocations: 3.19 MB / 1.16 GB, free: 138.1 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.7e-07/1.055, allocations: 0 / 1.16 GB, free: 138.1 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.007428/1.063, allocations: 1.913 MB / 1.162 GB, free: 136.2 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 16 (heaTan.vol[1].dynBal.U,heaTan.vol[2].dynBal.U,heaTan.vol[3].dynBal.U,heaTan.vol[4].dynBal.U,heaTan.vol[5].dynBal.U,heaTan.vol[6].dynBal.U,heaTan.vol[7].dynBal.U,cooTan.vol[1].dynBal.U,cooTan.vol[2].dynBal.U,cooTan.vol[3].dynBal.U,cooTan.vol[4].dynBal.U,cooTan.vol[5].dynBal.U,cooTan.vol[6].dynBal.U,cooTan.vol[7].dynBal.U,dHTanEnh.y,dHTan.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (242): * Single equations (assignments): 237 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001633/1.064, allocations: 486.3 kB / 1.162 GB, free: 135.8 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.007231/1.072, allocations: 3.95 MB / 1.166 GB, free: 132.3 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-05/1.072, allocations: 8.062 kB / 1.166 GB, free: 132.3 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.003034/1.075, allocations: 1.977 MB / 1.168 GB, free: 130.6 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01456/1.089, allocations: 2.713 MB / 1.171 GB, free: 128.4 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01939/1.109, allocations: 11.37 MB / 1.182 GB, free: 116.8 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00281/1.111, allocations: 3.418 MB / 1.185 GB, free: 113.4 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.005687/1.117, allocations: 1.363 MB / 1.187 GB, free: 112 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002106/1.119, allocations: 377 kB / 1.187 GB, free: 111.7 MB / 1.01 GB Notification: Performance of SimCode: time 5.069e-06/1.119, allocations: 4 kB / 1.187 GB, free: 111.7 MB / 1.01 GB Notification: Performance of Templates: time 0.1304/1.25, allocations: 93.94 MB / 1.279 GB, free: 19.4 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & ./Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.520565907936543]