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/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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 99 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.00151/0.00151, allocations: 177.3 kB / 15.94 MB, free: 228 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.25/1.25, allocations: 223.2 MB / 239.9 MB, free: 5.258 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.367/2.367, allocations: 409.2 MB / 0.6838 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005191/0.0005194, allocations: 8 kB / 0.8375 GB, free: 6.578 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.848/0.8485, allocations: 146.8 MB / 0.9809 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.002013/0.8506, allocations: 1.285 MB / 0.9821 GB, free: 4.988 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003507/0.8541, allocations: 2.83 MB / 0.9849 GB, free: 2.141 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.973e-05/0.8542, allocations: 4 kB / 0.9849 GB, free: 2.137 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.192e-05/0.8542, allocations: 7.922 kB / 0.9849 GB, free: 2.129 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 9.022e-05/0.8543, allocations: 11.97 kB / 0.9849 GB, free: 2.117 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003935/0.8547, allocations: 103.7 kB / 0.985 GB, free: 2.016 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.804e-05/0.8548, allocations: 43.89 kB / 0.9851 GB, free: 1.973 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.962e-05/0.8549, allocations: 8.172 kB / 0.9851 GB, free: 1.965 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000102/0.855, allocations: 35.91 kB / 0.9851 GB, free: 1.93 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 9.292e-05/0.8551, allocations: 39.83 kB / 0.9851 GB, free: 1.891 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.195e-05/0.8551, allocations: 0 / 0.9851 GB, free: 1.891 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002481/0.8554, allocations: 71.95 kB / 0.9852 GB, free: 1.82 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.026e-05/0.8554, allocations: 15.91 kB / 0.9852 GB, free: 1.805 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.17e-05/0.8555, allocations: 37.7 kB / 0.9853 GB, free: 1.762 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001541/0.8556, allocations: 82 kB / 0.9853 GB, free: 1.684 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.8556, allocations: 0 / 0.9853 GB, free: 1.684 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.284e-06/0.8556, allocations: 0 / 0.9853 GB, free: 1.684 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.296e-06/0.8557, allocations: 0 / 0.9853 GB, free: 1.684 MB / 0.7325 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.0006056/0.8563, allocations: 380.5 kB / 0.9857 GB, free: 1.266 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.8563, allocations: 8.031 kB / 0.9857 GB, free: 1.258 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.075e-05/0.8564, allocations: 34.5 kB / 0.9857 GB, free: 1.215 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.082e-05/0.8564, allocations: 15.89 kB / 0.9858 GB, free: 1.199 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001383/0.8565, allocations: 174.9 kB / 0.9859 GB, free: 0.9883 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.8566, allocations: 4 kB / 0.9859 GB, free: 0.9844 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.522e-05/0.8566, allocations: 8 kB / 0.9859 GB, free: 0.9766 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000206/0.8568, allocations: 77.66 kB / 0.986 GB, free: 0.8945 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.8568, allocations: 0 / 0.986 GB, free: 0.8945 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.464e-05/0.8568, allocations: 7.984 kB / 0.986 GB, free: 0.8867 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.8568, allocations: 3.938 kB / 0.986 GB, free: 0.8828 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001923/0.857, allocations: 83.89 kB / 0.9861 GB, free: 0.8008 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004929/0.8575, allocations: 332.7 kB / 0.9864 GB, free: 436 kB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002067/0.8578, allocations: 90.53 kB / 0.9865 GB, free: 336 kB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009097/0.8587, allocations: 0.7489 MB / 0.9872 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.829e-05/0.8587, allocations: 38.56 kB / 0.9873 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=8): time 1.052e-06/0.8587, allocations: 0 / 0.9873 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of matching and sorting (n=8): time 0.0003872/0.8591, allocations: 145.6 kB / 0.9874 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.419e-05/0.8592, allocations: 55.41 kB / 0.9875 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.111e-05/0.8593, allocations: 125.7 kB / 0.9876 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.8593, allocations: 25.7 kB / 0.9876 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 6.224e-05/0.8594, allocations: 88.14 kB / 0.9877 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 2.199e-05/0.8594, allocations: 31.55 kB / 0.9877 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.701e-06/0.8594, allocations: 0 / 0.9877 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.8595, allocations: 318.8 kB / 0.988 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.586e-05/0.8596, allocations: 40 kB / 0.9881 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.816e-05/0.8597, allocations: 45.7 kB / 0.9881 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.354e-05/0.8598, allocations: 40.09 kB / 0.9881 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.8598, allocations: 3.938 kB / 0.9882 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000238/0.8601, allocations: 121.5 kB / 0.9883 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.8601, allocations: 4.188 kB / 0.9883 GB, free: 14.33 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.8601, allocations: 0 / 0.9883 GB, free: 14.33 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.8601, allocations: 7.969 kB / 0.9883 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001407/0.8603, allocations: 23.94 kB / 0.9883 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.8603, allocations: 4 kB / 0.9883 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.111e-05/0.8604, allocations: 7.984 kB / 0.9883 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.8604, allocations: 4 kB / 0.9883 GB, free: 14.29 MB / 0.7481 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 8.827e-05/0.8605, allocations: 117.8 kB / 0.9884 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.544e-05/0.8605, allocations: 3.906 kB / 0.9884 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003072/0.8608, allocations: 141.9 kB / 0.9886 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.8609, allocations: 0 / 0.9886 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.8609, allocations: 3.953 kB / 0.9886 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-06/0.8609, allocations: 0 / 0.9886 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002602/0.8611, allocations: 185.6 kB / 0.9888 GB, free: 13.78 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.8611, allocations: 4 kB / 0.9888 GB, free: 13.78 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001024/0.8613, allocations: 19.98 kB / 0.9888 GB, free: 13.76 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.8613, allocations: 0 / 0.9888 GB, free: 13.76 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.33e-05/0.8613, allocations: 8 kB / 0.9888 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.007e-06/0.8613, allocations: 3.984 kB / 0.9888 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.8613, allocations: 0 / 0.9888 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002811/0.8616, allocations: 223.8 kB / 0.989 GB, free: 13.51 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 3.988e-05/0.8616, allocations: 81.02 kB / 0.9891 GB, free: 13.41 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.064e-05/0.8617, allocations: 8 kB / 0.9891 GB, free: 13.41 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.18e-05/0.8618, allocations: 4 kB / 0.9891 GB, free: 13.4 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.611e-05/0.8618, allocations: 7.984 kB / 0.9891 GB, free: 13.39 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.219e-06/0.8618, allocations: 0 / 0.9891 GB, free: 13.39 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 6.006e-05/0.8619, allocations: 95.27 kB / 0.9892 GB, free: 13.3 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1e-07/0.8619, allocations: 3.938 kB / 0.9892 GB, free: 13.3 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002487/0.8621, allocations: 31.95 kB / 0.9892 GB, free: 13.27 MB / 0.7481 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.0007265/0.8629, allocations: 0.7591 MB / 0.99 GB, free: 12.48 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002279/0.8631, allocations: 83.94 kB / 0.99 GB, free: 12.39 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.8631, allocations: 4.062 kB / 0.99 GB, free: 12.39 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 9.579e-05/0.8632, allocations: 55.84 kB / 0.9901 GB, free: 12.34 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002034/0.8634, allocations: 0 / 0.9901 GB, free: 12.34 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006314/0.8641, allocations: 289.9 kB / 0.9904 GB, free: 12.01 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000389/0.8645, allocations: 0.6887 MB / 0.991 GB, free: 11.29 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 6.299e-05/0.8645, allocations: 12.17 kB / 0.9911 GB, free: 11.28 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.971e-05/0.8646, allocations: 27.42 kB / 0.9911 GB, free: 11.25 MB / 0.7481 GB Notification: Performance of SimCode: time 2.4e-07/0.8646, allocations: 0 / 0.9911 GB, free: 11.25 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7145/1.579, allocations: 1.948 MB / 0.993 GB, free: 9.488 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002672/1.579, allocations: 199.4 kB / 0.9932 GB, free: 9.254 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.805/3.384, allocations: 0 / 0.9932 GB, free: 9.254 MB / 0.7481 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) Environment - environmentSimulation: 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