Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.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.Examples.StratifiedUnloadAtMinimumTemperature,fileNamePrefix="Buildings_9_Buildings_Fluid_Storage_Examples_StratifiedUnloadAtMinimumTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,fileNamePrefix="Buildings_9_Buildings_Fluid_Storage_Examples_StratifiedUnloadAtMinimumTemperature",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.121/2.121, allocations: 387.1 MB / 399.7 MB, free: 9.469 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.001144/0.001144, allocations: 180.9 kB / 492.3 MB, free: 0.5938 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.436/1.436, allocations: 221.3 MB / 0.7871 GB, free: 12.88 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.0008825/0.0008825, allocations: 99.31 kB / 0.9267 GB, free: 13.93 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.702e-05/2.716e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2737/0.2737, allocations: 142.4 MB / 1.212 GB, free: 38.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.127/1.401, allocations: 425.6 MB / 1.628 GB, free: 4.812 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002846/1.401, allocations: 86.7 kB / 1.628 GB, free: 4.77 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 3.725/5.126, allocations: 0.9991 GB / 2.627 GB, free: 3.363 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.106e-06/5.126, allocations: 4 kB / 2.627 GB, free: 3.359 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0004966/5.127, allocations: 83.84 kB / 2.627 GB, free: 3.277 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 586 * Number of variables: 586 Notification: Performance of Generate backend data structure: time 0.008421/5.135, allocations: 2.71 MB / 2.63 GB, free: 0.5078 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.012e-05/5.135, allocations: 8.031 kB / 2.63 GB, free: 0.5 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001309/5.137, allocations: 332.9 kB / 2.63 GB, free: 168 kB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.8593/5.996, allocations: 353 kB / 2.631 GB, free: 270.5 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009807/6.006, allocations: 3.096 MB / 2.634 GB, free: 270.1 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002956/6.006, allocations: 176.4 kB / 2.634 GB, free: 270.1 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009287/6.007, allocations: 238.8 kB / 2.634 GB, free: 270.1 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007101/6.014, allocations: 2.984 MB / 2.637 GB, free: 269.8 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.078e-05/6.015, allocations: 10.78 kB / 2.637 GB, free: 269.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003055/6.015, allocations: 99.98 kB / 2.637 GB, free: 269.8 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001312/6.015, allocations: 69.45 kB / 2.637 GB, free: 269.8 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005253/6.02, allocations: 2.341 MB / 2.64 GB, free: 269.7 MB / 1.151 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.02237/6.043, allocations: 12.98 MB / 2.652 GB, free: 263.6 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003123/6.046, allocations: 1.624 MB / 2.654 GB, free: 263.5 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001796/6.048, allocations: 1.12 MB / 2.655 GB, free: 263.5 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007348/6.048, allocations: 0.7129 MB / 2.656 GB, free: 262.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.973e-05/6.049, allocations: 47.83 kB / 2.656 GB, free: 262.7 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002197/6.051, allocations: 233.6 kB / 2.656 GB, free: 262.6 MB / 1.151 GB Notification: Performance of pre-optimization done (n=126): time 8.226e-06/6.051, allocations: 0 / 2.656 GB, free: 262.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=126): time 0.003805/6.055, allocations: 1.697 MB / 2.657 GB, free: 262.4 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.547e-05/6.055, allocations: 145.2 kB / 2.658 GB, free: 262.3 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003692/6.058, allocations: 1.89 MB / 2.659 GB, free: 262.1 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0002983/6.059, allocations: 57.38 kB / 2.66 GB, free: 262 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.001383/6.06, allocations: 1.26 MB / 2.661 GB, free: 261.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005731/6.061, allocations: 448.2 kB / 2.661 GB, free: 261.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.091e-05/6.061, allocations: 38.62 kB / 2.661 GB, free: 261.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001457/6.061, allocations: 369.8 kB / 2.662 GB, free: 261.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001261/6.062, allocations: 0.6914 MB / 2.662 GB, free: 261.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001536/6.064, allocations: 1.213 MB / 2.663 GB, free: 260.5 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001601/6.065, allocations: 0.9334 MB / 2.664 GB, free: 260.5 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-05/6.065, allocations: 4.25 kB / 2.664 GB, free: 260.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.004146/6.069, allocations: 2.326 MB / 2.667 GB, free: 260.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.001262/6.071, allocations: 5.707 MB / 2.672 GB, free: 254.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.342e-05/6.071, allocations: 16.22 kB / 2.672 GB, free: 254.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001845/6.073, allocations: 489.7 kB / 2.673 GB, free: 254.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001304/6.074, allocations: 356.2 kB / 2.673 GB, free: 254.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002751/6.077, allocations: 3.085 MB / 2.676 GB, free: 252.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002889/6.08, allocations: 234.1 kB / 2.676 GB, free: 252.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000225/6.08, allocations: 82.3 kB / 2.676 GB, free: 252.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/6.08, allocations: 4.188 kB / 2.676 GB, free: 252.4 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00356/6.083, allocations: 2.1 MB / 2.678 GB, free: 252.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.791e-05/6.084, allocations: 17.97 kB / 2.678 GB, free: 252.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006352/6.084, allocations: 237.4 kB / 2.679 GB, free: 252.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001324/6.086, allocations: 370.9 kB / 2.679 GB, free: 252.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003893/6.089, allocations: 4.157 MB / 2.683 GB, free: 249.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002982/6.092, allocations: 218 kB / 2.683 GB, free: 249.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003969/6.093, allocations: 82.97 kB / 2.683 GB, free: 249.7 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.onOffBot.y,onOffBot.y,$PRE.onOffMid.y,onOffMid.y,and2.y,nor.y,$PRE.onOffHea.y,onOffHea.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (179): * Single equations (assignments): 177 * Array equations: 0 * Algorithm blocks: 0 * 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: 1 {(1,100.0%) 10} * Non-linear torn systems: 1 {3 22} Notification: Performance of prepare postOptimizeDAE: time 0.0007203/6.094, allocations: 206.6 kB / 2.684 GB, free: 249.6 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009805/6.095, allocations: 215.1 kB / 2.684 GB, free: 249.5 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004551/6.099, allocations: 1.983 MB / 2.686 GB, free: 249.3 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.901e-05/6.099, allocations: 18.19 kB / 2.686 GB, free: 249.3 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.107e-05/6.099, allocations: 2.031 kB / 2.686 GB, free: 249.3 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002703/6.102, allocations: 1.583 MB / 2.687 GB, free: 249.2 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01241/6.114, allocations: 4.608 MB / 2.692 GB, free: 248.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.384e-05/6.114, allocations: 5.062 kB / 2.692 GB, free: 248.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001051/6.115, allocations: 213.8 kB / 2.692 GB, free: 248.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001912/6.117, allocations: 437.4 kB / 2.692 GB, free: 248.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001656/6.118, allocations: 37.52 kB / 2.692 GB, free: 248.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003198/6.121, allocations: 3.007 MB / 2.695 GB, free: 246.9 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/6.121, allocations: 1.094 kB / 2.695 GB, free: 246.9 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005555/6.126, allocations: 2.925 MB / 2.698 GB, free: 246.5 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00203/6.128, allocations: 0.5314 MB / 2.699 GB, free: 246.3 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007657/6.129, allocations: 28.2 kB / 2.699 GB, free: 246.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002367/6.132, allocations: 187.9 kB / 2.699 GB, free: 246.3 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003037/6.132, allocations: 113.8 kB / 2.699 GB, free: 246.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000199/6.132, allocations: 57.67 kB / 2.699 GB, free: 246.3 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.003121/6.135, allocations: 1.454 MB / 2.7 GB, free: 246.1 MB / 1.151 GB Notification: Performance of sort global known variables: time 4.71e-07/6.135, allocations: 0 / 2.7 GB, free: 246.1 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.006916/6.142, allocations: 1.52 MB / 2.702 GB, free: 246 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 5 (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) * Number of discrete variables: 5 (onOffBot.y,onOffMid.y,and2.y,nor.y,onOffHea.y) * Number of discrete states: 3 (onOffBot.y,onOffMid.y,onOffHea.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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: 1 {(1,100.0%) 10} * Non-linear torn systems: 1 {3 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.006187/6.148, allocations: 4.149 MB / 2.706 GB, free: 244.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.005705/6.154, allocations: 3.314 MB / 2.709 GB, free: 244.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 7.764e-06/6.154, allocations: 0 / 2.709 GB, free: 244.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001397/6.156, allocations: 0.9733 MB / 2.71 GB, free: 244.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006587/6.162, allocations: 1.121 MB / 2.711 GB, free: 244.3 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01348/6.176, allocations: 5.099 MB / 2.716 GB, free: 243.4 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001658/6.177, allocations: 2.217 MB / 2.718 GB, free: 242.6 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.004352/6.182, allocations: 1.425 MB / 2.72 GB, free: 242.6 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001265/6.183, allocations: 0.9873 MB / 2.721 GB, free: 242.6 MB / 1.151 GB Notification: Performance of SimCode: time 1.182e-06/6.183, allocations: 0 / 2.721 GB, free: 242.6 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1202/6.303, allocations: 73.68 MB / 2.793 GB, free: 239.9 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001662/6.304, allocations: 247 kB / 2.793 GB, free: 239.6 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.469/10.77, allocations: 0 / 2.793 GB, free: 239.6 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; mkfifo Buildings_9_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe >> ../files/Buildings_9_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Storage_Examples_StratifiedUnloadAtMinimumTemperature_fmu --startTime=0 --stopTime=21600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Storage_Examples_StratifiedUnloadAtMinimumTemperature.fmu > Buildings_9_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature_res.mat does not exist to compare? outputFormat=mat