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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009586/0.0009585, allocations: 91.61 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.383/2.383, allocations: 390.4 MB / 0.6655 GB, free: 2.965 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005643/0.0005647, allocations: 8 kB / 0.8149 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7177/0.7183, allocations: 142.3 MB / 0.9539 GB, free: 8.324 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.001534/0.7199, allocations: 1.294 MB / 0.9551 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00301/0.7229, allocations: 3.066 MB / 0.9581 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.717e-05/0.723, allocations: 1.156 kB / 0.9581 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.702e-05/0.723, allocations: 3.938 kB / 0.9581 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.332e-05/0.7231, allocations: 13.11 kB / 0.9581 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003489/0.7235, allocations: 90.25 kB / 0.9582 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.691e-05/0.7236, allocations: 69.97 kB / 0.9583 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.222e-05/0.7236, allocations: 10.05 kB / 0.9583 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.197e-05/0.7237, allocations: 30.23 kB / 0.9583 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.255e-05/0.7238, allocations: 44.62 kB / 0.9584 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.554e-05/0.7239, allocations: 6.812 kB / 0.9584 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002067/0.7241, allocations: 69.27 kB / 0.9584 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.596e-05/0.7241, allocations: 13.88 kB / 0.9584 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.883e-05/0.7241, allocations: 38.73 kB / 0.9585 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001379/0.7243, allocations: 76.02 kB / 0.9586 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.7243, allocations: 0 / 0.9586 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.532e-06/0.7243, allocations: 0 / 0.9586 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.038e-06/0.7243, allocations: 0 / 0.9586 GB, free: 4.488 MB / 0.7169 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.0004612/0.7248, allocations: 386.6 kB / 0.9589 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.7248, allocations: 9.125 kB / 0.9589 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.35e-05/0.7249, allocations: 33.28 kB / 0.959 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.537e-05/0.7249, allocations: 6.781 kB / 0.959 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.106e-05/0.725, allocations: 170.6 kB / 0.9591 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.725, allocations: 10.78 kB / 0.9591 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.31e-05/0.725, allocations: 3.219 kB / 0.9591 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001915/0.7252, allocations: 80.81 kB / 0.9592 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.7252, allocations: 0 / 0.9592 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.505e-05/0.7253, allocations: 7.953 kB / 0.9592 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.7253, allocations: 5.469 kB / 0.9592 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001812/0.7255, allocations: 84.84 kB / 0.9593 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004091/0.7259, allocations: 326.1 kB / 0.9596 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002037/0.7261, allocations: 97.7 kB / 0.9597 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.986e-05/0.7262, allocations: 53.55 kB / 0.9598 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000547/0.7267, allocations: 0.7412 MB / 0.9605 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.857e-05/0.7268, allocations: 35.92 kB / 0.9605 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.282e-06/0.7268, allocations: 0 / 0.9605 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0003636/0.7271, allocations: 156.4 kB / 0.9607 GB, free: 2.363 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.112e-05/0.7272, allocations: 53.12 kB / 0.9607 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.784e-05/0.7273, allocations: 115.7 kB / 0.9608 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.919e-06/0.7273, allocations: 25.7 kB / 0.9609 GB, free: 2.16 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.892e-05/0.7273, allocations: 96 kB / 0.961 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.781e-05/0.7273, allocations: 29.62 kB / 0.961 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.54e-06/0.7274, allocations: 1.375 kB / 0.961 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.641e-05/0.7274, allocations: 323.9 kB / 0.9613 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.892e-05/0.7275, allocations: 31.52 kB / 0.9613 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.393e-05/0.7276, allocations: 52.05 kB / 0.9614 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.707e-05/0.7277, allocations: 48.92 kB / 0.9614 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.7277, allocations: 1.281 kB / 0.9614 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002115/0.7279, allocations: 110.6 kB / 0.9615 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.7279, allocations: 15.02 kB / 0.9615 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.7279, allocations: 0 / 0.9615 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.728, allocations: 1.344 kB / 0.9615 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001293/0.7281, allocations: 24.11 kB / 0.9616 GB, free: 1.562 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.7281, allocations: 1.094 kB / 0.9616 GB, free: 1.562 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.376e-05/0.7282, allocations: 10.22 kB / 0.9616 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.906e-06/0.7282, allocations: 2.219 kB / 0.9616 GB, free: 1.559 MB / 0.7169 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 6.314e-05/0.7283, allocations: 129 kB / 0.9617 GB, free: 1.426 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.793e-05/0.7283, allocations: 8.094 kB / 0.9617 GB, free: 1.422 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002716/0.7286, allocations: 131.5 kB / 0.9618 GB, free: 1.332 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.7286, allocations: 1.375 kB / 0.9618 GB, free: 1.332 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.7286, allocations: 0 / 0.9618 GB, free: 1.332 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.7286, allocations: 4 kB / 0.9618 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001483/0.7287, allocations: 193.4 kB / 0.962 GB, free: 1.105 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.7288, allocations: 4 kB / 0.962 GB, free: 1.102 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001021/0.7289, allocations: 19.45 kB / 0.962 GB, free: 1.098 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.7289, allocations: 0.9688 kB / 0.9621 GB, free: 1.098 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.7289, allocations: 1 kB / 0.9621 GB, free: 1.098 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.7289, allocations: 0 / 0.9621 GB, free: 1.098 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.7289, allocations: 1.156 kB / 0.9621 GB, free: 1.098 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002244/0.7291, allocations: 215.1 kB / 0.9623 GB, free: 0.9219 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.146e-05/0.7292, allocations: 86.92 kB / 0.9623 GB, free: 0.8203 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.803e-05/0.7292, allocations: 5.031 kB / 0.9623 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.959e-05/0.7293, allocations: 9.453 kB / 0.9624 GB, free: 0.8125 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.522e-05/0.7293, allocations: 10.7 kB / 0.9624 GB, free: 0.8047 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.833e-06/0.7293, allocations: 2.062 kB / 0.9624 GB, free: 0.8047 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.521e-05/0.7294, allocations: 96.7 kB / 0.9625 GB, free: 0.7188 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.7294, allocations: 3.938 kB / 0.9625 GB, free: 0.7148 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002504/0.7296, allocations: 20.69 kB / 0.9625 GB, free: 0.7109 MB / 0.7169 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.000495/0.7301, allocations: 0.7717 MB / 0.9632 GB, free: 16 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002207/0.7304, allocations: 92.27 kB / 0.9633 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.7304, allocations: 0 / 0.9633 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 9.552e-05/0.7305, allocations: 46.67 kB / 0.9634 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002711/0.7308, allocations: 4.359 kB / 0.9634 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005628/0.7313, allocations: 287.6 kB / 0.9636 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002676/0.7316, allocations: 0.6893 MB / 0.9643 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 6.591e-05/0.7317, allocations: 7.906 kB / 0.9643 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.962e-05/0.7317, allocations: 22.75 kB / 0.9643 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of SimCode: time 2.01e-07/0.7317, allocations: 0.9688 kB / 0.9644 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01154/0.7433, allocations: 1.951 MB / 0.9663 GB, free: 14.06 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001625/0.7435, allocations: 204.1 kB / 0.9664 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.734/2.478, allocations: 1.828 kB / 0.9665 GB, free: 13.82 MB / 0.7325 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