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.00723/0.00723, allocations: 101.4 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.001825/0.001825, allocations: 186.9 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.269/1.269, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.16/2.16, allocations: 390.2 MB / 0.6648 GB, free: 200 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 64.03 kB / 0.9504 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2251/0.2263, allocations: 140.4 MB / 1.088 GB, free: 2.012 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.002643/0.229, allocations: 1.599 MB / 1.089 GB, free: 408 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.004189/0.2332, allocations: 3.261 MB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.622e-05/0.2333, allocations: 0 / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.264e-05/0.2333, allocations: 7.875 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.347e-05/0.2334, allocations: 11.86 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004709/0.2339, allocations: 119.5 kB / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001133/0.234, allocations: 83.69 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.013e-05/0.2341, allocations: 12.17 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001074/0.2342, allocations: 39.84 kB / 1.093 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.729e-05/0.2343, allocations: 39.83 kB / 1.093 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.538e-05/0.2343, allocations: 8 kB / 1.093 GB, free: 12.81 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002785/0.2346, allocations: 107.8 kB / 1.093 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.843e-05/0.2347, allocations: 15.92 kB / 1.093 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.075e-05/0.2347, allocations: 27.86 kB / 1.093 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002231/0.2349, allocations: 118.5 kB / 1.093 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.2349, allocations: 3.938 kB / 1.093 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.322e-06/0.235, allocations: 0 / 1.093 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.616e-06/0.235, allocations: 0 / 1.093 GB, free: 12.54 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.0006175/0.2356, allocations: 396.1 kB / 1.093 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.402e-05/0.2357, allocations: 12.03 kB / 1.093 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.235e-05/0.2357, allocations: 38.69 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.332e-05/0.2358, allocations: 8.844 kB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001362/0.2359, allocations: 180 kB / 1.093 GB, free: 11.83 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.2359, allocations: 4 kB / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.048e-05/0.2359, allocations: 4 kB / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002287/0.2362, allocations: 77.64 kB / 1.094 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.2362, allocations: 0 / 1.094 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.776e-05/0.2362, allocations: 4 kB / 1.094 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.2362, allocations: 4 kB / 1.094 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002143/0.2365, allocations: 79.88 kB / 1.094 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005124/0.237, allocations: 316.7 kB / 1.094 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002233/0.2372, allocations: 90.55 kB / 1.094 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001027/0.2373, allocations: 48.83 kB / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007642/0.2381, allocations: 0.7605 MB / 1.095 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.506e-05/0.2381, allocations: 38.5 kB / 1.095 GB, free: 10.22 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.362e-06/0.2381, allocations: 4 kB / 1.095 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0003849/0.2385, allocations: 129.5 kB / 1.095 GB, free: 10.08 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.418e-05/0.2386, allocations: 55.41 kB / 1.095 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.548e-05/0.2387, allocations: 121.8 kB / 1.095 GB, free: 9.887 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.573e-05/0.2387, allocations: 25.7 kB / 1.095 GB, free: 9.855 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.298e-05/0.2388, allocations: 88.14 kB / 1.095 GB, free: 9.766 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.636e-05/0.2388, allocations: 39.56 kB / 1.095 GB, free: 9.727 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.96e-05/0.2388, allocations: 25.66 kB / 1.095 GB, free: 9.695 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.304e-05/0.2389, allocations: 322.8 kB / 1.096 GB, free: 9.371 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.737e-05/0.239, allocations: 27.98 kB / 1.096 GB, free: 9.344 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.702e-05/0.2391, allocations: 45.69 kB / 1.096 GB, free: 9.293 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001774/0.2393, allocations: 81.69 kB / 1.096 GB, free: 9.207 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.2393, allocations: 0 / 1.096 GB, free: 9.207 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002322/0.2396, allocations: 113.4 kB / 1.096 GB, free: 9.09 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.2396, allocations: 4 kB / 1.096 GB, free: 9.086 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.2396, allocations: 112 / 1.096 GB, free: 9.086 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.2396, allocations: 3.938 kB / 1.096 GB, free: 9.082 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001378/0.2398, allocations: 23.98 kB / 1.096 GB, free: 9.059 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.2398, allocations: 3.938 kB / 1.096 GB, free: 9.055 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.181e-05/0.2398, allocations: 12.02 kB / 1.096 GB, free: 9.043 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.082e-05/0.2399, allocations: 4 kB / 1.096 GB, free: 9.039 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 7.853e-05/0.2399, allocations: 113.8 kB / 1.096 GB, free: 8.918 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.308e-05/0.24, allocations: 11.84 kB / 1.096 GB, free: 8.906 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002883/0.2403, allocations: 118.4 kB / 1.096 GB, free: 8.781 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.197e-06/0.2403, allocations: 4 kB / 1.096 GB, free: 8.777 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.2403, allocations: 11.98 kB / 1.096 GB, free: 8.766 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.2403, allocations: 3.984 kB / 1.096 GB, free: 8.762 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001819/0.2405, allocations: 185.6 kB / 1.096 GB, free: 8.531 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.2405, allocations: 0 / 1.096 GB, free: 8.531 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000113/0.2406, allocations: 23.86 kB / 1.096 GB, free: 8.508 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.2406, allocations: 0 / 1.096 GB, free: 8.508 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.2407, allocations: 4 kB / 1.096 GB, free: 8.504 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.2407, allocations: 4.188 kB / 1.096 GB, free: 8.5 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.2407, allocations: 80 / 1.096 GB, free: 8.5 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002581/0.2409, allocations: 211.3 kB / 1.097 GB, free: 8.277 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.581e-05/0.241, allocations: 84.95 kB / 1.097 GB, free: 8.176 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.618e-05/0.241, allocations: 4 kB / 1.097 GB, free: 8.172 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.799e-05/0.2411, allocations: 8 kB / 1.097 GB, free: 8.164 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.217e-05/0.2412, allocations: 3.984 kB / 1.097 GB, free: 8.16 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-06/0.2412, allocations: 4 kB / 1.097 GB, free: 8.156 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.997e-05/0.2412, allocations: 95.64 kB / 1.097 GB, free: 8.062 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2412, allocations: 7.938 kB / 1.097 GB, free: 8.055 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002515/0.2415, allocations: 20 kB / 1.097 GB, free: 8.035 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.0005964/0.2421, allocations: 0.7591 MB / 1.098 GB, free: 7.25 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002345/0.2423, allocations: 75.89 kB / 1.098 GB, free: 7.176 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.2423, allocations: 0 / 1.098 GB, free: 7.176 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.872e-05/0.2424, allocations: 43.95 kB / 1.098 GB, free: 7.133 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002922/0.2427, allocations: 8 kB / 1.098 GB, free: 7.125 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005625/0.2433, allocations: 255.6 kB / 1.098 GB, free: 6.832 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002071/0.2435, allocations: 0.6885 MB / 1.099 GB, free: 6.117 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 5.619e-05/0.2436, allocations: 7.75 kB / 1.099 GB, free: 6.109 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.287e-05/0.2437, allocations: 27.42 kB / 1.099 GB, free: 6.082 MB / 0.8575 GB Notification: Performance of SimCode: time 2.21e-07/0.2437, allocations: 0 / 1.099 GB, free: 6.082 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01703/0.2607, allocations: 2.253 MB / 1.101 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.138/7.399, allocations: 12.25 kB / 1.101 GB, free: 3.945 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