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/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="Buildings_latest_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="Buildings_latest_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.129/2.129, allocations: 390.5 MB / 398 MB, free: 10.96 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.0009811/0.0009811, allocations: 191.7 kB / 491.2 MB, free: 1.566 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.396/1.396, allocations: 221.5 MB / 0.7868 GB, free: 13.3 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.0008791/0.0008791, allocations: 99.5 kB / 0.9269 GB, free: 13.79 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.968e-05/1.969e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2417/0.2418, allocations: 143 MB / 1.212 GB, free: 39.47 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.041/1.283, allocations: 416.7 MB / 1.619 GB, free: 13.88 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002984/1.283, allocations: 87.14 kB / 1.619 GB, free: 13.84 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 7.325/8.608, allocations: 2.126 GB / 3.745 GB, free: 222.7 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.493e-06/8.608, allocations: 0 / 3.745 GB, free: 222.7 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.001071/8.609, allocations: 175.4 kB / 3.745 GB, free: 222.5 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.019/8.628, allocations: 5.531 MB / 3.751 GB, free: 217 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.047e-05/8.628, allocations: 12.03 kB / 3.751 GB, free: 217 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005356/8.634, allocations: 0.7727 MB / 3.751 GB, free: 216.2 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01788/8.652, allocations: 7.483 MB / 3.759 GB, free: 208.8 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004049/8.652, allocations: 180 kB / 3.759 GB, free: 208.6 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002681/8.655, allocations: 316 kB / 3.759 GB, free: 208.3 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01849/8.673, allocations: 5.504 MB / 3.765 GB, free: 202.8 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02198/8.695, allocations: 6.612 MB / 3.771 GB, free: 196 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004019/8.696, allocations: 19.78 kB / 3.771 GB, free: 195.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002204/8.698, allocations: 12 kB / 3.771 GB, free: 195.9 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002375/8.698, allocations: 222.4 kB / 3.771 GB, free: 195.7 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.05378/8.752, allocations: 28.58 MB / 3.799 GB, free: 166.1 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005815/8.758, allocations: 3.392 MB / 3.802 GB, free: 162.7 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003927/8.762, allocations: 2.647 MB / 3.805 GB, free: 160 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009242/8.763, allocations: 0.8243 MB / 3.806 GB, free: 159.1 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.803e-05/8.763, allocations: 76.61 kB / 3.806 GB, free: 159 MB / 1.167 GB Notification: Performance of pre-optimization done (n=267): time 5.831e-06/8.763, allocations: 0 / 3.806 GB, free: 159 MB / 1.167 GB Notification: Performance of matching and sorting (n=267): time 0.008074/8.771, allocations: 3.534 MB / 3.809 GB, free: 155.4 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.724e-05/8.771, allocations: 77.52 kB / 3.809 GB, free: 155.3 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009399/8.781, allocations: 3.973 MB / 3.813 GB, free: 151.3 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0009095/8.782, allocations: 29.7 kB / 3.813 GB, free: 151.3 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.002878/8.785, allocations: 2.851 MB / 3.816 GB, free: 148.4 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.001912/8.786, allocations: 0.9009 MB / 3.817 GB, free: 147.5 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007074/8.787, allocations: 0 / 3.817 GB, free: 147.5 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0004101/8.788, allocations: 465.9 kB / 3.817 GB, free: 147 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002797/8.79, allocations: 1.534 MB / 3.819 GB, free: 145.5 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003384/8.794, allocations: 2.771 MB / 3.822 GB, free: 142.1 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004056/8.798, allocations: 2.226 MB / 3.824 GB, free: 139.9 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.152e-05/8.798, allocations: 19.89 kB / 3.824 GB, free: 139.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01075/8.809, allocations: 4.927 MB / 3.829 GB, free: 134.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 6.868e-05/8.809, allocations: 21.41 kB / 3.829 GB, free: 134.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.171e-05/8.809, allocations: 40 kB / 3.829 GB, free: 134.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009935/8.81, allocations: 414 kB / 3.829 GB, free: 134.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003427/8.813, allocations: 0.8618 MB / 3.83 GB, free: 133.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005237/8.819, allocations: 5.159 MB / 3.835 GB, free: 128.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006364/8.825, allocations: 0.5268 MB / 3.836 GB, free: 127.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001117/8.826, allocations: 176 kB / 3.836 GB, free: 127.5 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.001711/8.828, allocations: 224.7 kB / 3.836 GB, free: 127.3 MB / 1.167 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00831/8.836, allocations: 3.534 MB / 3.839 GB, free: 123.7 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001988/8.838, allocations: 426.8 kB / 3.84 GB, free: 123.3 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008062/8.846, allocations: 3.88 MB / 3.844 GB, free: 119.3 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-05/8.847, allocations: 27.72 kB / 3.844 GB, free: 119.3 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.678e-05/8.847, allocations: 7.953 kB / 3.844 GB, free: 119.3 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005073/8.852, allocations: 3.443 MB / 3.847 GB, free: 115.7 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02386/8.876, allocations: 9.36 MB / 3.856 GB, free: 106.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.917e-05/8.876, allocations: 4 kB / 3.856 GB, free: 106.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002446/8.878, allocations: 0.4998 MB / 3.857 GB, free: 105.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008447/8.879, allocations: 367.7 kB / 3.857 GB, free: 105.4 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005134/8.879, allocations: 39.97 kB / 3.857 GB, free: 105.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00488/8.884, allocations: 5.076 MB / 3.862 GB, free: 100.1 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.15e-05/8.884, allocations: 16 kB / 3.862 GB, free: 100 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01125/8.896, allocations: 6.429 MB / 3.868 GB, free: 93.27 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004165/8.9, allocations: 1.124 MB / 3.869 GB, free: 92.12 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002072/8.902, allocations: 19.98 kB / 3.869 GB, free: 92.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004901/8.907, allocations: 251.2 kB / 3.87 GB, free: 91.85 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005295/8.907, allocations: 177.3 kB / 3.87 GB, free: 91.68 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005806/8.908, allocations: 131.9 kB / 3.87 GB, free: 91.55 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.006897/8.915, allocations: 3.03 MB / 3.873 GB, free: 88.52 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.3e-07/8.915, allocations: 4 kB / 3.873 GB, free: 88.52 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.01048/8.925, allocations: 1.857 MB / 3.875 GB, free: 86.66 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.01453/8.94, allocations: 8.542 MB / 3.883 GB, free: 77.94 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.007098/8.947, allocations: 3.932 MB / 3.887 GB, free: 73.98 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.466e-05/8.947, allocations: 6.844 kB / 3.887 GB, free: 73.97 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.002891/8.95, allocations: 1.913 MB / 3.889 GB, free: 72.04 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0141/8.964, allocations: 2.365 MB / 3.891 GB, free: 69.78 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03528/9, allocations: 12.06 MB / 3.903 GB, free: 57.7 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007407/9.007, allocations: 4.42 MB / 3.907 GB, free: 53.25 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.008267/9.015, allocations: 1.689 MB / 3.909 GB, free: 51.58 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006109/9.022, allocations: 2.413 MB / 3.911 GB, free: 49.17 MB / 1.167 GB Notification: Performance of SimCode: time 2.324e-06/9.022, allocations: 0 / 3.911 GB, free: 49.17 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.036/10.06, allocations: 131.4 MB / 4.039 GB, free: 231.8 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002035/10.06, allocations: 192.8 kB / 4.04 GB, free: 231.6 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.594/15.65, allocations: 0 / 4.04 GB, free: 231.6 MB / 1.167 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.fmu > Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_res.mat does not exist to compare? outputFormat=mat