Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.435/1.435, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001181/0.001181, allocations: 178.7 kB / 326.5 MB, free: 2.262 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.885/1.885, allocations: 205.4 MB / 0.5775 GB, free: 20.24 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008595/0.0008596, allocations: 88.5 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003422/0.0003423, allocations: 9.156 kB / 0.7962 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2245/0.2249, allocations: 106.3 MB / 0.9001 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9729/1.198, allocations: 397.1 MB / 1.288 GB, free: 2.473 MB / 0.7917 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002916/1.198, allocations: 94.08 kB / 1.288 GB, free: 2.422 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 7.009/8.208, allocations: 2.022 GB / 3.31 GB, free: 125.8 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.685e-06/8.208, allocations: 0 / 3.31 GB, free: 125.8 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.001239/8.209, allocations: 178.1 kB / 3.31 GB, free: 125.7 MB / 0.8855 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.02448/8.233, allocations: 6.515 MB / 3.317 GB, free: 119.2 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.099e-05/8.234, allocations: 8.031 kB / 3.317 GB, free: 119.2 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005974/8.24, allocations: 0.7727 MB / 3.317 GB, free: 118.4 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02132/8.261, allocations: 7.277 MB / 3.325 GB, free: 111.2 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005529/8.261, allocations: 427.2 kB / 3.325 GB, free: 110.8 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002848/8.264, allocations: 0.5407 MB / 3.326 GB, free: 110.3 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02313/8.288, allocations: 7.39 MB / 3.333 GB, free: 102.7 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000438/8.288, allocations: 9.281 kB / 3.333 GB, free: 102.7 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002445/8.29, allocations: 248.9 kB / 3.333 GB, free: 102.4 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002022/8.291, allocations: 165.2 kB / 3.333 GB, free: 102.3 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01575/8.306, allocations: 6.005 MB / 3.339 GB, free: 96.26 MB / 0.8855 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.05784/8.364, allocations: 29.06 MB / 3.367 GB, free: 66.2 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006848/8.371, allocations: 3.7 MB / 3.371 GB, free: 62.54 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009758/8.372, allocations: 0.8354 MB / 3.372 GB, free: 61.55 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.677e-05/8.372, allocations: 64.73 kB / 3.372 GB, free: 61.47 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=275): time 5.46e-06/8.372, allocations: 4 kB / 3.372 GB, free: 61.47 MB / 0.8855 GB Notification: Performance of matching and sorting (n=275): time 0.01322/8.386, allocations: 5.813 MB / 3.378 GB, free: 55.55 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.666e-05/8.386, allocations: 81.58 kB / 3.378 GB, free: 55.46 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01258/8.398, allocations: 4.816 MB / 3.382 GB, free: 50.65 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0009909/8.399, allocations: 81.7 kB / 3.382 GB, free: 50.57 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.003492/8.403, allocations: 2.801 MB / 3.385 GB, free: 47.75 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.001994/8.405, allocations: 0.9662 MB / 3.386 GB, free: 46.79 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007436/8.406, allocations: 80 kB / 3.386 GB, free: 46.71 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0004347/8.406, allocations: 458 kB / 3.387 GB, free: 46.26 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003183/8.409, allocations: 1.69 MB / 3.388 GB, free: 44.57 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00342/8.413, allocations: 2.913 MB / 3.391 GB, free: 41.12 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002946/8.416, allocations: 2.29 MB / 3.393 GB, free: 38.81 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.726e-05/8.416, allocations: 12 kB / 3.393 GB, free: 38.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=483) (initialization): time 0.008355/8.424, allocations: 5.448 MB / 3.399 GB, free: 33.3 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 4.048e-05/8.424, allocations: 22.34 kB / 3.399 GB, free: 33.28 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-05/8.424, allocations: 40 kB / 3.399 GB, free: 33.24 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008361/8.425, allocations: 417.6 kB / 3.399 GB, free: 32.83 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002817/8.428, allocations: 0.8697 MB / 3.4 GB, free: 31.96 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004431/8.432, allocations: 5.402 MB / 3.405 GB, free: 26.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006441/8.439, allocations: 0.6741 MB / 3.406 GB, free: 25.62 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007275/8.44, allocations: 184 kB / 3.406 GB, free: 25.45 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 173 * 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 (455): * Single equations (assignments): 453 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004724/8.444, allocations: 2.257 MB / 3.408 GB, free: 23.18 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001666/8.446, allocations: 482.1 kB / 3.409 GB, free: 22.7 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006328/8.452, allocations: 4.219 MB / 3.413 GB, free: 18.41 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.249e-05/8.452, allocations: 28 kB / 3.413 GB, free: 18.39 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/8.452, allocations: 11.94 kB / 3.413 GB, free: 18.38 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00415/8.457, allocations: 3.665 MB / 3.416 GB, free: 14.59 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02287/8.479, allocations: 10.35 MB / 3.427 GB, free: 4.074 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.256e-05/8.479, allocations: 4 kB / 3.427 GB, free: 4.07 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002071/8.482, allocations: 0.5038 MB / 3.427 GB, free: 3.566 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007259/8.482, allocations: 373.3 kB / 3.427 GB, free: 3.195 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002114/8.483, allocations: 87.95 kB / 3.428 GB, free: 3.109 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00522/8.488, allocations: 5.359 MB / 3.433 GB, free: 13.5 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/8.488, allocations: 4 kB / 3.433 GB, free: 13.5 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01243/8.5, allocations: 7.118 MB / 3.44 GB, free: 6.02 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006058/8.506, allocations: 1.197 MB / 3.441 GB, free: 4.797 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002351/8.509, allocations: 63.98 kB / 3.441 GB, free: 4.734 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005082/8.514, allocations: 310.6 kB / 3.441 GB, free: 4.434 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005529/8.514, allocations: 185.8 kB / 3.441 GB, free: 4.25 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005519/8.515, allocations: 123.9 kB / 3.442 GB, free: 4.129 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.01001/8.525, allocations: 3.926 MB / 3.445 GB, free: 220 kB / 0.9011 GB Notification: Performance of sort global known variables: time 2.51e-07/8.525, allocations: 0 / 3.445 GB, free: 220 kB / 0.9011 GB Notification: Performance of remove unused functions: time 0.6093/9.134, allocations: 1.846 MB / 3.447 GB, free: 153.5 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 20 (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,HIn_flow.h_out,HOut_flow.h_out,HInEnh_flow.h_out,HOutEnh_flow.h_out,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 (250): * Single equations (assignments): 245 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002274/9.137, allocations: 0.7423 MB / 3.448 GB, free: 153.4 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.00746/9.144, allocations: 4.302 MB / 3.452 GB, free: 153.1 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.174e-05/9.144, allocations: 2.469 kB / 3.452 GB, free: 153.1 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.004033/9.148, allocations: 2.067 MB / 3.454 GB, free: 152.8 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02033/9.169, allocations: 3.234 MB / 3.457 GB, free: 152.8 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03196/9.201, allocations: 14.86 MB / 3.472 GB, free: 147.6 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00475/9.205, allocations: 4.392 MB / 3.476 GB, free: 146.8 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.008362/9.214, allocations: 1.881 MB / 3.478 GB, free: 146.7 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001908/9.216, allocations: 416.8 kB / 3.478 GB, free: 146.7 MB / 0.9011 GB Notification: Performance of SimCode: time 1.112e-06/9.216, allocations: 0 / 3.478 GB, free: 146.7 MB / 0.9011 GB Notification: Performance of Templates: time 0.1714/9.387, allocations: 111.3 MB / 3.587 GB, free: 140.6 MB / 0.9011 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches