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.283/2.283, allocations: 390.3 MB / 402.8 MB, free: 6.711 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.000986/0.0009861, allocations: 184.8 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.338/1.338, allocations: 221.3 MB / 0.7915 GB, free: 5.434 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.0009076/0.0009076, allocations: 91.19 kB / 0.9317 GB, free: 5.758 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.519e-05/2.528e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2443/0.2443, allocations: 143 MB / 1.219 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.108/1.352, allocations: 420 MB / 1.629 GB, free: 14.45 MB / 1.089 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002428/1.352, allocations: 91.94 kB / 1.629 GB, free: 14.36 MB / 1.089 GB Notification: Performance of FrontEnd - DAE generated: time 7.895/9.247, allocations: 2.253 GB / 3.882 GB, free: 7.617 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.064e-06/9.247, allocations: 0 / 3.882 GB, free: 7.617 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0008884/9.248, allocations: 199.8 kB / 3.882 GB, free: 7.422 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.01651/9.265, allocations: 6.15 MB / 3.888 GB, free: 1.191 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/9.265, allocations: 12.03 kB / 3.888 GB, free: 1.18 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002545/9.267, allocations: 0.8342 MB / 3.889 GB, free: 344 kB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004229/9.271, allocations: 0.8499 MB / 3.89 GB, free: 15.48 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02066/9.292, allocations: 7.926 MB / 3.898 GB, free: 7.484 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005921/9.293, allocations: 456.2 kB / 3.898 GB, free: 7.035 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002687/9.295, allocations: 0.5975 MB / 3.899 GB, free: 6.438 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 1.361/10.66, allocations: 8.311 MB / 3.907 GB, free: 155.1 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001775/10.66, allocations: 20.77 kB / 3.907 GB, free: 155.1 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008415/10.66, allocations: 260.2 kB / 3.907 GB, free: 155.1 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003235/10.66, allocations: 245.1 kB / 3.907 GB, free: 155.1 MB / 1.182 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01579/10.67, allocations: 6.722 MB / 3.914 GB, free: 155 MB / 1.182 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.05947/10.73, allocations: 34.24 MB / 3.947 GB, free: 140.7 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008342/10.74, allocations: 4.174 MB / 3.951 GB, free: 140.7 MB / 1.182 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006501/10.75, allocations: 3.463 MB / 3.955 GB, free: 140.6 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001427/10.75, allocations: 0.9539 MB / 3.956 GB, free: 139.7 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005821/10.76, allocations: 2.295 MB / 3.958 GB, free: 139.6 MB / 1.182 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00446/10.76, allocations: 487 kB / 3.958 GB, free: 139.4 MB / 1.182 GB Notification: Performance of pre-optimization done (n=317): time 2.232e-05/10.76, allocations: 0 / 3.958 GB, free: 139.4 MB / 1.182 GB Notification: Performance of matching and sorting (n=317): time 0.01042/10.77, allocations: 4.521 MB / 3.963 GB, free: 139 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.933e-05/10.77, allocations: 82.91 kB / 3.963 GB, free: 138.9 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01428/10.78, allocations: 5.234 MB / 3.968 GB, free: 138.6 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.001127/10.79, allocations: 87.73 kB / 3.968 GB, free: 138.6 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.004706/10.79, allocations: 3.178 MB / 3.971 GB, free: 137.7 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.002142/10.79, allocations: 1.118 MB / 3.972 GB, free: 137.1 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008896/10.79, allocations: 86.44 kB / 3.972 GB, free: 137.1 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.0004895/10.79, allocations: 491.4 kB / 3.973 GB, free: 136.8 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004248/10.8, allocations: 2.051 MB / 3.975 GB, free: 136.8 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004472/10.8, allocations: 3.579 MB / 3.978 GB, free: 135 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00432/10.81, allocations: 2.83 MB / 3.981 GB, free: 134.9 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.084e-05/10.81, allocations: 16.47 kB / 3.981 GB, free: 134.9 MB / 1.182 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01176/10.82, allocations: 6.55 MB / 3.987 GB, free: 134.4 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 8.328e-05/10.82, allocations: 54.42 kB / 3.987 GB, free: 134.4 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.66e-05/10.82, allocations: 47.69 kB / 3.987 GB, free: 134.4 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009582/10.82, allocations: 438.6 kB / 3.988 GB, free: 134.4 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003826/10.82, allocations: 1.033 MB / 3.989 GB, free: 134.4 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004997/10.83, allocations: 5.298 MB / 3.994 GB, free: 131.7 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007551/10.84, allocations: 474.6 kB / 3.995 GB, free: 131.6 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009536/10.84, allocations: 224.7 kB / 3.995 GB, free: 131.6 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 () * 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.00175/10.84, allocations: 394.6 kB / 3.995 GB, free: 131.5 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002342/10.84, allocations: 0.5258 MB / 3.996 GB, free: 131.3 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01037/10.85, allocations: 5.084 MB / 4.001 GB, free: 131 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.084e-05/10.85, allocations: 34.41 kB / 4.001 GB, free: 131 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.151e-05/10.85, allocations: 7.812 kB / 4.001 GB, free: 131 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006207/10.86, allocations: 4.358 MB / 4.005 GB, free: 130.6 MB / 1.182 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.03089/10.89, allocations: 11.84 MB / 4.016 GB, free: 129.7 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.464e-05/10.89, allocations: 0 / 4.016 GB, free: 129.7 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002766/10.89, allocations: 0.6205 MB / 4.017 GB, free: 129.7 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008077/10.89, allocations: 365 kB / 4.017 GB, free: 129.7 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003832/10.89, allocations: 90.14 kB / 4.017 GB, free: 129.7 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004615/10.9, allocations: 5.194 MB / 4.023 GB, free: 127 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/10.9, allocations: 14.27 kB / 4.023 GB, free: 127 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01085/10.91, allocations: 7.537 MB / 4.03 GB, free: 126.2 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004978/10.91, allocations: 1.265 MB / 4.031 GB, free: 125.9 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00187/10.92, allocations: 61.84 kB / 4.031 GB, free: 125.9 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005514/10.92, allocations: 417.6 kB / 4.032 GB, free: 125.9 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004691/10.92, allocations: 206 kB / 4.032 GB, free: 125.9 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005037/10.92, allocations: 135.2 kB / 4.032 GB, free: 125.9 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.008049/10.93, allocations: 4.048 MB / 4.036 GB, free: 125.7 MB / 1.182 GB Notification: Performance of sort global known variables: time 1.6e-07/10.93, allocations: 0 / 4.036 GB, free: 125.7 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.008192/10.94, allocations: 2.061 MB / 4.038 GB, free: 125.5 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) * 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.01208/10.95, allocations: 9.02 MB / 4.047 GB, free: 124 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.007476/10.96, allocations: 5.201 MB / 4.052 GB, free: 123.6 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 7.023e-06/10.96, allocations: 2.406 kB / 4.052 GB, free: 123.6 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.003282/10.96, allocations: 2.425 MB / 4.054 GB, free: 123.3 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0175/10.98, allocations: 3.174 MB / 4.057 GB, free: 123.3 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03171/11.01, allocations: 13.72 MB / 4.071 GB, free: 121.1 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006307/11.02, allocations: 4.748 MB / 4.075 GB, free: 120.2 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.008663/11.03, allocations: 2.1 MB / 4.077 GB, free: 120.2 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004872/11.03, allocations: 2.681 MB / 4.08 GB, free: 120.2 MB / 1.182 GB Notification: Performance of SimCode: time 1.152e-06/11.03, allocations: 1.406 kB / 4.08 GB, free: 120.2 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2562/11.29, allocations: 176.8 MB / 4.253 GB, free: 68.05 MB / 1.182 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002048/11.29, allocations: 237.5 kB / 4.253 GB, free: 67.81 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.292/18.58, allocations: 2.031 kB / 4.253 GB, free: 67.81 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