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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.005628/0.005628, allocations: 99.86 kB / 15.73 MB, free: 6.043 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.001384/0.001384, allocations: 185.5 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.283/1.283, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.203/2.203, allocations: 390.2 MB / 0.6648 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 63.25 kB / 0.9504 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2328/0.234, allocations: 140.4 MB / 1.088 GB, free: 1.957 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.002633/0.2367, allocations: 1.602 MB / 1.089 GB, free: 352 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.003545/0.2403, allocations: 3.254 MB / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.94e-05/0.2404, allocations: 0 / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.523e-05/0.2404, allocations: 7.938 kB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.097e-05/0.2405, allocations: 15.84 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004674/0.241, allocations: 119.5 kB / 1.092 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001064/0.2411, allocations: 79.7 kB / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.866e-05/0.2412, allocations: 12.17 kB / 1.092 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001083/0.2413, allocations: 35.86 kB / 1.093 GB, free: 12.81 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.615e-05/0.2414, allocations: 39.83 kB / 1.093 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.457e-05/0.2414, allocations: 4 kB / 1.093 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002873/0.2417, allocations: 107.8 kB / 1.093 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.801e-05/0.2418, allocations: 15.92 kB / 1.093 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.008e-05/0.2418, allocations: 35.84 kB / 1.093 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002211/0.242, allocations: 126.5 kB / 1.093 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.242, allocations: 0 / 1.093 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.273e-06/0.242, allocations: 0 / 1.093 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.2421, allocations: 0 / 1.093 GB, free: 12.49 MB / 0.8575 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.0005447/0.2426, allocations: 394 kB / 1.093 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.2427, allocations: 8.031 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.531e-05/0.2427, allocations: 34.75 kB / 1.093 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.322e-05/0.2427, allocations: 12.84 kB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001128/0.2428, allocations: 183.9 kB / 1.093 GB, free: 11.78 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.358e-06/0.2429, allocations: 4 kB / 1.093 GB, free: 11.78 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.633e-05/0.2429, allocations: 4 kB / 1.093 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001907/0.2431, allocations: 77.66 kB / 1.094 GB, free: 11.69 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.2431, allocations: 3.938 kB / 1.094 GB, free: 11.69 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.2431, allocations: 0 / 1.094 GB, free: 11.69 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.2431, allocations: 0 / 1.094 GB, free: 11.69 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001915/0.2433, allocations: 83.88 kB / 1.094 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004359/0.2438, allocations: 320.7 kB / 1.094 GB, free: 11.24 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002105/0.244, allocations: 90.53 kB / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.469e-05/0.2441, allocations: 40.84 kB / 1.094 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007152/0.2448, allocations: 0.7683 MB / 1.095 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/0.2448, allocations: 38.5 kB / 1.095 GB, free: 10.17 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.052e-06/0.2449, allocations: 0 / 1.095 GB, free: 10.17 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0003679/0.2452, allocations: 137.5 kB / 1.095 GB, free: 10.03 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.085e-05/0.2453, allocations: 51.41 kB / 1.095 GB, free: 9.965 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.863e-05/0.2454, allocations: 121.8 kB / 1.095 GB, free: 9.836 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.268e-05/0.2454, allocations: 25.7 kB / 1.095 GB, free: 9.805 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.83e-05/0.2454, allocations: 92.12 kB / 1.095 GB, free: 9.711 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.093e-05/0.2455, allocations: 31.55 kB / 1.095 GB, free: 9.68 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.292e-05/0.2455, allocations: 29.7 kB / 1.095 GB, free: 9.645 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.492e-05/0.2456, allocations: 318.8 kB / 1.096 GB, free: 9.324 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.39e-05/0.2457, allocations: 32.02 kB / 1.096 GB, free: 9.293 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.842e-05/0.2458, allocations: 37.7 kB / 1.096 GB, free: 9.25 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001671/0.2459, allocations: 81.69 kB / 1.096 GB, free: 9.164 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.246, allocations: 112 / 1.096 GB, free: 9.164 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002228/0.2462, allocations: 121.4 kB / 1.096 GB, free: 9.039 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.2462, allocations: 8 kB / 1.096 GB, free: 9.031 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.2462, allocations: 0 / 1.096 GB, free: 9.031 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.2462, allocations: 7.969 kB / 1.096 GB, free: 9.023 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001369/0.2464, allocations: 19.98 kB / 1.096 GB, free: 9.004 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.2464, allocations: 0 / 1.096 GB, free: 9.004 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.723e-05/0.2465, allocations: 4.031 kB / 1.096 GB, free: 9 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.103e-05/0.2465, allocations: 12 kB / 1.096 GB, free: 8.988 MB / 0.8575 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.981e-05/0.2466, allocations: 115.8 kB / 1.096 GB, free: 8.867 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.254e-05/0.2466, allocations: 11.84 kB / 1.096 GB, free: 8.855 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002794/0.2469, allocations: 130.1 kB / 1.096 GB, free: 8.719 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.2469, allocations: 0 / 1.096 GB, free: 8.719 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.2469, allocations: 0 / 1.096 GB, free: 8.719 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.2469, allocations: 4 kB / 1.096 GB, free: 8.715 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001669/0.2471, allocations: 189.6 kB / 1.096 GB, free: 8.48 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.2471, allocations: 0 / 1.096 GB, free: 8.48 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001067/0.2472, allocations: 31.86 kB / 1.096 GB, free: 8.449 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.2472, allocations: 0 / 1.096 GB, free: 8.449 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.949e-06/0.2472, allocations: 0 / 1.096 GB, free: 8.449 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.2472, allocations: 0 / 1.096 GB, free: 8.449 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.2472, allocations: 0 / 1.096 GB, free: 8.449 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002501/0.2475, allocations: 203.4 kB / 1.097 GB, free: 8.234 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.505e-05/0.2475, allocations: 84.95 kB / 1.097 GB, free: 8.133 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.449e-05/0.2476, allocations: 0 / 1.097 GB, free: 8.133 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.393e-05/0.2477, allocations: 11.98 kB / 1.097 GB, free: 8.121 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.778e-05/0.2477, allocations: 4 kB / 1.097 GB, free: 8.117 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.775e-06/0.2477, allocations: 3.984 kB / 1.097 GB, free: 8.113 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.482e-05/0.2478, allocations: 91.72 kB / 1.097 GB, free: 8.023 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.333e-06/0.2478, allocations: 0 / 1.097 GB, free: 8.023 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002461/0.248, allocations: 31.92 kB / 1.097 GB, free: 7.992 MB / 0.8575 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005655/0.2486, allocations: 0.7558 MB / 1.097 GB, free: 7.211 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002242/0.2488, allocations: 87.94 kB / 1.098 GB, free: 7.125 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.2488, allocations: 0 / 1.098 GB, free: 7.125 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.995e-05/0.2489, allocations: 39.98 kB / 1.098 GB, free: 7.086 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002913/0.2492, allocations: 4.328 kB / 1.098 GB, free: 7.082 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000549/0.2498, allocations: 255.6 kB / 1.098 GB, free: 6.789 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001956/0.25, allocations: 0.6885 MB / 1.099 GB, free: 6.074 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 5.472e-05/0.2501, allocations: 11.67 kB / 1.099 GB, free: 6.062 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.815e-05/0.2501, allocations: 19.44 kB / 1.099 GB, free: 6.043 MB / 0.8575 GB Notification: Performance of SimCode: time 4.31e-07/0.2501, allocations: 4 kB / 1.099 GB, free: 6.039 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01712/0.2672, allocations: 2.275 MB / 1.101 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.224/7.491, allocations: 12.12 kB / 1.101 GB, free: 3.879 MB / 0.8575 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/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) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches