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.282/2.282, allocations: 393.5 MB / 408.4 MB, free: 11.02 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.001201/0.001201, allocations: 183.9 kB / 0.4901 GB, free: 2.246 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.468/1.468, allocations: 223.1 MB / 0.7992 GB, free: 14.78 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.000941/0.0009408, allocations: 91 kB / 0.9396 GB, free: 1.93 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003565/0.0003566, allocations: 14.12 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.265/0.2654, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9292/1.195, allocations: 420 MB / 1.639 GB, free: 14.53 MB / 0.9636 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002489/1.195, allocations: 90.61 kB / 1.64 GB, free: 14.48 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 9.084/10.28, allocations: 2.258 GB / 3.898 GB, free: 181.5 MB / 1.182 GB Notification: Performance of FrontEnd: time 4.058e-06/10.28, allocations: 0 / 3.898 GB, free: 181.5 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.001804/10.28, allocations: 195.8 kB / 3.898 GB, free: 181.3 MB / 1.182 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.03012/10.31, allocations: 7.286 MB / 3.905 GB, free: 173.9 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 5.693e-05/10.31, allocations: 8.031 kB / 3.905 GB, free: 173.9 MB / 1.182 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004516/10.32, allocations: 0.8459 MB / 3.906 GB, free: 173.1 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005951/10.32, allocations: 0.8538 MB / 3.907 GB, free: 172.2 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0238/10.35, allocations: 7.953 MB / 3.915 GB, free: 164.2 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007624/10.35, allocations: 464.2 kB / 3.915 GB, free: 163.8 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003426/10.35, allocations: 0.6014 MB / 3.916 GB, free: 163.2 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02343/10.37, allocations: 8.441 MB / 3.924 GB, free: 154.4 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002297/10.37, allocations: 19.78 kB / 3.924 GB, free: 154.4 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001281/10.38, allocations: 264 kB / 3.924 GB, free: 154.1 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002011/10.38, allocations: 251.5 kB / 3.924 GB, free: 153.9 MB / 1.182 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01493/10.39, allocations: 6.888 MB / 3.931 GB, free: 147 MB / 1.182 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.05916/10.45, allocations: 34.23 MB / 3.965 GB, free: 111.1 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007336/10.46, allocations: 4.271 MB / 3.969 GB, free: 106.9 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001266/10.46, allocations: 0.9583 MB / 3.97 GB, free: 105.7 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0055/10.46, allocations: 2.363 MB / 3.972 GB, free: 103.3 MB / 1.182 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005438/10.47, allocations: 483.5 kB / 3.972 GB, free: 102.8 MB / 1.182 GB Notification: Performance of pre-optimization done (n=317): time 2.046e-05/10.47, allocations: 0 / 3.972 GB, free: 102.8 MB / 1.182 GB Notification: Performance of matching and sorting (n=317): time 0.0186/10.49, allocations: 7.071 MB / 3.979 GB, free: 95.68 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.302e-05/10.49, allocations: 85.91 kB / 3.979 GB, free: 95.59 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01246/10.5, allocations: 5.266 MB / 3.985 GB, free: 90.34 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.001261/10.5, allocations: 85.7 kB / 3.985 GB, free: 90.25 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.004679/10.51, allocations: 3.188 MB / 3.988 GB, free: 87.03 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.002192/10.51, allocations: 1.113 MB / 3.989 GB, free: 85.9 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001005/10.51, allocations: 88 kB / 3.989 GB, free: 85.82 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.000557/10.51, allocations: 495.6 kB / 3.989 GB, free: 85.32 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004076/10.51, allocations: 2.132 MB / 3.991 GB, free: 83.18 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005055/10.52, allocations: 3.657 MB / 3.995 GB, free: 78.82 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005038/10.52, allocations: 2.892 MB / 3.998 GB, free: 75.9 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.775e-05/10.52, allocations: 16 kB / 3.998 GB, free: 75.89 MB / 1.182 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.0187/10.54, allocations: 6.709 MB / 4.004 GB, free: 69.12 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001369/10.54, allocations: 54.48 kB / 4.004 GB, free: 69.07 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.672e-05/10.54, allocations: 48 kB / 4.005 GB, free: 69.02 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001095/10.54, allocations: 435.8 kB / 4.005 GB, free: 68.59 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004683/10.55, allocations: 1.03 MB / 4.006 GB, free: 67.56 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005253/10.55, allocations: 5.407 MB / 4.011 GB, free: 61.88 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007471/10.56, allocations: 482.7 kB / 4.012 GB, free: 61.41 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001246/10.56, allocations: 220 kB / 4.012 GB, free: 61.2 MB / 1.182 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 () * Number of clocked 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.006652/10.57, allocations: 2.479 MB / 4.014 GB, free: 58.71 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002348/10.57, allocations: 0.5287 MB / 4.015 GB, free: 58.17 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01119/10.58, allocations: 5.227 MB / 4.02 GB, free: 52.89 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.063e-05/10.58, allocations: 40 kB / 4.02 GB, free: 52.86 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.039e-05/10.58, allocations: 4 kB / 4.02 GB, free: 52.85 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006455/10.59, allocations: 4.488 MB / 4.024 GB, free: 48.26 MB / 1.182 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.02765/10.62, allocations: 11.83 MB / 4.036 GB, free: 36.27 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.339e-05/10.62, allocations: 3.938 kB / 4.036 GB, free: 36.26 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003119/10.62, allocations: 0.6204 MB / 4.037 GB, free: 35.64 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008388/10.62, allocations: 363.8 kB / 4.037 GB, free: 35.28 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005493/10.62, allocations: 87.95 kB / 4.037 GB, free: 35.2 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004682/10.63, allocations: 5.317 MB / 4.042 GB, free: 29.62 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/10.63, allocations: 4 kB / 4.042 GB, free: 29.61 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01285/10.64, allocations: 7.736 MB / 4.05 GB, free: 21.77 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005048/10.65, allocations: 1.271 MB / 4.051 GB, free: 20.47 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00227/10.65, allocations: 63.98 kB / 4.051 GB, free: 20.41 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005826/10.65, allocations: 423.2 kB / 4.051 GB, free: 20 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006828/10.65, allocations: 206.1 kB / 4.052 GB, free: 19.79 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000681/10.65, allocations: 135.9 kB / 4.052 GB, free: 19.66 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.009144/10.66, allocations: 4.103 MB / 4.056 GB, free: 15.58 MB / 1.182 GB Notification: Performance of sort global known variables: time 4.21e-07/10.66, allocations: 0 / 4.056 GB, free: 15.58 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.01037/10.67, allocations: 2.058 MB / 4.058 GB, free: 13.52 MB / 1.182 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) * Number of clocked states: 0 () * 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.01622/10.69, allocations: 9.223 MB / 4.067 GB, free: 4.199 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.7112/11.4, allocations: 5.35 MB / 4.072 GB, free: 236.3 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 1.259e-05/11.4, allocations: 10.44 kB / 4.072 GB, free: 236.3 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.004762/11.41, allocations: 2.494 MB / 4.074 GB, free: 236.1 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01864/11.43, allocations: 3.163 MB / 4.078 GB, free: 236 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1417/11.57, allocations: 84.86 MB / 4.16 GB, free: 182.1 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006693/11.57, allocations: 4.746 MB / 4.165 GB, free: 181.2 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.008407/11.58, allocations: 2.149 MB / 4.167 GB, free: 181.2 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00607/11.59, allocations: 2.673 MB / 4.17 GB, free: 181.2 MB / 1.182 GB Notification: Performance of SimCode: time 1.523e-06/11.59, allocations: 0 / 4.17 GB, free: 181.2 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2402/11.83, allocations: 176 MB / 4.342 GB, free: 128.9 MB / 1.182 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002206/11.83, allocations: 259.8 kB / 4.342 GB, free: 128.5 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.014/18.84, allocations: 4 kB / 4.342 GB, free: 128.5 MB / 1.182 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