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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 99.55 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001353/0.001354, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.477/1.477, allocations: 223.2 MB / 239.9 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.535/2.535, allocations: 390.3 MB / 0.6653 GB, free: 2.973 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003789/0.000379, allocations: 8 kB / 0.8146 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8568/0.8572, allocations: 142.3 MB / 0.9536 GB, free: 8.172 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.05477/0.912, allocations: 46.83 MB / 0.9993 GB, free: 1.184 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.02359/0.9356, allocations: 15.54 MB / 1.015 GB, free: 1.605 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004102/0.9397, allocations: 63.62 kB / 1.015 GB, free: 1.543 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.003517/0.9433, allocations: 0.8083 MB / 1.015 GB, free: 0.7305 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.008425/0.9517, allocations: 2.169 MB / 1.017 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.005154/0.9569, allocations: 1.578 MB / 1.019 GB, free: 13 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.01663/0.9736, allocations: 11.43 MB / 1.03 GB, free: 1.555 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01116/0.9848, allocations: 7.166 MB / 1.037 GB, free: 10.32 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009954/0.9947, allocations: 4.469 MB / 1.042 GB, free: 5.832 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008315/1.003, allocations: 3.855 MB / 1.045 GB, free: 1.961 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.001962/1.005, allocations: 344 kB / 1.046 GB, free: 1.625 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004775/1.01, allocations: 0.8469 MB / 1.046 GB, free: 0.7773 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.00251/1.012, allocations: 1.467 MB / 1.048 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.003607/1.016, allocations: 1.611 MB / 1.049 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.01423/1.03, allocations: 10.26 MB / 1.059 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/1.03, allocations: 0 / 1.059 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.335e-06/1.03, allocations: 0 / 1.059 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0004769/1.031, allocations: 0 / 1.059 GB, free: 3.398 MB / 0.8106 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.01821/1.049, allocations: 6.952 MB / 1.066 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.138e-05/1.049, allocations: 8.031 kB / 1.066 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003353/1.052, allocations: 0.8458 MB / 1.067 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00431/1.057, allocations: 0.8616 MB / 1.068 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01351/1.07, allocations: 6.02 MB / 1.074 GB, free: 4.543 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004469/1.071, allocations: 464.2 kB / 1.074 GB, free: 4.086 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002046/1.073, allocations: 0.5898 MB / 1.075 GB, free: 3.496 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02386/1.097, allocations: 8.931 MB / 1.084 GB, free: 10.24 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003434/1.097, allocations: 19.78 kB / 1.084 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00199/1.099, allocations: 264 kB / 1.084 GB, free: 9.961 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002401/1.099, allocations: 183.9 kB / 1.084 GB, free: 9.781 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0189/1.118, allocations: 7.418 MB / 1.091 GB, free: 2.355 MB / 0.8419 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.06806/1.186, allocations: 36.22 MB / 1.127 GB, free: 12.07 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008046/1.194, allocations: 4.35 MB / 1.131 GB, free: 7.727 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001521/1.196, allocations: 0.9778 MB / 1.132 GB, free: 6.562 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006056/1.202, allocations: 2.39 MB / 1.134 GB, free: 4.137 MB / 0.8887 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004812/1.207, allocations: 475.4 kB / 1.135 GB, free: 3.668 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=317): time 2.056e-05/1.207, allocations: 0 / 1.135 GB, free: 3.668 MB / 0.8887 GB Notification: Performance of matching and sorting (n=317): time 0.01579/1.223, allocations: 7.149 MB / 1.142 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.476e-05/1.223, allocations: 89.89 kB / 1.142 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01085/1.234, allocations: 5.834 MB / 1.147 GB, free: 6.512 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0009076/1.235, allocations: 85.7 kB / 1.147 GB, free: 6.422 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.003934/1.239, allocations: 3.196 MB / 1.151 GB, free: 3.191 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.002053/1.241, allocations: 1.121 MB / 1.152 GB, free: 2.055 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006816/1.241, allocations: 92 kB / 1.152 GB, free: 1.965 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0004176/1.242, allocations: 487.6 kB / 1.152 GB, free: 1.48 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004182/1.246, allocations: 2.167 MB / 1.154 GB, free: 15.3 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005319/1.251, allocations: 3.681 MB / 1.158 GB, free: 10.93 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005228/1.257, allocations: 2.919 MB / 1.161 GB, free: 7.984 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.366e-05/1.257, allocations: 12 kB / 1.161 GB, free: 7.973 MB / 0.92 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01351/1.27, allocations: 6.776 MB / 1.167 GB, free: 1.145 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 9.592e-05/1.27, allocations: 54.64 kB / 1.167 GB, free: 1.086 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.614e-05/1.27, allocations: 52.12 kB / 1.168 GB, free: 1.035 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001081/1.272, allocations: 439.6 kB / 1.168 GB, free: 0.6016 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004141/1.276, allocations: 1.061 MB / 1.169 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005885/1.282, allocations: 5.32 MB / 1.174 GB, free: 9.949 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006608/1.288, allocations: 482.7 kB / 1.175 GB, free: 9.477 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009782/1.289, allocations: 216 kB / 1.175 GB, free: 9.266 MB / 0.9356 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.005741/1.295, allocations: 2.497 MB / 1.177 GB, free: 6.758 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002134/1.297, allocations: 0.5248 MB / 1.178 GB, free: 6.227 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01077/1.308, allocations: 5.274 MB / 1.183 GB, free: 0.8945 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-05/1.308, allocations: 43.92 kB / 1.183 GB, free: 0.8516 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.948e-05/1.308, allocations: 4 kB / 1.183 GB, free: 0.8477 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00738/1.315, allocations: 4.555 MB / 1.187 GB, free: 12.19 MB / 0.9512 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.02998/1.345, allocations: 12.16 MB / 1.199 GB, free: 15.81 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.837e-05/1.345, allocations: 7.938 kB / 1.199 GB, free: 15.8 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003026/1.348, allocations: 0.6249 MB / 1.2 GB, free: 15.18 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009806/1.349, allocations: 369.3 kB / 1.2 GB, free: 14.81 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005239/1.35, allocations: 83.91 kB / 1.2 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005711/1.356, allocations: 5.235 MB / 1.205 GB, free: 9.23 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/1.356, allocations: 64 / 1.205 GB, free: 9.23 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0138/1.37, allocations: 7.775 MB / 1.213 GB, free: 1.344 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004462/1.374, allocations: 1.299 MB / 1.214 GB, free: 20 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002052/1.376, allocations: 67.98 kB / 1.214 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005185/1.381, allocations: 449.6 kB / 1.215 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006499/1.382, allocations: 202.2 kB / 1.215 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006031/1.383, allocations: 139.9 kB / 1.215 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.008022/1.391, allocations: 4.095 MB / 1.219 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of sort global known variables: time 3.3e-07/1.391, allocations: 3.938 kB / 1.219 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.008456/1.399, allocations: 2.003 MB / 1.221 GB, free: 9.094 MB / 0.9825 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.01617/1.415, allocations: 8.904 MB / 1.23 GB, free: 84 kB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.009698/1.425, allocations: 5.405 MB / 1.235 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.018e-05/1.425, allocations: 4 kB / 1.235 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.004209/1.429, allocations: 2.515 MB / 1.238 GB, free: 8.074 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01612/1.445, allocations: 3.167 MB / 1.241 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7374/2.183, allocations: 84.79 MB / 1.323 GB, free: 225.3 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00704/2.19, allocations: 4.743 MB / 1.328 GB, free: 222.8 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.008874/2.199, allocations: 2.071 MB / 1.33 GB, free: 222.1 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006049/2.205, allocations: 2.67 MB / 1.333 GB, free: 219.8 MB / 1.014 GB Notification: Performance of SimCode: time 1.683e-06/2.205, allocations: 0 / 1.333 GB, free: 219.8 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.221/2.426, allocations: 170.6 MB / 1.499 GB, free: 57.99 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001481/2.426, allocations: 250.1 kB / 1.5 GB, free: 57.66 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.314/7.74, allocations: 0 / 1.5 GB, free: 57.66 MB / 1.014 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