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.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001266/0.001266, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001441/0.001441, allocations: 196 kB / 16.79 MB, free: 6.809 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.371/1.371, allocations: 222.9 MB / 240.5 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.697/2.697, allocations: 461.9 MB / 0.7348 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001527/0.001527, allocations: 64.48 kB / 0.899 GB, free: 37.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.343/0.3446, allocations: 157.4 MB / 1.053 GB, free: 8.32 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.04997/0.3946, allocations: 49.01 MB / 1.101 GB, free: 7.137 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01976/0.4144, allocations: 13.82 MB / 1.114 GB, free: 9.285 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003405/0.4179, allocations: 63.62 kB / 1.114 GB, free: 9.223 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.00276/0.4207, allocations: 0.6525 MB / 1.115 GB, free: 8.566 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.00882/0.4296, allocations: 2.088 MB / 1.117 GB, free: 6.469 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.003647/0.4332, allocations: 1.184 MB / 1.118 GB, free: 5.297 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.02385/0.4571, allocations: 25.64 MB / 1.143 GB, free: 11.6 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0113/0.4685, allocations: 8.075 MB / 1.151 GB, free: 3.395 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01183/0.4803, allocations: 5.011 MB / 1.156 GB, free: 14.36 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01119/0.4916, allocations: 5.586 MB / 1.161 GB, free: 8.754 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.002753/0.4944, allocations: 420 kB / 1.162 GB, free: 8.344 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007163/0.5015, allocations: 1.112 MB / 1.163 GB, free: 7.23 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.003259/0.5048, allocations: 1.615 MB / 1.164 GB, free: 5.609 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.009337/0.5142, allocations: 3.756 MB / 1.168 GB, free: 1.836 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.01218/0.5264, allocations: 9.738 MB / 1.177 GB, free: 8.078 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.782e-06/0.5264, allocations: 0 / 1.177 GB, free: 8.078 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.833e-06/0.5265, allocations: 0 / 1.177 GB, free: 8.078 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 0.0004217/0.5269, allocations: 4 kB / 1.178 GB, free: 8.074 MB / 0.9356 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.02128/0.5482, allocations: 7.713 MB / 1.185 GB, free: 288 kB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.592e-05/0.5482, allocations: 11.97 kB / 1.185 GB, free: 276 kB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0039/0.5522, allocations: 0.7893 MB / 1.186 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01303/0.5652, allocations: 6.244 MB / 1.192 GB, free: 9.16 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003827/0.5656, allocations: 415.4 kB / 1.192 GB, free: 8.754 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001903/0.5675, allocations: 0.5389 MB / 1.193 GB, free: 8.215 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01881/0.5864, allocations: 8.076 MB / 1.201 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001322/0.5866, allocations: 15.78 kB / 1.201 GB, free: 15.88 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007468/0.5873, allocations: 232 kB / 1.201 GB, free: 15.65 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001623/0.5875, allocations: 171.9 kB / 1.201 GB, free: 15.49 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01289/0.6004, allocations: 6.528 MB / 1.208 GB, free: 8.949 MB / 0.9669 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.04568/0.6461, allocations: 31.12 MB / 1.238 GB, free: 8 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005676/0.6518, allocations: 3.647 MB / 1.241 GB, free: 4.355 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004021/0.6559, allocations: 2.804 MB / 1.244 GB, free: 1.539 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001011/0.6569, allocations: 0.8319 MB / 1.245 GB, free: 0.5391 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.494e-05/0.657, allocations: 72.61 kB / 1.245 GB, free: 468 kB / 0.9981 GB Notification: Performance of pre-optimization done (n=267): time 4.629e-06/0.657, allocations: 0 / 1.245 GB, free: 468 kB / 0.9981 GB Notification: Performance of matching and sorting (n=267): time 0.7104/1.367, allocations: 5.758 MB / 1.251 GB, free: 175.5 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.345e-05/1.368, allocations: 81.61 kB / 1.251 GB, free: 175.4 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009507/1.377, allocations: 5.033 MB / 1.256 GB, free: 175.1 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0009028/1.378, allocations: 78.77 kB / 1.256 GB, free: 175.1 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002958/1.381, allocations: 2.866 MB / 1.259 GB, free: 174.4 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001726/1.383, allocations: 0.939 MB / 1.259 GB, free: 173.8 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001575/1.384, allocations: 0.7119 MB / 1.26 GB, free: 173.7 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.574e-05/1.384, allocations: 306.3 kB / 1.26 GB, free: 173.4 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003862/1.388, allocations: 1.674 MB / 1.262 GB, free: 173.4 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004658/1.393, allocations: 2.933 MB / 1.265 GB, free: 172 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009388/1.402, allocations: 4.969 MB / 1.27 GB, free: 169.5 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.002e-05/1.402, allocations: 11.56 kB / 1.27 GB, free: 169.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01257/1.415, allocations: 5.437 MB / 1.275 GB, free: 167.4 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.854e-05/1.415, allocations: 22.42 kB / 1.275 GB, free: 167.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.367e-05/1.415, allocations: 40.88 kB / 1.275 GB, free: 167.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001173/1.416, allocations: 424.8 kB / 1.276 GB, free: 167.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003645/1.42, allocations: 0.8578 MB / 1.276 GB, free: 167.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00606/1.426, allocations: 5.268 MB / 1.282 GB, free: 163.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006467/1.433, allocations: 0.6451 MB / 1.282 GB, free: 163 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001056/1.434, allocations: 177.3 kB / 1.282 GB, free: 163 MB / 0.9981 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.006093/1.44, allocations: 2.292 MB / 1.285 GB, free: 162 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002614/1.442, allocations: 491 kB / 1.285 GB, free: 161.8 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01065/1.453, allocations: 4.172 MB / 1.289 GB, free: 160.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.873e-05/1.453, allocations: 32.41 kB / 1.289 GB, free: 160.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-05/1.453, allocations: 8.984 kB / 1.289 GB, free: 160.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005518/1.459, allocations: 3.635 MB / 1.293 GB, free: 158.6 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02267/1.481, allocations: 10.2 MB / 1.303 GB, free: 152.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-05/1.482, allocations: 11.69 kB / 1.303 GB, free: 152.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002198/1.484, allocations: 0.4994 MB / 1.303 GB, free: 152.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008404/1.485, allocations: 372.8 kB / 1.304 GB, free: 152.6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003252/1.485, allocations: 77.95 kB / 1.304 GB, free: 152.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00465/1.49, allocations: 5.199 MB / 1.309 GB, free: 148 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.113e-06/1.49, allocations: 15.88 kB / 1.309 GB, free: 148 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01003/1.5, allocations: 6.241 MB / 1.315 GB, free: 141.6 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003607/1.503, allocations: 1.084 MB / 1.316 GB, free: 140.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001849/1.505, allocations: 63.98 kB / 1.316 GB, free: 140.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004383/1.51, allocations: 319.2 kB / 1.316 GB, free: 140.1 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003819/1.51, allocations: 183.5 kB / 1.316 GB, free: 139.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004017/1.51, allocations: 127.8 kB / 1.317 GB, free: 139.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.006892/1.517, allocations: 3.687 MB / 1.32 GB, free: 136.1 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.21e-07/1.517, allocations: 0 / 1.32 GB, free: 136.1 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.007424/1.525, allocations: 1.78 MB / 1.322 GB, free: 134.3 MB / 0.9981 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.001573/1.526, allocations: 488.7 kB / 1.322 GB, free: 133.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.007005/1.533, allocations: 4.262 MB / 1.327 GB, free: 129.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.306e-05/1.533, allocations: 8 kB / 1.327 GB, free: 129.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003019/1.536, allocations: 2.032 MB / 1.329 GB, free: 127.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01839/1.555, allocations: 3.274 MB / 1.332 GB, free: 124.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02435/1.579, allocations: 14.94 MB / 1.346 GB, free: 109.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004043/1.583, allocations: 4.235 MB / 1.35 GB, free: 105.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002321/1.586, allocations: 439.2 kB / 1.351 GB, free: 104.7 MB / 0.9981 GB Notification: Performance of SimCode: time 1.092e-06/1.586, allocations: 0 / 1.351 GB, free: 104.7 MB / 0.9981 GB Notification: Performance of Templates: time 0.2101/1.796, allocations: 172.5 MB / 1.519 GB, free: 12.55 MB / 1.076 GB make -j1 -f Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches