Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.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.StratifiedLoadingUnloading,fileNamePrefix="Buildings_latest_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="Buildings_latest_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading",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.192/2.192, allocations: 390.5 MB / 398 MB, free: 10.95 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.001368/0.001368, allocations: 176.9 kB / 491.2 MB, free: 1.555 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.375/1.375, allocations: 221.5 MB / 0.7868 GB, free: 13.29 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.0009607/0.0009607, allocations: 99.17 kB / 0.9269 GB, free: 13.79 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.315e-05/2.305e-05, allocations: 0 / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2408/0.2408, allocations: 143 MB / 1.212 GB, free: 39.44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9986/1.239, allocations: 419.3 MB / 1.622 GB, free: 11.29 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002404/1.24, allocations: 91.81 kB / 1.622 GB, free: 11.24 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 8.007/9.247, allocations: 2.241 GB / 3.863 GB, free: 79.59 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.823e-06/9.247, allocations: 0 / 3.863 GB, free: 79.59 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.001418/9.248, allocations: 191.8 kB / 3.864 GB, free: 79.4 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.02422/9.272, allocations: 6.155 MB / 3.87 GB, free: 73.17 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.966e-05/9.273, allocations: 8.031 kB / 3.87 GB, free: 73.16 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00607/9.279, allocations: 0.8537 MB / 3.87 GB, free: 72.3 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02066/9.299, allocations: 7.911 MB / 3.878 GB, free: 64.32 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004697/9.3, allocations: 203.9 kB / 3.878 GB, free: 64.12 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003101/9.303, allocations: 367.9 kB / 3.879 GB, free: 63.76 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01619/9.319, allocations: 6.31 MB / 3.885 GB, free: 57.44 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02545/9.345, allocations: 7.44 MB / 3.892 GB, free: 49.69 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005167/9.345, allocations: 15.88 kB / 3.892 GB, free: 49.67 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003279/9.349, allocations: 12 kB / 3.892 GB, free: 49.66 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002934/9.349, allocations: 247.5 kB / 3.892 GB, free: 49.42 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.05944/9.408, allocations: 33.05 MB / 3.925 GB, free: 14.75 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005289/9.414, allocations: 4.004 MB / 3.929 GB, free: 10.75 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003426/9.417, allocations: 3.092 MB / 3.932 GB, free: 7.656 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001052/9.418, allocations: 0.9622 MB / 3.933 GB, free: 6.508 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00285/9.421, allocations: 2.179 MB / 3.935 GB, free: 4.297 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003351/9.424, allocations: 364.4 kB / 3.935 GB, free: 3.938 MB / 1.167 GB Notification: Performance of pre-optimization done (n=317): time 7.163e-06/9.424, allocations: 0 / 3.935 GB, free: 3.938 MB / 1.167 GB Notification: Performance of matching and sorting (n=317): time 0.8001/10.22, allocations: 4.53 MB / 3.939 GB, free: 178.5 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.143e-05/10.22, allocations: 85.42 kB / 3.94 GB, free: 178.5 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008073/10.23, allocations: 4.315 MB / 3.944 GB, free: 178.2 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0008241/10.23, allocations: 32.98 kB / 3.944 GB, free: 178.2 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.003219/10.24, allocations: 3.172 MB / 3.947 GB, free: 177.6 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.00152/10.24, allocations: 1.073 MB / 3.948 GB, free: 177 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003232/10.24, allocations: 1.188 kB / 3.948 GB, free: 177 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0002766/10.24, allocations: 489.8 kB / 3.948 GB, free: 176.7 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002999/10.24, allocations: 1.961 MB / 3.95 GB, free: 176.7 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003847/10.25, allocations: 3.469 MB / 3.954 GB, free: 174.9 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005431/10.25, allocations: 2.949 MB / 3.957 GB, free: 174.9 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.574e-05/10.25, allocations: 17.73 kB / 3.957 GB, free: 174.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01623/10.27, allocations: 6.232 MB / 3.963 GB, free: 174.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001085/10.27, allocations: 53.39 kB / 3.963 GB, free: 174.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001215/10.27, allocations: 49.34 kB / 3.963 GB, free: 174.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001223/10.27, allocations: 430.8 kB / 3.963 GB, free: 174.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005967/10.28, allocations: 1.033 MB / 3.964 GB, free: 174.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005811/10.28, allocations: 5.132 MB / 3.969 GB, free: 171.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006235/10.29, allocations: 382.6 kB / 3.97 GB, free: 171.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001124/10.29, allocations: 223.7 kB / 3.97 GB, free: 171.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.001182/10.29, allocations: 250.1 kB / 3.97 GB, free: 171.7 MB / 1.167 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.009436/10.3, allocations: 4.538 MB / 3.974 GB, free: 171.3 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001646/10.3, allocations: 481.5 kB / 3.975 GB, free: 171.1 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01019/10.31, allocations: 5.009 MB / 3.98 GB, free: 170.8 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.029e-05/10.31, allocations: 31.62 kB / 3.98 GB, free: 170.8 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.444e-05/10.31, allocations: 3.812 kB / 3.98 GB, free: 170.8 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006771/10.32, allocations: 4.421 MB / 3.984 GB, free: 170.4 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.02601/10.34, allocations: 11.12 MB / 3.995 GB, free: 169.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.115e-05/10.34, allocations: 3.469 kB / 3.995 GB, free: 169.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002924/10.35, allocations: 0.6287 MB / 3.996 GB, free: 169.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007714/10.35, allocations: 352.6 kB / 3.996 GB, free: 169.6 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005053/10.35, allocations: 44.92 kB / 3.996 GB, free: 169.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004505/10.35, allocations: 5.054 MB / 4.001 GB, free: 167 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.551e-06/10.35, allocations: 4.75 kB / 4.001 GB, free: 167 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01045/10.36, allocations: 7.437 MB / 4.008 GB, free: 166.2 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003556/10.37, allocations: 1.195 MB / 4.009 GB, free: 165.9 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001574/10.37, allocations: 24.7 kB / 4.009 GB, free: 165.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005132/10.37, allocations: 355.7 kB / 4.01 GB, free: 165.9 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006667/10.37, allocations: 198.5 kB / 4.01 GB, free: 165.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004342/10.37, allocations: 143.8 kB / 4.01 GB, free: 165.9 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.005961/10.38, allocations: 3.28 MB / 4.013 GB, free: 165.7 MB / 1.167 GB Notification: Performance of sort global known variables: time 3.6e-07/10.38, allocations: 0 / 4.013 GB, free: 165.7 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.009614/10.39, allocations: 2.019 MB / 4.015 GB, free: 165.5 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.01315/10.4, allocations: 8.896 MB / 4.024 GB, free: 164 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.008285/10.41, allocations: 4.957 MB / 4.029 GB, free: 163.7 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.073e-05/10.41, allocations: 3.969 kB / 4.029 GB, free: 163.7 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.003198/10.41, allocations: 2.336 MB / 4.031 GB, free: 163.5 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01416/10.43, allocations: 2.495 MB / 4.033 GB, free: 163.4 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03087/10.46, allocations: 13.22 MB / 4.046 GB, free: 161.2 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00482/10.46, allocations: 4.741 MB / 4.051 GB, free: 160.4 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.006819/10.47, allocations: 1.897 MB / 4.053 GB, free: 160.3 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005383/10.48, allocations: 2.665 MB / 4.055 GB, free: 160.3 MB / 1.167 GB Notification: Performance of SimCode: time 1.343e-06/10.48, allocations: 0 / 4.055 GB, free: 160.3 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2065/10.68, allocations: 146.2 MB / 4.198 GB, free: 140.1 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001825/10.68, allocations: 200.8 kB / 4.198 GB, free: 139.9 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.285/16.97, allocations: 0 / 4.198 GB, free: 139.9 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading.fmu > Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading_res.mat does not exist to compare? outputFormat=mat