Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.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.HeatExchangers.BaseClasses.Examples.RayleighNumber,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber",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.438/2.438, allocations: 393.5 MB / 408.4 MB, free: 11.02 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.002154/0.002155, allocations: 186.4 kB / 0.4901 GB, free: 2.266 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.775/1.775, allocations: 223.1 MB / 0.7992 GB, free: 15.62 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.001081/0.001081, allocations: 102.4 kB / 0.9396 GB, free: 2.77 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003947/0.0003948, allocations: 11.2 kB / 1.09 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3597/0.3602, allocations: 143 MB / 1.229 GB, free: 85.37 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.286/1.647, allocations: 373.2 MB / 1.594 GB, free: 3.25 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002938/1.647, allocations: 91.89 kB / 1.594 GB, free: 3.199 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 0.03079/1.678, allocations: 13.01 MB / 1.607 GB, free: 8.883 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.876e-06/1.678, allocations: 0 / 1.607 GB, free: 8.883 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.265e-05/1.678, allocations: 4 kB / 1.607 GB, free: 8.879 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006112/1.678, allocations: 392.2 kB / 1.607 GB, free: 8.453 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.974e-05/1.678, allocations: 8.562 kB / 1.607 GB, free: 8.445 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.591e-05/1.679, allocations: 38.38 kB / 1.607 GB, free: 8.402 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.903e-05/1.679, allocations: 7.953 kB / 1.607 GB, free: 8.395 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001647/1.679, allocations: 178.8 kB / 1.607 GB, free: 8.18 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.894e-05/1.679, allocations: 3.984 kB / 1.607 GB, free: 8.176 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.101e-05/1.679, allocations: 7.375 kB / 1.607 GB, free: 8.172 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002312/1.679, allocations: 84.28 kB / 1.607 GB, free: 8.094 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/1.679, allocations: 0 / 1.607 GB, free: 8.094 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.504e-05/1.679, allocations: 3.438 kB / 1.607 GB, free: 8.094 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.122e-05/1.679, allocations: 7.984 kB / 1.607 GB, free: 8.086 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002135/1.679, allocations: 86.83 kB / 1.607 GB, free: 8.016 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006275/1.68, allocations: 325.3 kB / 1.608 GB, free: 7.684 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002398/1.68, allocations: 92.05 kB / 1.608 GB, free: 7.609 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009025/1.681, allocations: 0.7537 MB / 1.608 GB, free: 6.766 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.111e-05/1.681, allocations: 38.78 kB / 1.609 GB, free: 6.719 MB / 0.948 GB Notification: Performance of pre-optimization done (n=8): time 1.703e-06/1.681, allocations: 3.938 kB / 1.609 GB, free: 6.715 MB / 0.948 GB Notification: Performance of matching and sorting (n=8): time 0.0005248/1.682, allocations: 142.4 kB / 1.609 GB, free: 6.594 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.045e-05/1.682, allocations: 55.41 kB / 1.609 GB, free: 6.527 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001139/1.682, allocations: 116.2 kB / 1.609 GB, free: 6.414 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.369e-05/1.682, allocations: 29.7 kB / 1.609 GB, free: 6.379 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 8.453e-05/1.682, allocations: 83.77 kB / 1.609 GB, free: 6.297 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.754e-05/1.682, allocations: 31.42 kB / 1.609 GB, free: 6.27 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.693e-06/1.682, allocations: 3.5 kB / 1.609 GB, free: 6.27 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001557/1.682, allocations: 322.3 kB / 1.609 GB, free: 5.949 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.255e-05/1.682, allocations: 30.98 kB / 1.609 GB, free: 5.926 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.885e-05/1.682, allocations: 49.02 kB / 1.609 GB, free: 5.879 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000104/1.683, allocations: 38.84 kB / 1.609 GB, free: 5.852 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/1.683, allocations: 0 / 1.609 GB, free: 5.852 MB / 0.948 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002842/1.683, allocations: 123.7 kB / 1.609 GB, free: 5.742 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.668e-05/1.683, allocations: 4 kB / 1.609 GB, free: 5.738 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/1.683, allocations: 3.938 kB / 1.609 GB, free: 5.734 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.493e-05/1.683, allocations: 4 kB / 1.609 GB, free: 5.73 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001703/1.683, allocations: 23.67 kB / 1.61 GB, free: 5.711 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.18e-05/1.683, allocations: 3.984 kB / 1.61 GB, free: 5.707 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.786e-05/1.683, allocations: 8.031 kB / 1.61 GB, free: 5.699 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.365e-05/1.683, allocations: 4.391 kB / 1.61 GB, free: 5.695 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001183/1.683, allocations: 113.5 kB / 1.61 GB, free: 5.578 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.335e-05/1.683, allocations: 11.86 kB / 1.61 GB, free: 5.566 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003444/1.684, allocations: 135.7 kB / 1.61 GB, free: 5.453 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/1.684, allocations: 0 / 1.61 GB, free: 5.453 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.533e-06/1.684, allocations: 4 kB / 1.61 GB, free: 5.449 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/1.684, allocations: 192 / 1.61 GB, free: 5.449 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002367/1.684, allocations: 188.1 kB / 1.61 GB, free: 5.23 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/1.684, allocations: 7.922 kB / 1.61 GB, free: 5.223 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001101/1.684, allocations: 12 kB / 1.61 GB, free: 5.211 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.248e-06/1.684, allocations: 15.94 kB / 1.61 GB, free: 5.195 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.399e-05/1.684, allocations: 3.75 kB / 1.61 GB, free: 5.195 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/1.684, allocations: 0 / 1.61 GB, free: 5.195 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/1.684, allocations: 0 / 1.61 GB, free: 5.195 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000339/1.685, allocations: 210.3 kB / 1.61 GB, free: 4.992 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.308e-05/1.685, allocations: 92.95 kB / 1.61 GB, free: 4.883 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.24e-05/1.685, allocations: 5.391 kB / 1.61 GB, free: 4.879 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/1.685, allocations: 9.172 kB / 1.61 GB, free: 4.871 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.309e-05/1.685, allocations: 4 kB / 1.61 GB, free: 4.867 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.052e-05/1.685, allocations: 4.984 kB / 1.61 GB, free: 4.863 MB / 0.948 GB Notification: Performance of sorting global known variables: time 6.47e-05/1.685, allocations: 92.22 kB / 1.61 GB, free: 4.777 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.3e-07/1.685, allocations: 0 / 1.61 GB, free: 4.777 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002884/1.685, allocations: 27.23 kB / 1.61 GB, free: 4.754 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008604/1.686, allocations: 0.7791 MB / 1.611 GB, free: 3.973 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002682/1.686, allocations: 89.38 kB / 1.611 GB, free: 3.902 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/1.686, allocations: 0 / 1.611 GB, free: 3.902 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001071/1.687, allocations: 45.48 kB / 1.611 GB, free: 3.867 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002318/1.687, allocations: 15.06 kB / 1.611 GB, free: 3.855 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006613/1.687, allocations: 286.5 kB / 1.612 GB, free: 3.547 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002409/1.688, allocations: 0.6965 MB / 1.612 GB, free: 2.824 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 7.465e-05/1.688, allocations: 12.12 kB / 1.612 GB, free: 2.809 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.521e-05/1.688, allocations: 28.23 kB / 1.612 GB, free: 2.789 MB / 0.948 GB Notification: Performance of SimCode: time 4.7e-07/1.688, allocations: 0 / 1.612 GB, free: 2.789 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01782/1.706, allocations: 2.317 MB / 1.615 GB, free: 0.6484 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002433/1.706, allocations: 201.2 kB / 1.615 GB, free: 424 kB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.715/3.421, allocations: 4 kB / 1.615 GB, free: 420 kB / 0.948 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_res.mat does not exist to compare? outputFormat=mat