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.459/1.459, allocations: 249.3 MB / 261.9 MB, free: 5.945 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009651/0.0009651, allocations: 176.8 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.4/1.4, allocations: 205.2 MB / 0.572 GB, free: 10.7 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.000926/0.000926, allocations: 90.48 kB / 0.6764 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.031e-05/4.044e-05, allocations: 4 kB / 0.7879 GB, free: 97.11 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2324/0.2324, allocations: 106.3 MB / 0.8918 GB, free: 6.68 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.731/1.964, allocations: 399.6 MB / 1.282 GB, free: 322.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002985/1.964, allocations: 87.75 kB / 1.282 GB, free: 322.9 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 8.54/10.5, allocations: 2.128 GB / 3.41 GB, free: 131.5 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.815e-06/10.5, allocations: 3.062 kB / 3.41 GB, free: 131.5 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.001497/10.51, allocations: 180.4 kB / 3.41 GB, free: 131.5 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.02389/10.53, allocations: 6.121 MB / 3.416 GB, free: 129.4 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.269e-05/10.53, allocations: 10.91 kB / 3.416 GB, free: 129.4 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005997/10.54, allocations: 0.845 MB / 3.417 GB, free: 129 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01923/10.56, allocations: 7.693 MB / 3.425 GB, free: 128.1 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006449/10.56, allocations: 463 kB / 3.425 GB, free: 128.1 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003137/10.56, allocations: 0.603 MB / 3.426 GB, free: 128.1 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02529/10.58, allocations: 8.208 MB / 3.434 GB, free: 127.2 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000334/10.58, allocations: 20.84 kB / 3.434 GB, free: 127.2 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002077/10.59, allocations: 259.4 kB / 3.434 GB, free: 127.2 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001734/10.59, allocations: 177.1 kB / 3.434 GB, free: 127.2 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01861/10.61, allocations: 6.762 MB / 3.441 GB, free: 127.2 MB / 0.9011 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.06504/10.67, allocations: 33.37 MB / 3.473 GB, free: 113.3 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007732/10.68, allocations: 4.297 MB / 3.478 GB, free: 113.2 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005465/10.68, allocations: 3.476 MB / 3.481 GB, free: 113.2 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00133/10.69, allocations: 0.9611 MB / 3.482 GB, free: 112.2 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00485/10.69, allocations: 2.273 MB / 3.484 GB, free: 112.1 MB / 0.9011 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004399/10.69, allocations: 491.2 kB / 3.485 GB, free: 111.9 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=329): time 2.162e-05/10.69, allocations: 0 / 3.485 GB, free: 111.9 MB / 0.9011 GB Notification: Performance of matching and sorting (n=329): time 0.01085/10.71, allocations: 4.569 MB / 3.489 GB, free: 111.5 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.253e-05/10.71, allocations: 88.47 kB / 3.489 GB, free: 111.4 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01251/10.72, allocations: 5.129 MB / 3.494 GB, free: 109.9 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.001096/10.72, allocations: 86.14 kB / 3.494 GB, free: 109.9 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.004839/10.72, allocations: 3.123 MB / 3.497 GB, free: 107.5 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.002517/10.73, allocations: 1.156 MB / 3.498 GB, free: 106.6 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001192/10.73, allocations: 94.23 kB / 3.498 GB, free: 106.5 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.00064/10.73, allocations: 497.6 kB / 3.499 GB, free: 106.1 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004649/10.73, allocations: 2.061 MB / 3.501 GB, free: 105.4 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005965/10.74, allocations: 3.56 MB / 3.504 GB, free: 102.8 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005276/10.74, allocations: 2.842 MB / 3.507 GB, free: 101.9 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.84e-05/10.74, allocations: 11.72 kB / 3.507 GB, free: 101.9 MB / 0.9011 GB Notification: Performance of matching and sorting (n=577) (initialization): time 0.01534/10.76, allocations: 6.566 MB / 3.514 GB, free: 99.73 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001371/10.76, allocations: 50.86 kB / 3.514 GB, free: 99.7 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001417/10.76, allocations: 46.84 kB / 3.514 GB, free: 99.7 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00122/10.76, allocations: 432.8 kB / 3.514 GB, free: 99.61 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004761/10.77, allocations: 1.05 MB / 3.515 GB, free: 99.57 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005599/10.77, allocations: 5.302 MB / 3.52 GB, free: 95.81 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008961/10.78, allocations: 471.4 kB / 3.521 GB, free: 95.69 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001492/10.78, allocations: 217.5 kB / 3.521 GB, free: 95.66 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 () * 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.002418/10.79, allocations: 399 kB / 3.521 GB, free: 95.33 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002609/10.79, allocations: 0.5187 MB / 3.522 GB, free: 95.06 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01263/10.8, allocations: 5.158 MB / 3.527 GB, free: 93.14 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-05/10.8, allocations: 39.81 kB / 3.527 GB, free: 93.14 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.328e-05/10.8, allocations: 3.812 kB / 3.527 GB, free: 93.14 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007652/10.81, allocations: 4.41 MB / 3.531 GB, free: 91.38 MB / 0.9011 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 postOpt removeSimpleEquations (simulation): time 0.04209/10.85, allocations: 11.9 MB / 3.543 GB, free: 86.85 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.195e-05/10.85, allocations: 3.953 kB / 3.543 GB, free: 86.85 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003519/10.85, allocations: 0.6477 MB / 3.544 GB, free: 86.8 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001059/10.86, allocations: 365.7 kB / 3.544 GB, free: 86.71 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009372/10.86, allocations: 85.7 kB / 3.544 GB, free: 86.66 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005446/10.86, allocations: 5.208 MB / 3.549 GB, free: 82.09 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/10.86, allocations: 0 / 3.549 GB, free: 82.09 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0152/10.88, allocations: 7.648 MB / 3.557 GB, free: 75.29 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005736/10.88, allocations: 1.25 MB / 3.558 GB, free: 74.2 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003084/10.89, allocations: 67.61 kB / 3.558 GB, free: 74.13 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007524/10.89, allocations: 410.1 kB / 3.558 GB, free: 73.87 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001284/10.89, allocations: 219.1 kB / 3.558 GB, free: 73.74 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001044/10.9, allocations: 125.5 kB / 3.559 GB, free: 73.64 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.01146/10.91, allocations: 3.984 MB / 3.562 GB, free: 70.19 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.263e-06/10.91, allocations: 0 / 3.562 GB, free: 70.19 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.01333/10.92, allocations: 2.053 MB / 3.564 GB, free: 68.14 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) * 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.003539/10.92, allocations: 0.8208 MB / 3.565 GB, free: 67.54 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0116/10.94, allocations: 5.26 MB / 3.57 GB, free: 62.79 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.226e-05/10.94, allocations: 0 / 3.57 GB, free: 62.79 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.005138/10.94, allocations: 2.464 MB / 3.573 GB, free: 60.55 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02018/10.96, allocations: 3.173 MB / 3.576 GB, free: 58.4 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.037/11, allocations: 11.89 MB / 3.587 GB, free: 48.08 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00983/11.01, allocations: 4.728 MB / 3.592 GB, free: 44.52 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.01131/11.02, allocations: 2.035 MB / 3.594 GB, free: 43.13 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003372/11.02, allocations: 470 kB / 3.595 GB, free: 42.71 MB / 0.9011 GB Notification: Performance of SimCode: time 1.834e-06/11.02, allocations: 3.938 kB / 3.595 GB, free: 42.71 MB / 0.9011 GB Notification: Performance of Templates: time 0.947/11.97, allocations: 118.9 MB / 3.711 GB, free: 120 MB / 0.9167 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