Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.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.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tanEnh.vol.1..T|tanEnh.vol.2..T|tanEnh.vol.3..T|tanEnh.vol.4..T|tanEnh.vol.5..T|tanEnh.vol.6..T|tanEnh.vol.7..T|dHTan.y|dHTanEnh.y|tan.vol.1..T|tan.vol.2..T|tan.vol.3..T|tan.vol.4..T|tan.vol.5..T|tan.vol.6..T|tan.vol.7..T",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tanEnh.vol.1..T|tanEnh.vol.2..T|tanEnh.vol.3..T|tanEnh.vol.4..T|tanEnh.vol.5..T|tanEnh.vol.6..T|tanEnh.vol.7..T|dHTan.y|dHTanEnh.y|tan.vol.1..T|tan.vol.2..T|tan.vol.3..T|tan.vol.4..T|tan.vol.5..T|tan.vol.6..T|tan.vol.7..T",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.434/1.434, allocations: 251.9 MB / 266.9 MB, free: 11.01 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.001312/0.001312, allocations: 178.7 kB / 326.5 MB, free: 2.258 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.879/1.879, allocations: 205.4 MB / 0.5775 GB, free: 20.61 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.001275/0.001274, allocations: 95.34 kB / 0.6821 GB, free: 13.38 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003718/0.0003718, allocations: 9.625 kB / 0.7962 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2446/0.245, allocations: 106.3 MB / 0.9001 GB, free: 64.48 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9129/1.158, allocations: 399.7 MB / 1.29 GB, free: 0.6211 MB / 0.7917 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000262/1.158, allocations: 90.2 kB / 1.291 GB, free: 0.5742 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 7.374/8.532, allocations: 2.134 GB / 3.424 GB, free: 18.68 MB / 0.9011 GB Notification: Performance of FrontEnd: time 3.336e-06/8.532, allocations: 0 / 3.424 GB, free: 18.68 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.001314/8.533, allocations: 191.8 kB / 3.424 GB, free: 18.49 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1564 * Number of variables: 1564 Notification: Performance of Generate backend data structure: time 0.02751/8.561, allocations: 7.216 MB / 3.431 GB, free: 11.18 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.719e-05/8.561, allocations: 12.03 kB / 3.431 GB, free: 11.17 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006318/8.567, allocations: 0.8423 MB / 3.432 GB, free: 10.32 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02307/8.59, allocations: 7.726 MB / 3.44 GB, free: 2.523 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005343/8.591, allocations: 464.2 kB / 3.44 GB, free: 2.066 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003198/8.594, allocations: 0.5975 MB / 3.441 GB, free: 1.469 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6645/9.259, allocations: 8.33 MB / 3.449 GB, free: 109.1 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003075/9.259, allocations: 24 kB / 3.449 GB, free: 109.1 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002267/9.261, allocations: 255.1 kB / 3.449 GB, free: 109.1 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002455/9.262, allocations: 182.4 kB / 3.449 GB, free: 109.1 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02261/9.284, allocations: 6.935 MB / 3.456 GB, free: 109 MB / 0.9011 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.06171/9.346, allocations: 33.36 MB / 3.489 GB, free: 95.79 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006579/9.353, allocations: 4.391 MB / 3.493 GB, free: 95.74 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00109/9.354, allocations: 0.9626 MB / 3.494 GB, free: 94.8 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003656/9.357, allocations: 2.34 MB / 3.496 GB, free: 94.69 MB / 0.9011 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003816/9.361, allocations: 482.8 kB / 3.497 GB, free: 94.57 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=329): time 1.841e-05/9.361, allocations: 5.219 kB / 3.497 GB, free: 94.57 MB / 0.9011 GB Notification: Performance of matching and sorting (n=329): time 0.01253/9.374, allocations: 7.142 MB / 3.504 GB, free: 93.94 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.328e-05/9.374, allocations: 88.88 kB / 3.504 GB, free: 93.88 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0104/9.384, allocations: 5.18 MB / 3.509 GB, free: 93.56 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.001043/9.385, allocations: 92.64 kB / 3.509 GB, free: 93.53 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.003235/9.389, allocations: 3.117 MB / 3.512 GB, free: 92.64 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.001805/9.39, allocations: 1.153 MB / 3.513 GB, free: 92.06 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002849/9.391, allocations: 88.28 kB / 3.513 GB, free: 92.06 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0002701/9.391, allocations: 495.3 kB / 3.513 GB, free: 91.75 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003094/9.394, allocations: 2.153 MB / 3.516 GB, free: 91.73 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003952/9.398, allocations: 3.636 MB / 3.519 GB, free: 89.96 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003635/9.402, allocations: 2.909 MB / 3.522 GB, free: 89.88 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.269e-05/9.402, allocations: 18.44 kB / 3.522 GB, free: 89.88 MB / 0.9011 GB Notification: Performance of matching and sorting (n=577) (initialization): time 0.009568/9.411, allocations: 6.72 MB / 3.529 GB, free: 89.44 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 5.932e-05/9.411, allocations: 53.02 kB / 3.529 GB, free: 89.41 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.204e-05/9.411, allocations: 48.12 kB / 3.529 GB, free: 89.41 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008794/9.412, allocations: 437.3 kB / 3.529 GB, free: 89.39 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003651/9.416, allocations: 1.045 MB / 3.53 GB, free: 89.39 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004651/9.421, allocations: 5.393 MB / 3.535 GB, free: 86.7 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007406/9.428, allocations: 478.3 kB / 3.536 GB, free: 86.67 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001116/9.429, allocations: 218.5 kB / 3.536 GB, free: 86.67 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 214 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,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 (548): * Single equations (assignments): 545 * Array equations: 0 * Algorithm blocks: 1 * 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.006451/9.436, allocations: 2.459 MB / 3.538 GB, free: 86.55 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002169/9.438, allocations: 0.5168 MB / 3.539 GB, free: 86.29 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01061/9.449, allocations: 5.297 MB / 3.544 GB, free: 86.05 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.766e-05/9.449, allocations: 37.88 kB / 3.544 GB, free: 86.05 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.008e-05/9.449, allocations: 7.891 kB / 3.544 GB, free: 86.05 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006338/9.455, allocations: 4.552 MB / 3.549 GB, free: 85.59 MB / 0.9011 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 postOpt removeSimpleEquations (simulation): time 0.02647/9.481, allocations: 11.91 MB / 3.56 GB, free: 84.81 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.184e-05/9.482, allocations: 0 / 3.56 GB, free: 84.81 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002792/9.484, allocations: 0.6425 MB / 3.561 GB, free: 84.81 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007603/9.485, allocations: 371.3 kB / 3.561 GB, free: 84.8 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002509/9.485, allocations: 87.73 kB / 3.561 GB, free: 84.8 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004477/9.49, allocations: 5.326 MB / 3.566 GB, free: 82.11 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/9.49, allocations: 1.688 kB / 3.567 GB, free: 82.11 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01097/9.501, allocations: 7.86 MB / 3.574 GB, free: 81.32 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004853/9.506, allocations: 1.247 MB / 3.575 GB, free: 80.96 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001864/9.508, allocations: 69.08 kB / 3.575 GB, free: 80.96 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005555/9.513, allocations: 414.2 kB / 3.576 GB, free: 80.95 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000474/9.514, allocations: 205.2 kB / 3.576 GB, free: 80.94 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003163/9.514, allocations: 130.7 kB / 3.576 GB, free: 80.94 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.006803/9.521, allocations: 4.033 MB / 3.58 GB, free: 80.76 MB / 0.9011 GB Notification: Performance of sort global known variables: time 4.21e-07/9.521, allocations: 3.469 kB / 3.58 GB, free: 80.76 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.008811/9.53, allocations: 2.062 MB / 3.582 GB, free: 80.52 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 20 (tanEnh.vol[1].dynBal.U,tanEnh.vol[2].dynBal.U,tanEnh.vol[3].dynBal.U,tanEnh.vol[4].dynBal.U,tanEnh.vol[5].dynBal.U,tanEnh.vol[6].dynBal.U,tanEnh.vol[7].dynBal.U,tan.vol[1].dynBal.U,tan.vol[2].dynBal.U,tan.vol[3].dynBal.U,tan.vol[4].dynBal.U,tan.vol[5].dynBal.U,tan.vol[6].dynBal.U,tan.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: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (308): * Single equations (assignments): 301 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * 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.001963/9.532, allocations: 0.8263 MB / 3.583 GB, free: 80.36 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.008274/9.54, allocations: 5.404 MB / 3.588 GB, free: 79.98 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 8.926e-06/9.54, allocations: 4.844 kB / 3.588 GB, free: 79.98 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.003519/9.544, allocations: 2.549 MB / 3.591 GB, free: 79.71 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01683/9.56, allocations: 3.174 MB / 3.594 GB, free: 79.7 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03483/9.595, allocations: 16.28 MB / 3.61 GB, free: 74.09 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005175/9.6, allocations: 4.727 MB / 3.614 GB, free: 73.23 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.007914/9.608, allocations: 2.085 MB / 3.616 GB, free: 73.18 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001936/9.61, allocations: 471.5 kB / 3.617 GB, free: 73.18 MB / 0.9011 GB Notification: Performance of SimCode: time 1.603e-06/9.61, allocations: 1.219 kB / 3.617 GB, free: 73.18 MB / 0.9011 GB Notification: Performance of Templates: time 0.1857/9.796, allocations: 117 MB / 3.731 GB, free: 27.82 MB / 0.9011 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches