Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.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: "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="Buildings_9_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="Buildings_9_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.132/2.132, allocations: 387.4 MB / 394.9 MB, free: 13.36 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.001004/0.001004, allocations: 184.8 kB / 487.4 MB, free: 5 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.404/1.404, allocations: 221.5 MB / 0.7824 GB, free: 0.9961 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000983/0.0009831, allocations: 95.91 kB / 0.9219 GB, free: 2.234 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.458e-05/1.461e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2542/0.2543, allocations: 142.4 MB / 1.206 GB, free: 43.89 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.132/1.387, allocations: 418.5 MB / 1.615 GB, free: 3.762 MB / 1.026 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000283/1.387, allocations: 90.75 kB / 1.615 GB, free: 3.715 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 8.024/9.411, allocations: 2.241 GB / 3.856 GB, free: 105 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.984e-06/9.411, allocations: 0 / 3.856 GB, free: 105 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.001217/9.413, allocations: 195.8 kB / 3.856 GB, free: 104.8 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: 1564 * Number of variables: 1564 Notification: Performance of Generate backend data structure: time 0.02229/9.435, allocations: 6.147 MB / 3.862 GB, free: 98.61 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/9.435, allocations: 12.03 kB / 3.862 GB, free: 98.59 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00602/9.441, allocations: 0.8422 MB / 3.863 GB, free: 97.74 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01951/9.461, allocations: 7.927 MB / 3.871 GB, free: 89.75 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003473/9.461, allocations: 192 kB / 3.871 GB, free: 89.56 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002626/9.464, allocations: 363.9 kB / 3.872 GB, free: 89.21 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01558/9.479, allocations: 6.314 MB / 3.878 GB, free: 82.88 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02361/9.503, allocations: 7.456 MB / 3.885 GB, free: 75.11 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003154/9.503, allocations: 15.88 kB / 3.885 GB, free: 75.09 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002188/9.506, allocations: 16 kB / 3.885 GB, free: 75.07 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00021/9.506, allocations: 235.5 kB / 3.885 GB, free: 74.84 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.0586/9.564, allocations: 33.05 MB / 3.918 GB, free: 40.18 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006081/9.57, allocations: 4.012 MB / 3.921 GB, free: 36.18 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00406/9.575, allocations: 3.099 MB / 3.924 GB, free: 33.07 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001175/9.576, allocations: 0.9544 MB / 3.925 GB, free: 31.93 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003637/9.579, allocations: 2.19 MB / 3.928 GB, free: 29.71 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004271/9.584, allocations: 352.6 kB / 3.928 GB, free: 29.36 MB / 1.167 GB Notification: Performance of pre-optimization done (n=317): time 1.115e-05/9.584, allocations: 0 / 3.928 GB, free: 29.36 MB / 1.167 GB Notification: Performance of matching and sorting (n=317): time 0.009986/9.594, allocations: 4.538 MB / 3.932 GB, free: 24.77 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.498e-05/9.594, allocations: 85.91 kB / 3.932 GB, free: 24.68 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00857/9.603, allocations: 4.319 MB / 3.937 GB, free: 20.36 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.001187/9.604, allocations: 29.7 kB / 3.937 GB, free: 20.32 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.003521/9.607, allocations: 3.168 MB / 3.94 GB, free: 17.12 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.002027/9.609, allocations: 1.082 MB / 3.941 GB, free: 16.03 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000346/9.61, allocations: 0 / 3.941 GB, free: 16.03 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0002849/9.61, allocations: 491.6 kB / 3.941 GB, free: 15.54 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00267/9.613, allocations: 1.965 MB / 3.943 GB, free: 13.57 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00331/9.616, allocations: 3.461 MB / 3.947 GB, free: 9.398 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004783/9.621, allocations: 2.944 MB / 3.949 GB, free: 6.438 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.169e-05/9.621, allocations: 20 kB / 3.949 GB, free: 6.418 MB / 1.167 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01214/9.633, allocations: 6.225 MB / 3.956 GB, free: 152 kB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 9.855e-05/9.633, allocations: 53.69 kB / 3.956 GB, free: 92 kB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.28e-05/9.633, allocations: 55.94 kB / 3.956 GB, free: 36 kB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.853/10.49, allocations: 427.6 kB / 3.956 GB, free: 191.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00524/10.49, allocations: 1.033 MB / 3.957 GB, free: 191.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006612/10.5, allocations: 5.136 MB / 3.962 GB, free: 188.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006688/10.5, allocations: 384.8 kB / 3.962 GB, free: 188.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001088/10.51, allocations: 224.5 kB / 3.963 GB, free: 188.8 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 222 * 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 (540): * Single equations (assignments): 537 * 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.001101/10.51, allocations: 249.4 kB / 3.963 GB, free: 188.7 MB / 1.167 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008705/10.52, allocations: 4.534 MB / 3.967 GB, free: 188.6 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001714/10.52, allocations: 479.4 kB / 3.968 GB, free: 188.5 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0104/10.53, allocations: 5.009 MB / 3.973 GB, free: 188.3 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.768e-05/10.53, allocations: 35.08 kB / 3.973 GB, free: 188.3 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.561e-05/10.53, allocations: 4.969 kB / 3.973 GB, free: 188.3 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007498/10.54, allocations: 4.415 MB / 3.977 GB, free: 187.8 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 postOpt removeSimpleEquations (simulation): time 0.02285/10.56, allocations: 11.13 MB / 3.988 GB, free: 187.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.306e-05/10.56, allocations: 1.406 kB / 3.988 GB, free: 187.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002932/10.56, allocations: 0.6246 MB / 3.988 GB, free: 187.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000865/10.56, allocations: 359.1 kB / 3.989 GB, free: 187 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002516/10.56, allocations: 42.39 kB / 3.989 GB, free: 187 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005037/10.57, allocations: 5.048 MB / 3.994 GB, free: 184.5 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.361e-06/10.57, allocations: 3.953 kB / 3.994 GB, free: 184.4 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01196/10.58, allocations: 7.447 MB / 4.001 GB, free: 183.7 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003888/10.58, allocations: 1.2 MB / 4.002 GB, free: 183.4 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001272/10.59, allocations: 17.12 kB / 4.002 GB, free: 183.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003926/10.59, allocations: 355.4 kB / 4.003 GB, free: 183.3 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000476/10.59, allocations: 200.6 kB / 4.003 GB, free: 183.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000394/10.59, allocations: 136.5 kB / 4.003 GB, free: 183.3 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.00737/10.6, allocations: 3.283 MB / 4.006 GB, free: 183.2 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.062e-06/10.6, allocations: 0 / 4.006 GB, free: 183.2 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.01234/10.61, allocations: 2.016 MB / 4.008 GB, free: 183 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 16 (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,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 (296): * Single equations (assignments): 289 * 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.01533/10.63, allocations: 8.896 MB / 4.017 GB, free: 181.5 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.007376/10.63, allocations: 4.95 MB / 4.022 GB, free: 181.2 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.13e-05/10.63, allocations: 0 / 4.022 GB, free: 181.2 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.003279/10.64, allocations: 2.341 MB / 4.024 GB, free: 180.9 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01498/10.65, allocations: 2.498 MB / 4.026 GB, free: 180.9 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02877/10.68, allocations: 13.22 MB / 4.039 GB, free: 178.7 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004167/10.68, allocations: 4.738 MB / 4.044 GB, free: 177.8 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.006999/10.69, allocations: 1.892 MB / 4.046 GB, free: 177.8 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005162/10.7, allocations: 2.667 MB / 4.048 GB, free: 177.8 MB / 1.167 GB Notification: Performance of SimCode: time 8.92e-07/10.7, allocations: 0 / 4.048 GB, free: 177.8 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.226/10.92, allocations: 146.2 MB / 4.191 GB, free: 161.6 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001681/10.92, allocations: 198 kB / 4.191 GB, free: 161.4 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.76/17.68, allocations: 0 / 4.191 GB, free: 161.4 MB / 1.167 GB (rm -f Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading.fmu > Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading_res.mat does not exist to compare? outputFormat=mat