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.001167/0.001167, allocations: 99.31 kB / 15.05 MB, free: 1.105 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.001363/0.001363, allocations: 177.3 kB / 15.95 MB, free: 216 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.351/1.351, allocations: 223.2 MB / 239.9 MB, free: 5.379 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.431/2.431, allocations: 390.3 MB / 0.6653 GB, free: 2.961 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003549/0.000355, allocations: 12 kB / 0.8146 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7873/0.7876, allocations: 142.3 MB / 0.9536 GB, free: 8.082 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.00155/0.7892, allocations: 1.281 MB / 0.9548 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0027/0.792, allocations: 2.846 MB / 0.9576 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.251e-05/0.792, allocations: 1.281 kB / 0.9576 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.133e-05/0.7921, allocations: 3.938 kB / 0.9576 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.456e-05/0.7921, allocations: 22 kB / 0.9577 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003204/0.7925, allocations: 88.97 kB / 0.9577 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.33e-05/0.7925, allocations: 47.61 kB / 0.9578 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.681e-05/0.7926, allocations: 15.48 kB / 0.9578 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.36e-05/0.7927, allocations: 32.89 kB / 0.9578 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.558e-05/0.7928, allocations: 43.19 kB / 0.9579 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.315e-05/0.7928, allocations: 3.688 kB / 0.9579 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000234/0.7931, allocations: 77.53 kB / 0.958 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.431e-05/0.7931, allocations: 10.14 kB / 0.958 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.394e-05/0.7931, allocations: 35.08 kB / 0.958 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001331/0.7933, allocations: 74.69 kB / 0.9581 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.265e-06/0.7933, allocations: 0 / 0.9581 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.372e-06/0.7933, allocations: 0 / 0.9581 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.7933, allocations: 0 / 0.9581 GB, free: 4.473 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.0004306/0.7937, allocations: 382 kB / 0.9584 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.7938, allocations: 9.469 kB / 0.9584 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.092e-05/0.7938, allocations: 40.33 kB / 0.9585 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.233e-05/0.7939, allocations: 7.688 kB / 0.9585 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.226e-05/0.794, allocations: 174.4 kB / 0.9587 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.794, allocations: 1.969 kB / 0.9587 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.552e-05/0.794, allocations: 11.59 kB / 0.9587 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001924/0.7942, allocations: 84.58 kB / 0.9587 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.7942, allocations: 0 / 0.9587 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.7942, allocations: 5.703 kB / 0.9587 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.7942, allocations: 1.844 kB / 0.9588 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001879/0.7944, allocations: 83.28 kB / 0.9588 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003997/0.7948, allocations: 331.2 kB / 0.9591 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002063/0.7951, allocations: 97.55 kB / 0.9592 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005795/0.7957, allocations: 0.7476 MB / 0.96 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.47e-05/0.7957, allocations: 31.66 kB / 0.96 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.142e-06/0.7957, allocations: 1.219 kB / 0.96 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0003753/0.7961, allocations: 143.6 kB / 0.9601 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.255e-05/0.7961, allocations: 56.83 kB / 0.9602 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.242e-05/0.7962, allocations: 115.9 kB / 0.9603 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.047e-05/0.7962, allocations: 29.7 kB / 0.9603 GB, free: 2.168 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.58e-05/0.7962, allocations: 91.05 kB / 0.9604 GB, free: 2.078 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.811e-05/0.7962, allocations: 30.8 kB / 0.9604 GB, free: 2.051 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.122e-06/0.7963, allocations: 1.125 kB / 0.9604 GB, free: 2.051 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.639e-05/0.7963, allocations: 328.3 kB / 0.9608 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.187e-05/0.7964, allocations: 32.64 kB / 0.9608 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.344e-05/0.7965, allocations: 50.84 kB / 0.9608 GB, free: 1.676 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.798e-05/0.7966, allocations: 44.75 kB / 0.9609 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.7966, allocations: 1.938 kB / 0.9609 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002127/0.7968, allocations: 110.5 kB / 0.961 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.7968, allocations: 5.094 kB / 0.961 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.7968, allocations: 3.984 kB / 0.961 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.7969, allocations: 6.031 kB / 0.961 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001343/0.797, allocations: 24.17 kB / 0.961 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.797, allocations: 1.469 kB / 0.961 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.4e-05/0.7971, allocations: 13.22 kB / 0.961 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.839e-06/0.7971, allocations: 2.281 kB / 0.961 GB, free: 1.566 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 5.832e-05/0.7972, allocations: 122.2 kB / 0.9612 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.714e-05/0.7972, allocations: 15.27 kB / 0.9612 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002763/0.7975, allocations: 123.6 kB / 0.9613 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.7975, allocations: 3.938 kB / 0.9613 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.7975, allocations: 1.375 kB / 0.9613 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.7975, allocations: 0 / 0.9613 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001406/0.7977, allocations: 200.7 kB / 0.9615 GB, free: 1.113 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.7977, allocations: 1.375 kB / 0.9615 GB, free: 1.113 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001047/0.7978, allocations: 23.11 kB / 0.9615 GB, free: 1.105 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.7978, allocations: 0 / 0.9615 GB, free: 1.105 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.358e-06/0.7978, allocations: 1.375 kB / 0.9615 GB, free: 1.105 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.7978, allocations: 0 / 0.9615 GB, free: 1.105 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.7978, allocations: 0 / 0.9615 GB, free: 1.105 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000245/0.7981, allocations: 215.6 kB / 0.9617 GB, free: 0.9297 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.265e-05/0.7981, allocations: 87.75 kB / 0.9618 GB, free: 0.8281 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.849e-05/0.7981, allocations: 1.562 kB / 0.9618 GB, free: 0.8281 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.822e-05/0.7982, allocations: 8.109 kB / 0.9618 GB, free: 0.8242 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.398e-05/0.7983, allocations: 16 kB / 0.9618 GB, free: 0.8125 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.624e-06/0.7983, allocations: 5.359 kB / 0.9618 GB, free: 0.8086 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.177e-05/0.7983, allocations: 99.89 kB / 0.9619 GB, free: 0.7188 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7983, allocations: 1.375 kB / 0.9619 GB, free: 0.7188 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002567/0.7986, allocations: 20.5 kB / 0.9619 GB, free: 0.7148 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.0004626/0.7991, allocations: 0.7641 MB / 0.9627 GB, free: 4 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002508/0.7993, allocations: 87.77 kB / 0.9628 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.7993, allocations: 4.062 kB / 0.9628 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001023/0.7994, allocations: 43.05 kB / 0.9628 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002048/0.7997, allocations: 6.938 kB / 0.9628 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005474/0.8002, allocations: 284.9 kB / 0.9631 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002184/0.8004, allocations: 0.691 MB / 0.9638 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 6.61e-05/0.8005, allocations: 15.19 kB / 0.9638 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.591e-05/0.8006, allocations: 19.25 kB / 0.9638 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of SimCode: time 2e-07/0.8006, allocations: 0 / 0.9638 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01137/0.8119, allocations: 1.937 MB / 0.9657 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000178/0.8122, allocations: 194.4 kB / 0.9659 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.628/2.44, allocations: 7.938 kB / 0.9659 GB, free: 13.83 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