Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.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.Examples.StratifiedUnloadAtMinimumTemperature,fileNamePrefix="Buildings_latest_Buildings_Fluid_Storage_Examples_StratifiedUnloadAtMinimumTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,fileNamePrefix="Buildings_latest_Buildings_Fluid_Storage_Examples_StratifiedUnloadAtMinimumTemperature",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.179/2.179, allocations: 390.5 MB / 398 MB, free: 10.93 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.0009932/0.0009933, allocations: 176.9 kB / 491.2 MB, free: 1.547 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.393/1.393, allocations: 221.5 MB / 0.7868 GB, free: 13.27 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.0008523/0.0008523, allocations: 95.52 kB / 0.9269 GB, free: 13.78 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.618e-05/1.621e-05, allocations: 0 / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.243/0.2431, allocations: 143 MB / 1.212 GB, free: 39.44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.168/1.411, allocations: 425.7 MB / 1.628 GB, free: 4.891 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000283/1.411, allocations: 90.64 kB / 1.628 GB, free: 4.848 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 3.411/4.822, allocations: 0.9942 GB / 2.622 GB, free: 8.191 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.154e-06/4.822, allocations: 8 kB / 2.622 GB, free: 8.184 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.000495/4.823, allocations: 83.91 kB / 2.623 GB, free: 8.102 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.00815/4.831, allocations: 2.7 MB / 2.625 GB, free: 5.344 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.036e-05/4.831, allocations: 8.031 kB / 2.625 GB, free: 5.336 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001985/4.833, allocations: 360 kB / 2.626 GB, free: 4.98 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006928/4.84, allocations: 3.099 MB / 2.629 GB, free: 1.828 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001424/4.84, allocations: 72 kB / 2.629 GB, free: 1.758 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008764/4.841, allocations: 143.9 kB / 2.629 GB, free: 1.617 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.7256/5.566, allocations: 2.199 MB / 2.631 GB, free: 269.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00631/5.573, allocations: 2.653 MB / 2.633 GB, free: 268.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.243e-05/5.573, allocations: 8.969 kB / 2.634 GB, free: 268.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002124/5.573, allocations: 4.656 kB / 2.634 GB, free: 268.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001142/5.573, allocations: 69.25 kB / 2.634 GB, free: 268.9 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.02079/5.594, allocations: 12.59 MB / 2.646 GB, free: 262.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002869/5.597, allocations: 1.557 MB / 2.647 GB, free: 262.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002025/5.599, allocations: 1.095 MB / 2.648 GB, free: 262.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008298/5.6, allocations: 0.7134 MB / 2.649 GB, free: 262 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.941e-05/5.6, allocations: 49.31 kB / 2.649 GB, free: 262 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002068/5.602, allocations: 200.9 kB / 2.649 GB, free: 262 MB / 1.151 GB Notification: Performance of pre-optimization done (n=126): time 4.399e-06/5.602, allocations: 0 / 2.649 GB, free: 262 MB / 1.151 GB Notification: Performance of matching and sorting (n=126): time 0.003308/5.605, allocations: 1.643 MB / 2.651 GB, free: 261.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.106e-05/5.605, allocations: 145.7 kB / 2.651 GB, free: 261.6 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002936/5.608, allocations: 1.758 MB / 2.653 GB, free: 261.4 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001638/5.608, allocations: 28.95 kB / 2.653 GB, free: 261.4 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.001401/5.61, allocations: 1.256 MB / 2.654 GB, free: 261 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004354/5.61, allocations: 424.2 kB / 2.655 GB, free: 260.8 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.651e-05/5.61, allocations: 3.281 kB / 2.655 GB, free: 260.8 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001481/5.611, allocations: 376.4 kB / 2.655 GB, free: 260.5 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001066/5.612, allocations: 0.6577 MB / 2.656 GB, free: 260.5 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001283/5.613, allocations: 1.176 MB / 2.657 GB, free: 259.9 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001698/5.615, allocations: 0.9133 MB / 2.658 GB, free: 259.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-05/5.615, allocations: 4.312 kB / 2.658 GB, free: 259.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.004451/5.619, allocations: 2.169 MB / 2.66 GB, free: 259.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.001337/5.62, allocations: 5.697 MB / 2.665 GB, free: 253.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.924e-05/5.621, allocations: 14.78 kB / 2.665 GB, free: 253.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001759/5.622, allocations: 431.6 kB / 2.666 GB, free: 253.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001501/5.624, allocations: 357.9 kB / 2.666 GB, free: 253.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003084/5.627, allocations: 2.987 MB / 2.669 GB, free: 251.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00261/5.63, allocations: 194.9 kB / 2.669 GB, free: 251.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001827/5.63, allocations: 81.58 kB / 2.669 GB, free: 251.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/5.63, allocations: 11.72 kB / 2.669 GB, free: 251.9 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003584/5.633, allocations: 1.908 MB / 2.671 GB, free: 251.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.195e-05/5.633, allocations: 14.64 kB / 2.671 GB, free: 251.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000539/5.634, allocations: 213.5 kB / 2.671 GB, free: 251.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001416/5.635, allocations: 382.6 kB / 2.672 GB, free: 251.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003451/5.639, allocations: 3.75 MB / 2.675 GB, free: 249.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002575/5.641, allocations: 185.7 kB / 2.675 GB, free: 249.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002665/5.642, allocations: 82.41 kB / 2.676 GB, free: 249.2 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 (182): * Single equations (assignments): 180 * 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 19} Notification: Performance of prepare postOptimizeDAE: time 0.0006718/5.642, allocations: 159.5 kB / 2.676 GB, free: 249.1 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003841/5.646, allocations: 1.622 MB / 2.677 GB, free: 248.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007294/5.647, allocations: 205.8 kB / 2.677 GB, free: 248.8 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004095/5.651, allocations: 1.873 MB / 2.679 GB, free: 248.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.43e-05/5.651, allocations: 13.88 kB / 2.679 GB, free: 248.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.227e-05/5.651, allocations: 2.609 kB / 2.679 GB, free: 248.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002678/5.654, allocations: 1.5 MB / 2.681 GB, free: 248.6 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009147/5.663, allocations: 4.152 MB / 2.685 GB, free: 248.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.734e-06/5.663, allocations: 0 / 2.685 GB, free: 248.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009261/5.664, allocations: 213.4 kB / 2.685 GB, free: 248.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001403/5.665, allocations: 397.1 kB / 2.685 GB, free: 248.2 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000112/5.665, allocations: 23.95 kB / 2.685 GB, free: 248.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002488/5.668, allocations: 2.928 MB / 2.688 GB, free: 246.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/5.668, allocations: 0 / 2.688 GB, free: 246.3 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004212/5.672, allocations: 2.867 MB / 2.691 GB, free: 245.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001686/5.674, allocations: 0.5167 MB / 2.692 GB, free: 245.7 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007004/5.675, allocations: 17.3 kB / 2.692 GB, free: 245.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001961/5.677, allocations: 166.5 kB / 2.692 GB, free: 245.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001984/5.677, allocations: 102.6 kB / 2.692 GB, free: 245.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001491/5.677, allocations: 58.5 kB / 2.692 GB, free: 245.6 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.002341/5.679, allocations: 1.336 MB / 2.693 GB, free: 245.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.31e-07/5.679, allocations: 0 / 2.693 GB, free: 245.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.005724/5.685, allocations: 1.455 MB / 2.695 GB, free: 245.4 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (onOffMid.y,onOffBot.y,onOffHea.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 97 * 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 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.005406/5.69, allocations: 4.193 MB / 2.699 GB, free: 244.1 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.004847/5.695, allocations: 3.103 MB / 2.702 GB, free: 243.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.633e-06/5.695, allocations: 3.75 kB / 2.702 GB, free: 243.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001102/5.696, allocations: 0.9221 MB / 2.703 GB, free: 243.6 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00544/5.702, allocations: 1.07 MB / 2.704 GB, free: 243.6 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01045/5.712, allocations: 4.964 MB / 2.709 GB, free: 242.6 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001998/5.714, allocations: 2.215 MB / 2.711 GB, free: 241.9 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.004489/5.719, allocations: 1.43 MB / 2.712 GB, free: 241.8 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001452/5.72, allocations: 0.986 MB / 2.713 GB, free: 241.8 MB / 1.151 GB Notification: Performance of SimCode: time 1.383e-06/5.72, allocations: 0 / 2.713 GB, free: 241.8 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.11/5.83, allocations: 66.58 MB / 2.778 GB, free: 239.5 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001737/5.831, allocations: 205.8 kB / 2.778 GB, free: 239.2 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.232/10.06, allocations: 0 / 2.778 GB, free: 239.2 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Storage_Examples_StratifiedUnloadAtMinimumTemperature_fmu --startTime=0 --stopTime=21600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Storage_Examples_StratifiedUnloadAtMinimumTemperature.fmu > Buildings_latest_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature_res.mat does not exist to compare? outputFormat=mat