Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.244/2.244, allocations: 387.1 MB / 399.7 MB, free: 9.527 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001061/0.001061, allocations: 170.4 kB / 492.3 MB, free: 0.6523 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.485/1.485, allocations: 221.3 MB / 0.7871 GB, free: 12.91 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008846/0.0008847, allocations: 95.88 kB / 0.9267 GB, free: 13.98 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.782e-05/2.783e-05, allocations: 0 / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2959/0.296, allocations: 142.3 MB / 1.212 GB, free: 38.53 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.359/1.655, allocations: 416.6 MB / 1.619 GB, free: 13.9 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003469/1.655, allocations: 83.2 kB / 1.619 GB, free: 13.86 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 8.5/10.15, allocations: 2.137 GB / 3.756 GB, free: 213.4 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.873e-06/10.15, allocations: 0 / 3.756 GB, free: 213.4 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.001231/10.16, allocations: 184.7 kB / 3.756 GB, free: 213.2 MB / 1.167 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.02281/10.18, allocations: 5.526 MB / 3.761 GB, free: 207.7 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.212e-05/10.18, allocations: 12.03 kB / 3.761 GB, free: 207.7 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005622/10.18, allocations: 0.7843 MB / 3.762 GB, free: 206.9 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01799/10.2, allocations: 7.47 MB / 3.769 GB, free: 199.5 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004095/10.2, allocations: 416.9 kB / 3.77 GB, free: 199.1 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002282/10.21, allocations: 0.5459 MB / 3.77 GB, free: 198.6 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02048/10.23, allocations: 7.396 MB / 3.778 GB, free: 190.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003624/10.23, allocations: 23.53 kB / 3.778 GB, free: 190.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002736/10.23, allocations: 239.3 kB / 3.778 GB, free: 190.7 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002351/10.23, allocations: 226.4 kB / 3.778 GB, free: 190.4 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01729/10.25, allocations: 5.854 MB / 3.784 GB, free: 184.6 MB / 1.167 GB Warning: The model contains alias variables with conflicting start and/or 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.05618/10.3, allocations: 29.68 MB / 3.813 GB, free: 153.8 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005851/10.31, allocations: 3.534 MB / 3.816 GB, free: 150.3 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004171/10.31, allocations: 2.991 MB / 3.819 GB, free: 147.3 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009416/10.31, allocations: 0.8281 MB / 3.82 GB, free: 146.3 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.523e-05/10.31, allocations: 72.61 kB / 3.82 GB, free: 146.2 MB / 1.167 GB Notification: Performance of pre-optimization done (n=267): time 6.663e-06/10.31, allocations: 0 / 3.82 GB, free: 146.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=267): time 0.008146/10.32, allocations: 3.654 MB / 3.824 GB, free: 142.5 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.341e-05/10.32, allocations: 81.52 kB / 3.824 GB, free: 142.4 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01051/10.33, allocations: 4.838 MB / 3.828 GB, free: 137.6 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0009083/10.33, allocations: 77.7 kB / 3.829 GB, free: 137.5 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.002994/10.34, allocations: 2.856 MB / 3.831 GB, free: 134.6 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.001699/10.34, allocations: 0.9394 MB / 3.832 GB, free: 133.7 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006843/10.34, allocations: 76 kB / 3.832 GB, free: 133.6 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.000374/10.34, allocations: 461.9 kB / 3.833 GB, free: 133.2 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002793/10.34, allocations: 1.604 MB / 3.834 GB, free: 131.6 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003457/10.35, allocations: 2.865 MB / 3.837 GB, free: 128.1 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00349/10.35, allocations: 2.231 MB / 3.839 GB, free: 125.9 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.005e-05/10.35, allocations: 12 kB / 3.839 GB, free: 125.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01079/10.36, allocations: 5.292 MB / 3.844 GB, free: 120.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 6.347e-05/10.36, allocations: 24.97 kB / 3.844 GB, free: 120.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.209e-05/10.36, allocations: 40 kB / 3.845 GB, free: 120.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009453/10.36, allocations: 423.5 kB / 3.845 GB, free: 120.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003439/10.36, allocations: 0.858 MB / 3.846 GB, free: 119.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004764/10.37, allocations: 5.316 MB / 3.851 GB, free: 113.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006592/10.38, allocations: 0.6664 MB / 3.852 GB, free: 112.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001038/10.38, allocations: 176 kB / 3.852 GB, free: 112.8 MB / 1.167 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 () * 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 (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.001748/10.38, allocations: 349.3 kB / 3.852 GB, free: 112.4 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002122/10.38, allocations: 494.1 kB / 3.853 GB, free: 111.9 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008673/10.39, allocations: 4.08 MB / 3.857 GB, free: 107.8 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-05/10.39, allocations: 24 kB / 3.857 GB, free: 107.8 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.631e-05/10.39, allocations: 7.953 kB / 3.857 GB, free: 107.8 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00486/10.39, allocations: 3.526 MB / 3.86 GB, free: 104.1 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02394/10.42, allocations: 10.2 MB / 3.87 GB, free: 93.81 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.151e-05/10.42, allocations: 8.094 kB / 3.87 GB, free: 93.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002351/10.42, allocations: 0.4993 MB / 3.87 GB, free: 93.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00085/10.42, allocations: 365.3 kB / 3.871 GB, free: 92.94 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000493/10.42, allocations: 79.95 kB / 3.871 GB, free: 92.86 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004637/10.43, allocations: 5.25 MB / 3.876 GB, free: 87.35 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.146e-06/10.43, allocations: 7.953 kB / 3.876 GB, free: 87.34 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01125/10.44, allocations: 6.765 MB / 3.883 GB, free: 80.29 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004523/10.44, allocations: 1.201 MB / 3.884 GB, free: 79.07 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002268/10.45, allocations: 67.94 kB / 3.884 GB, free: 79 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005311/10.45, allocations: 295.2 kB / 3.884 GB, free: 78.71 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006304/10.45, allocations: 181.6 kB / 3.884 GB, free: 78.53 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006573/10.45, allocations: 127.9 kB / 3.884 GB, free: 78.41 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.00923/10.46, allocations: 3.931 MB / 3.888 GB, free: 74.49 MB / 1.167 GB Notification: Performance of sort global known variables: time 8.61e-07/10.46, allocations: 0 / 3.888 GB, free: 74.49 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.01017/10.47, allocations: 1.855 MB / 3.89 GB, free: 72.63 MB / 1.167 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 () * 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 (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.002537/10.47, allocations: 0.7397 MB / 3.891 GB, free: 71.96 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.008309/10.48, allocations: 4.157 MB / 3.895 GB, free: 67.77 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.236e-05/10.48, allocations: 4 kB / 3.895 GB, free: 67.77 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.003681/10.49, allocations: 1.973 MB / 3.897 GB, free: 65.77 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01819/10.5, allocations: 3.233 MB / 3.9 GB, free: 62.63 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02866/10.53, allocations: 10.66 MB / 3.91 GB, free: 51.86 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007982/10.54, allocations: 4.428 MB / 3.915 GB, free: 47.41 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.01013/10.55, allocations: 1.859 MB / 3.917 GB, free: 45.54 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003003/10.55, allocations: 431.2 kB / 3.917 GB, free: 45.12 MB / 1.167 GB Notification: Performance of SimCode: time 2.615e-06/10.55, allocations: 0 / 3.917 GB, free: 45.12 MB / 1.167 GB Notification: Performance of Templates: time 1.072/11.63, allocations: 113.5 MB / 4.028 GB, free: 241.6 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.makefile (rm -f Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & ./Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.csv","../files/Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches