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.217/2.217, allocations: 387.1 MB / 399.7 MB, free: 9.512 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.001148/0.001148, allocations: 173 kB / 492.3 MB, free: 0.6328 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.428/1.428, allocations: 221.3 MB / 0.7871 GB, free: 13 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.0008599/0.0008598, allocations: 83.91 kB / 0.9267 GB, free: 14.08 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.872e-05/2.874e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2754/0.2754, allocations: 142.4 MB / 1.212 GB, free: 38.47 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.205/1.481, allocations: 419.1 MB / 1.622 GB, free: 11.41 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00029/1.481, allocations: 91.05 kB / 1.622 GB, free: 11.37 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 8.334/9.815, allocations: 2.253 GB / 3.875 GB, free: 68.6 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.064e-06/9.815, allocations: 0 / 3.875 GB, free: 68.6 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.001373/9.817, allocations: 191.8 kB / 3.875 GB, free: 68.41 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.02241/9.839, allocations: 6.151 MB / 3.881 GB, free: 62.18 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.458e-05/9.839, allocations: 8.031 kB / 3.881 GB, free: 62.17 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004322/9.844, allocations: 0.8303 MB / 3.882 GB, free: 61.33 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005785/9.849, allocations: 0.8577 MB / 3.883 GB, free: 60.46 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02019/9.87, allocations: 7.923 MB / 3.89 GB, free: 52.48 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005245/9.87, allocations: 456.2 kB / 3.891 GB, free: 52.03 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002823/9.873, allocations: 0.5975 MB / 3.891 GB, free: 51.43 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02389/9.897, allocations: 8.328 MB / 3.9 GB, free: 42.78 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004173/9.897, allocations: 15.88 kB / 3.9 GB, free: 42.77 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002462/9.9, allocations: 260 kB / 3.9 GB, free: 42.51 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002287/9.9, allocations: 243.5 kB / 3.9 GB, free: 42.27 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01623/9.916, allocations: 6.721 MB / 3.907 GB, free: 35.55 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.8149/10.73, allocations: 34.22 MB / 3.94 GB, free: 166.8 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007919/10.74, allocations: 4.172 MB / 3.944 GB, free: 166.8 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007127/10.75, allocations: 3.456 MB / 3.947 GB, free: 166.7 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001655/10.75, allocations: 0.9629 MB / 3.948 GB, free: 165.8 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006193/10.75, allocations: 2.289 MB / 3.951 GB, free: 165.7 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004026/10.76, allocations: 485.6 kB / 3.951 GB, free: 165.7 MB / 1.167 GB Notification: Performance of pre-optimization done (n=317): time 1.331e-05/10.76, allocations: 3.75 kB / 3.951 GB, free: 165.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=317): time 0.008148/10.77, allocations: 4.522 MB / 3.956 GB, free: 165.5 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.219e-05/10.77, allocations: 93.28 kB / 3.956 GB, free: 165.5 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01011/10.78, allocations: 5.216 MB / 3.961 GB, free: 165.2 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0008411/10.78, allocations: 87.95 kB / 3.961 GB, free: 165.1 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.003278/10.78, allocations: 3.181 MB / 3.964 GB, free: 164.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.001542/10.78, allocations: 1.12 MB / 3.965 GB, free: 163.7 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002443/10.78, allocations: 88.75 kB / 3.965 GB, free: 163.7 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0002784/10.78, allocations: 491.2 kB / 3.966 GB, free: 163.4 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003309/10.79, allocations: 2.049 MB / 3.968 GB, free: 163.3 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003914/10.79, allocations: 3.584 MB / 3.971 GB, free: 161.5 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003758/10.79, allocations: 2.829 MB / 3.974 GB, free: 161.4 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.426e-05/10.79, allocations: 15.09 kB / 3.974 GB, free: 161.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.009889/10.8, allocations: 6.541 MB / 3.98 GB, free: 161 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 7.153e-05/10.8, allocations: 60.3 kB / 3.98 GB, free: 160.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.018e-05/10.8, allocations: 48.03 kB / 3.98 GB, free: 160.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008671/10.81, allocations: 433.5 kB / 3.981 GB, free: 160.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003405/10.81, allocations: 1.036 MB / 3.982 GB, free: 160.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004544/10.81, allocations: 5.292 MB / 3.987 GB, free: 158.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00606/10.82, allocations: 479.5 kB / 3.987 GB, free: 158.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00056/10.82, allocations: 223.5 kB / 3.988 GB, free: 158.2 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.000959/10.82, allocations: 393.4 kB / 3.988 GB, free: 158.1 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001425/10.82, allocations: 0.5236 MB / 3.988 GB, free: 157.8 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009175/10.83, allocations: 5.098 MB / 3.993 GB, free: 157.6 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.871e-05/10.83, allocations: 30.5 kB / 3.993 GB, free: 157.6 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.341e-05/10.83, allocations: 8.469 kB / 3.993 GB, free: 157.6 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006393/10.84, allocations: 4.357 MB / 3.998 GB, free: 157.1 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.02135/10.86, allocations: 11.84 MB / 4.009 GB, free: 156.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.15e-05/10.86, allocations: 3.75 kB / 4.009 GB, free: 156.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002573/10.86, allocations: 0.6232 MB / 4.01 GB, free: 156.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007857/10.86, allocations: 367.1 kB / 4.01 GB, free: 156.3 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002294/10.86, allocations: 86.77 kB / 4.01 GB, free: 156.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004599/10.87, allocations: 5.2 MB / 4.015 GB, free: 153.6 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/10.87, allocations: 0 / 4.015 GB, free: 153.6 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01002/10.88, allocations: 7.539 MB / 4.023 GB, free: 152.8 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004096/10.88, allocations: 1.262 MB / 4.024 GB, free: 152.4 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001236/10.88, allocations: 66.89 kB / 4.024 GB, free: 152.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003711/10.89, allocations: 420.2 kB / 4.024 GB, free: 152.4 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003825/10.89, allocations: 190.2 kB / 4.025 GB, free: 152.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002805/10.89, allocations: 149.5 kB / 4.025 GB, free: 152.4 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.005735/10.89, allocations: 4.048 MB / 4.029 GB, free: 152.2 MB / 1.167 GB Notification: Performance of sort global known variables: time 4.41e-07/10.89, allocations: 3.906 kB / 4.029 GB, free: 152.2 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.006999/10.9, allocations: 2.057 MB / 4.031 GB, free: 152.1 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.0112/10.91, allocations: 9.026 MB / 4.04 GB, free: 150.5 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.007395/10.92, allocations: 5.194 MB / 4.045 GB, free: 150.2 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.106e-05/10.92, allocations: 3.938 kB / 4.045 GB, free: 150.2 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.002955/10.92, allocations: 2.421 MB / 4.047 GB, free: 149.9 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01629/10.94, allocations: 3.168 MB / 4.05 GB, free: 149.9 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03711/10.98, allocations: 13.72 MB / 4.064 GB, free: 147.6 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006724/10.98, allocations: 4.754 MB / 4.068 GB, free: 146.8 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.009082/10.99, allocations: 2.101 MB / 4.07 GB, free: 146.7 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005788/11, allocations: 2.68 MB / 4.073 GB, free: 146.7 MB / 1.167 GB Notification: Performance of SimCode: time 2.054e-06/11, allocations: 3.625 kB / 4.073 GB, free: 146.7 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2445/11.24, allocations: 176.8 MB / 4.246 GB, free: 93.39 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002152/11.24, allocations: 225.5 kB / 4.246 GB, free: 93.16 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.645/18.89, allocations: 0 / 4.246 GB, free: 93.16 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