Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.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.HeatExchangers.BaseClasses.Examples.RayleighNumber,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.699/2.699, allocations: 387.1 MB / 399.7 MB, free: 9.508 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.001156/0.001156, allocations: 176.9 kB / 492.3 MB, free: 0.6406 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.598/1.598, allocations: 221.3 MB / 0.7872 GB, free: 12.94 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.0009854/0.0009853, allocations: 83.95 kB / 0.9267 GB, free: 14.01 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.199e-05/4.209e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3313/0.3314, allocations: 142.4 MB / 1.212 GB, free: 38.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.324/1.656, allocations: 372.4 MB / 1.576 GB, free: 9.145 MB / 0.9948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002576/1.656, allocations: 85.88 kB / 1.576 GB, free: 9.098 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 0.03059/1.687, allocations: 12.96 MB / 1.589 GB, free: 14.79 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.224e-06/1.687, allocations: 0 / 1.589 GB, free: 14.79 MB / 1.01 GB Notification: Performance of Transformations before backend: time 8.957e-06/1.687, allocations: 0 / 1.589 GB, free: 14.79 MB / 1.01 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.0005174/1.687, allocations: 387.7 kB / 1.589 GB, free: 14.38 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.48e-05/1.687, allocations: 8.031 kB / 1.589 GB, free: 14.37 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.713e-05/1.687, allocations: 38.19 kB / 1.589 GB, free: 14.32 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.549e-05/1.687, allocations: 11.86 kB / 1.589 GB, free: 14.31 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001397/1.687, allocations: 168.5 kB / 1.589 GB, free: 14.11 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.84e-05/1.687, allocations: 7.625 kB / 1.589 GB, free: 14.11 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.802e-05/1.687, allocations: 7.938 kB / 1.589 GB, free: 14.1 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001759/1.688, allocations: 68.17 kB / 1.59 GB, free: 14.04 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.964e-06/1.688, allocations: 224 / 1.59 GB, free: 14.04 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.584e-05/1.688, allocations: 3.984 kB / 1.59 GB, free: 14.04 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/1.688, allocations: 11.94 kB / 1.59 GB, free: 14.02 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001187/1.688, allocations: 50.48 kB / 1.59 GB, free: 13.99 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005203/1.688, allocations: 329 kB / 1.59 GB, free: 13.65 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001786/1.689, allocations: 87.75 kB / 1.59 GB, free: 13.58 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.328e-05/1.689, allocations: 31.86 kB / 1.59 GB, free: 13.56 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008638/1.69, allocations: 0.7578 MB / 1.591 GB, free: 12.71 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.169e-05/1.69, allocations: 42.16 kB / 1.591 GB, free: 12.66 MB / 1.01 GB Notification: Performance of pre-optimization done (n=8): time 1.383e-06/1.69, allocations: 0 / 1.591 GB, free: 12.66 MB / 1.01 GB Notification: Performance of matching and sorting (n=8): time 0.0002389/1.69, allocations: 84.31 kB / 1.591 GB, free: 12.59 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.949e-05/1.69, allocations: 55.41 kB / 1.591 GB, free: 12.52 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.975e-05/1.69, allocations: 112.2 kB / 1.591 GB, free: 12.41 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 1.804e-05/1.69, allocations: 25.7 kB / 1.591 GB, free: 12.38 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 6.201e-05/1.69, allocations: 95.67 kB / 1.591 GB, free: 12.29 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 2.358e-05/1.69, allocations: 27.27 kB / 1.591 GB, free: 12.27 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.012e-06/1.69, allocations: 3.438 kB / 1.591 GB, free: 12.27 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001346/1.69, allocations: 314.3 kB / 1.591 GB, free: 11.95 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.376e-05/1.69, allocations: 19.12 kB / 1.592 GB, free: 11.94 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.958e-05/1.69, allocations: 36.7 kB / 1.592 GB, free: 11.91 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.289e-05/1.69, allocations: 19.31 kB / 1.592 GB, free: 11.89 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/1.69, allocations: 4 kB / 1.592 GB, free: 11.89 MB / 1.01 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001753/1.691, allocations: 103.7 kB / 1.592 GB, free: 11.8 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/1.691, allocations: 11.94 kB / 1.592 GB, free: 11.79 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/1.691, allocations: 0 / 1.592 GB, free: 11.79 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/1.691, allocations: 0 / 1.592 GB, free: 11.79 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001458/1.691, allocations: 23.92 kB / 1.592 GB, free: 11.77 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.006e-06/1.691, allocations: 0 / 1.592 GB, free: 11.77 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.481e-05/1.691, allocations: 19.48 kB / 1.592 GB, free: 11.75 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.427e-05/1.691, allocations: 8.031 kB / 1.592 GB, free: 11.74 MB / 1.01 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 () * 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 8.341e-05/1.691, allocations: 102.4 kB / 1.592 GB, free: 11.64 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.562e-05/1.691, allocations: 11.86 kB / 1.592 GB, free: 11.62 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002389/1.691, allocations: 99.16 kB / 1.592 GB, free: 11.55 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/1.691, allocations: 0 / 1.592 GB, free: 11.55 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.678e-06/1.691, allocations: 4 kB / 1.592 GB, free: 11.54 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/1.691, allocations: 3.938 kB / 1.592 GB, free: 11.54 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002014/1.692, allocations: 194.8 kB / 1.592 GB, free: 11.31 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/1.692, allocations: 0 / 1.592 GB, free: 11.31 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001092/1.692, allocations: 19.55 kB / 1.592 GB, free: 11.3 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.973e-06/1.692, allocations: 4 kB / 1.592 GB, free: 11.29 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/1.692, allocations: 7.891 kB / 1.592 GB, free: 11.29 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/1.692, allocations: 0 / 1.592 GB, free: 11.29 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/1.692, allocations: 0 / 1.592 GB, free: 11.29 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002197/1.692, allocations: 195.3 kB / 1.592 GB, free: 11.1 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 4.126e-05/1.692, allocations: 77.11 kB / 1.592 GB, free: 11 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.019e-05/1.692, allocations: 7.984 kB / 1.592 GB, free: 11 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.732e-05/1.692, allocations: 7.953 kB / 1.592 GB, free: 10.99 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.935e-05/1.692, allocations: 14.98 kB / 1.592 GB, free: 10.98 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.335e-06/1.692, allocations: 4 kB / 1.592 GB, free: 10.97 MB / 1.01 GB Notification: Performance of sorting global known variables: time 5.866e-05/1.692, allocations: 98.89 kB / 1.593 GB, free: 10.88 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.6e-07/1.692, allocations: 0 / 1.593 GB, free: 10.88 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0002585/1.693, allocations: 27.31 kB / 1.593 GB, free: 10.86 MB / 1.01 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 () * 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.000692/1.693, allocations: 0.7535 MB / 1.593 GB, free: 10.1 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0001633/1.693, allocations: 60.44 kB / 1.593 GB, free: 10.05 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/1.693, allocations: 0 / 1.593 GB, free: 10.05 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 6.695e-05/1.694, allocations: 40.34 kB / 1.593 GB, free: 10.02 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001955/1.694, allocations: 6.516 kB / 1.593 GB, free: 10.02 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005297/1.694, allocations: 147.3 kB / 1.594 GB, free: 9.855 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002824/1.695, allocations: 0.6926 MB / 1.594 GB, free: 9.137 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 7.29e-05/1.695, allocations: 8.172 kB / 1.594 GB, free: 9.125 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.888e-05/1.695, allocations: 21.5 kB / 1.594 GB, free: 9.113 MB / 1.01 GB Notification: Performance of SimCode: time 6.72e-07/1.695, allocations: 0 / 1.594 GB, free: 9.113 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01603/1.711, allocations: 2.367 MB / 1.597 GB, free: 6.902 MB / 1.01 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002172/1.711, allocations: 180.2 kB / 1.597 GB, free: 6.672 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.721/3.432, allocations: 2.344 kB / 1.597 GB, free: 6.672 MB / 1.01 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_res.mat does not exist to compare? outputFormat=mat