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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001375/0.001375, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001356/0.001356, allocations: 194.5 kB / 16.14 MB, free: 6.645 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.375/1.375, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.614/2.614, allocations: 461.9 MB / 0.7342 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 67.03 kB / 0.8985 GB, free: 36.99 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2451/0.2463, allocations: 157.4 MB / 1.052 GB, free: 8.262 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.002664/0.249, allocations: 1.674 MB / 1.054 GB, free: 6.57 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003182/0.2522, allocations: 3.237 MB / 1.057 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.985e-05/0.2522, allocations: 0 / 1.057 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.343e-05/0.2523, allocations: 3.938 kB / 1.057 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.238e-05/0.2524, allocations: 15.91 kB / 1.057 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003548/0.2527, allocations: 107.6 kB / 1.057 GB, free: 3.195 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.185e-05/0.2528, allocations: 75.72 kB / 1.057 GB, free: 3.121 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 6.6e-05/0.2529, allocations: 8.188 kB / 1.057 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.019e-05/0.253, allocations: 31.91 kB / 1.057 GB, free: 3.082 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.042e-05/0.2531, allocations: 39.77 kB / 1.057 GB, free: 3.043 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.374e-05/0.2531, allocations: 4 kB / 1.057 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002329/0.2533, allocations: 99.84 kB / 1.057 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.816e-05/0.2533, allocations: 15.91 kB / 1.057 GB, free: 2.926 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.727e-05/0.2534, allocations: 27.86 kB / 1.057 GB, free: 2.898 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001978/0.2536, allocations: 123.9 kB / 1.058 GB, free: 2.777 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.2536, allocations: 3.984 kB / 1.058 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.51e-07/0.2536, allocations: 0 / 1.058 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.487e-06/0.2536, allocations: 0 / 1.058 GB, free: 2.773 MB / 0.8106 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.0004971/0.2541, allocations: 395.2 kB / 1.058 GB, free: 2.34 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.2542, allocations: 11.97 kB / 1.058 GB, free: 2.328 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.471e-05/0.2542, allocations: 38.75 kB / 1.058 GB, free: 2.281 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.121e-05/0.2542, allocations: 8.844 kB / 1.058 GB, free: 2.273 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001065/0.2543, allocations: 176.2 kB / 1.058 GB, free: 2.062 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.035e-06/0.2544, allocations: 384 / 1.058 GB, free: 2.062 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.37e-05/0.2544, allocations: 8.125 kB / 1.058 GB, free: 2.055 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001838/0.2546, allocations: 81.59 kB / 1.058 GB, free: 1.969 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-06/0.2546, allocations: 3.938 kB / 1.058 GB, free: 1.965 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.2546, allocations: 4 kB / 1.058 GB, free: 1.961 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.2546, allocations: 0 / 1.058 GB, free: 1.961 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001822/0.2548, allocations: 75.94 kB / 1.058 GB, free: 1.887 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004321/0.2552, allocations: 324.7 kB / 1.059 GB, free: 1.52 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002109/0.2555, allocations: 98.47 kB / 1.059 GB, free: 1.414 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.814e-05/0.2556, allocations: 40.84 kB / 1.059 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007296/0.2563, allocations: 0.7643 MB / 1.059 GB, free: 500 kB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.589e-05/0.2563, allocations: 30.56 kB / 1.06 GB, free: 460 kB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 1.112e-06/0.2563, allocations: 0 / 1.06 GB, free: 460 kB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.0003593/0.2567, allocations: 137.7 kB / 1.06 GB, free: 316 kB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.944e-05/0.2567, allocations: 55.39 kB / 1.06 GB, free: 248 kB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.283e-05/0.2568, allocations: 121.8 kB / 1.06 GB, free: 116 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.733e-05/0.2569, allocations: 29.7 kB / 1.06 GB, free: 80 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.727e-05/0.2569, allocations: 96.12 kB / 1.06 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.312e-05/0.257, allocations: 27.56 kB / 1.06 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.128e-05/0.257, allocations: 21.7 kB / 1.06 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.555e-05/0.2571, allocations: 318.8 kB / 1.06 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.167e-05/0.2572, allocations: 27.97 kB / 1.06 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.497e-05/0.2573, allocations: 41.7 kB / 1.06 GB, free: 15.53 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001679/0.2575, allocations: 85.62 kB / 1.06 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.2575, allocations: 0 / 1.06 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002169/0.2577, allocations: 105.6 kB / 1.061 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.2577, allocations: 11.94 kB / 1.061 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.2577, allocations: 400 / 1.061 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.2577, allocations: 3.938 kB / 1.061 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001271/0.2579, allocations: 24.02 kB / 1.061 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.381e-05/0.2579, allocations: 3.984 kB / 1.061 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.994e-05/0.258, allocations: 7.984 kB / 1.061 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.258, allocations: 4 kB / 1.061 GB, free: 15.28 MB / 0.8262 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.86e-05/0.2581, allocations: 109.8 kB / 1.061 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.153e-05/0.2581, allocations: 12.02 kB / 1.061 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000282/0.2584, allocations: 145.9 kB / 1.061 GB, free: 15 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.2584, allocations: 0 / 1.061 GB, free: 15 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.2584, allocations: 0 / 1.061 GB, free: 15 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.2584, allocations: 4 kB / 1.061 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001726/0.2586, allocations: 181.6 kB / 1.061 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.2586, allocations: 4 kB / 1.061 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001038/0.2587, allocations: 15.98 kB / 1.061 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.2587, allocations: 3.984 kB / 1.061 GB, free: 14.74 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.2587, allocations: 3.938 kB / 1.061 GB, free: 14.74 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.2587, allocations: 4 kB / 1.061 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.2587, allocations: 0 / 1.061 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002436/0.259, allocations: 207.3 kB / 1.061 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.335e-05/0.259, allocations: 84.95 kB / 1.061 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.95e-05/0.2591, allocations: 11.94 kB / 1.061 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.473e-05/0.2592, allocations: 3.984 kB / 1.061 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.465e-05/0.2592, allocations: 8 kB / 1.061 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.628e-06/0.2592, allocations: 11.98 kB / 1.061 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.857e-05/0.2593, allocations: 87.28 kB / 1.061 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.2593, allocations: 0 / 1.061 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000238/0.2595, allocations: 23.98 kB / 1.061 GB, free: 14.27 MB / 0.8262 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.0005698/0.2601, allocations: 0.7553 MB / 1.062 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002041/0.2603, allocations: 75.89 kB / 1.062 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.2603, allocations: 0 / 1.062 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.889e-05/0.2604, allocations: 47.91 kB / 1.062 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002748/0.2607, allocations: 12.83 kB / 1.062 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005117/0.2612, allocations: 273.2 kB / 1.063 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000224/0.2615, allocations: 0.6888 MB / 1.063 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.315e-05/0.2615, allocations: 11.92 kB / 1.063 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.502e-05/0.2616, allocations: 19.44 kB / 1.063 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of SimCode: time 2.11e-07/0.2616, allocations: 0 / 1.063 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1779/0.4394, allocations: 2.046 MB / 1.065 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002307/0.4397, allocations: 226.1 kB / 1.066 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.705/2.144, allocations: 0 / 1.066 GB, free: 10.15 MB / 0.8262 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/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) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches