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.0008163/0.0008162, allocations: 91.45 kB / 15.06 MB, free: 1.098 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.0009964/0.0009966, allocations: 172.7 kB / 15.95 MB, free: 208 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.41/1.41, allocations: 223.3 MB / 240 MB, free: 5.309 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.544/2.544, allocations: 390.4 MB / 0.6655 GB, free: 2.824 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003502/0.0003503, allocations: 8 kB / 0.8149 GB, free: 14.07 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7753/0.7756, allocations: 142.3 MB / 0.9538 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.05241/0.8281, allocations: 51.54 MB / 1.004 GB, free: 12.46 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.02362/0.8518, allocations: 16.83 MB / 1.021 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003787/0.8556, allocations: 67.56 kB / 1.021 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.002859/0.8585, allocations: 0.6209 MB / 1.021 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.00728/0.8658, allocations: 1.988 MB / 1.023 GB, free: 8.902 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.003722/0.8695, allocations: 1.095 MB / 1.024 GB, free: 7.816 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0227/0.8922, allocations: 23.61 MB / 1.047 GB, free: 152 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01113/0.9034, allocations: 7.15 MB / 1.054 GB, free: 8.926 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01155/0.915, allocations: 5.292 MB / 1.059 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01081/0.9258, allocations: 5.473 MB / 1.065 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.002321/0.9282, allocations: 348 kB / 1.065 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007967/0.9362, allocations: 0.7879 MB / 1.066 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.003999/0.9402, allocations: 1.518 MB / 1.067 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.004994/0.9452, allocations: 1.611 MB / 1.069 GB, free: 9.844 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.01252/0.9578, allocations: 10.33 MB / 1.079 GB, free: 15.49 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 8.005e-06/0.9578, allocations: 0 / 1.079 GB, free: 15.49 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.645e-06/0.9578, allocations: 4 kB / 1.079 GB, free: 15.49 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0004484/0.9583, allocations: 0 / 1.079 GB, free: 15.49 MB / 0.8419 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.01599/0.9743, allocations: 6.952 MB / 1.086 GB, free: 8.445 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/0.9743, allocations: 8.031 kB / 1.086 GB, free: 8.438 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002946/0.9773, allocations: 0.8458 MB / 1.087 GB, free: 7.582 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003046/0.9804, allocations: 0.8577 MB / 1.088 GB, free: 6.715 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01204/0.9924, allocations: 6.464 MB / 1.094 GB, free: 196 kB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003642/0.9928, allocations: 456.3 kB / 1.094 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001399/0.9942, allocations: 0.6013 MB / 1.095 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01628/1.011, allocations: 8.985 MB / 1.104 GB, free: 5.828 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001249/1.011, allocations: 19.88 kB / 1.104 GB, free: 5.809 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007107/1.011, allocations: 256 kB / 1.104 GB, free: 5.559 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001763/1.012, allocations: 183.9 kB / 1.104 GB, free: 5.379 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01488/1.026, allocations: 7.418 MB / 1.111 GB, free: 13.95 MB / 0.8731 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.05853/1.085, allocations: 35.96 MB / 1.146 GB, free: 7.926 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008554/1.094, allocations: 4.279 MB / 1.151 GB, free: 3.645 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005603/1.099, allocations: 3.386 MB / 1.154 GB, free: 256 kB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001406/1.101, allocations: 0.9817 MB / 1.155 GB, free: 15.08 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004885/1.106, allocations: 2.386 MB / 1.157 GB, free: 12.66 MB / 0.92 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003513/1.109, allocations: 443.7 kB / 1.158 GB, free: 12.22 MB / 0.92 GB Notification: Performance of pre-optimization done (n=317): time 1.53e-05/1.109, allocations: 0 / 1.158 GB, free: 12.22 MB / 0.92 GB Notification: Performance of matching and sorting (n=317): time 0.01598/1.125, allocations: 7.09 MB / 1.165 GB, free: 5.043 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.208e-05/1.125, allocations: 89.91 kB / 1.165 GB, free: 4.941 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0114/1.137, allocations: 5.424 MB / 1.17 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0008904/1.138, allocations: 89.69 kB / 1.17 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.004038/1.142, allocations: 3.188 MB / 1.173 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.001923/1.144, allocations: 1.117 MB / 1.174 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007458/1.144, allocations: 88 kB / 1.174 GB, free: 11 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0005623/1.145, allocations: 495.6 kB / 1.175 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004936/1.15, allocations: 2.14 MB / 1.177 GB, free: 8.363 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005564/1.156, allocations: 3.674 MB / 1.18 GB, free: 3.992 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005327/1.161, allocations: 2.9 MB / 1.183 GB, free: 1.07 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.18e-05/1.161, allocations: 12 kB / 1.183 GB, free: 1.059 MB / 0.9356 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01492/1.176, allocations: 6.728 MB / 1.19 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001108/1.176, allocations: 50.67 kB / 1.19 GB, free: 10.22 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.976e-05/1.176, allocations: 48 kB / 1.19 GB, free: 10.17 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001072/1.177, allocations: 443.7 kB / 1.19 GB, free: 9.734 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004314/1.182, allocations: 1.014 MB / 1.191 GB, free: 8.719 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006439/1.188, allocations: 5.258 MB / 1.197 GB, free: 3.195 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006047/1.194, allocations: 474.8 kB / 1.197 GB, free: 2.73 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00103/1.195, allocations: 216 kB / 1.197 GB, free: 2.52 MB / 0.9512 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.005997/1.201, allocations: 2.486 MB / 1.2 GB, free: 20 kB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002195/1.204, allocations: 0.5289 MB / 1.2 GB, free: 15.48 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01241/1.216, allocations: 5.235 MB / 1.205 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.62e-05/1.216, allocations: 35.94 kB / 1.205 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.729e-05/1.216, allocations: 8 kB / 1.205 GB, free: 10.15 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008371/1.224, allocations: 4.512 MB / 1.21 GB, free: 5.531 MB / 0.9669 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.0291/1.254, allocations: 11.96 MB / 1.221 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.941e-05/1.254, allocations: 4 kB / 1.221 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003102/1.257, allocations: 0.6477 MB / 1.222 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000916/1.258, allocations: 369.3 kB / 1.222 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005456/1.258, allocations: 83.95 kB / 1.222 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005607/1.264, allocations: 5.176 MB / 1.228 GB, free: 2.836 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/1.264, allocations: 0 / 1.228 GB, free: 2.836 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01415/1.278, allocations: 7.59 MB / 1.235 GB, free: 11.15 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004232/1.282, allocations: 1.232 MB / 1.236 GB, free: 9.895 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001925/1.284, allocations: 63.98 kB / 1.236 GB, free: 9.832 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005113/1.289, allocations: 470 kB / 1.237 GB, free: 9.375 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007426/1.29, allocations: 202.2 kB / 1.237 GB, free: 9.176 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000692/1.291, allocations: 139.9 kB / 1.237 GB, free: 9.039 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.008246/1.299, allocations: 3.764 MB / 1.241 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.21e-07/1.299, allocations: 0 / 1.241 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.009788/1.309, allocations: 1.987 MB / 1.243 GB, free: 3.305 MB / 0.9981 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.01712/1.326, allocations: 8.534 MB / 1.251 GB, free: 10.68 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.01043/1.337, allocations: 5.356 MB / 1.256 GB, free: 5.27 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.265e-05/1.337, allocations: 4 kB / 1.256 GB, free: 5.266 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.004924/1.342, allocations: 2.506 MB / 1.259 GB, free: 2.73 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.6443/1.986, allocations: 3.217 MB / 1.262 GB, free: 279.3 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1476/2.134, allocations: 51.23 MB / 1.312 GB, free: 249.1 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004069/2.138, allocations: 4.625 MB / 1.316 GB, free: 246.3 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.006368/2.144, allocations: 1.989 MB / 1.318 GB, free: 245.6 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004455/2.149, allocations: 2.671 MB / 1.321 GB, free: 243 MB / 1.014 GB Notification: Performance of SimCode: time 2.515e-06/2.149, allocations: 0 / 1.321 GB, free: 243 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2126/2.361, allocations: 169 MB / 1.486 GB, free: 75.14 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001364/2.361, allocations: 270.2 kB / 1.486 GB, free: 74.79 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.561/7.923, allocations: 0 / 1.486 GB, free: 74.79 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