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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001254/0.001254, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001266/0.001266, allocations: 196.3 kB / 16.53 MB, free: 6.664 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.243/1.243, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.514/2.514, allocations: 461.9 MB / 0.7347 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 65.23 kB / 0.8992 GB, free: 36.94 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2436/0.2449, allocations: 157.4 MB / 1.053 GB, free: 8.238 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.002633/0.2475, allocations: 1.609 MB / 1.054 GB, free: 6.613 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003285/0.2508, allocations: 3.264 MB / 1.058 GB, free: 3.336 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.822e-05/0.2509, allocations: 0 / 1.058 GB, free: 3.336 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.828e-05/0.2509, allocations: 3.938 kB / 1.058 GB, free: 3.332 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.148e-05/0.251, allocations: 19.84 kB / 1.058 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003982/0.2514, allocations: 111.5 kB / 1.058 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.637e-05/0.2515, allocations: 87.69 kB / 1.058 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.632e-05/0.2516, allocations: 8.188 kB / 1.058 GB, free: 3.109 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.713e-05/0.2517, allocations: 39.86 kB / 1.058 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.077e-05/0.2518, allocations: 43.81 kB / 1.058 GB, free: 3.027 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.5e-05/0.2518, allocations: 4 kB / 1.058 GB, free: 3.023 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002541/0.2521, allocations: 107.8 kB / 1.058 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.685e-05/0.2521, allocations: 11.94 kB / 1.058 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.349e-05/0.2521, allocations: 35.84 kB / 1.058 GB, free: 2.871 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001991/0.2524, allocations: 119.9 kB / 1.058 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.2524, allocations: 0 / 1.058 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.172e-06/0.2524, allocations: 0 / 1.058 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.508e-06/0.2524, allocations: 0 / 1.058 GB, free: 2.754 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.0004946/0.2529, allocations: 392.5 kB / 1.059 GB, free: 2.324 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.2529, allocations: 12.62 kB / 1.059 GB, free: 2.312 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.464e-05/0.253, allocations: 42.67 kB / 1.059 GB, free: 2.262 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.891e-05/0.253, allocations: 8.844 kB / 1.059 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001042/0.2531, allocations: 180.2 kB / 1.059 GB, free: 2.039 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.2531, allocations: 4.375 kB / 1.059 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.276e-05/0.2531, allocations: 8.125 kB / 1.059 GB, free: 2.027 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001903/0.2533, allocations: 81.64 kB / 1.059 GB, free: 1.941 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.2533, allocations: 0 / 1.059 GB, free: 1.941 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.2534, allocations: 0 / 1.059 GB, free: 1.941 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.2534, allocations: 4 kB / 1.059 GB, free: 1.938 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001888/0.2536, allocations: 79.88 kB / 1.059 GB, free: 1.859 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004318/0.254, allocations: 320.7 kB / 1.059 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000215/0.2542, allocations: 90.48 kB / 1.059 GB, free: 1.398 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.754e-05/0.2543, allocations: 48.83 kB / 1.059 GB, free: 1.348 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007619/0.2551, allocations: 0.7606 MB / 1.06 GB, free: 480 kB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.017e-05/0.2551, allocations: 34.56 kB / 1.06 GB, free: 436 kB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 1.363e-06/0.2552, allocations: 0 / 1.06 GB, free: 436 kB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.0003599/0.2555, allocations: 133.5 kB / 1.06 GB, free: 296 kB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.496e-05/0.2556, allocations: 51.41 kB / 1.06 GB, free: 232 kB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.93e-05/0.2556, allocations: 125.8 kB / 1.061 GB, free: 96 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.583e-05/0.2557, allocations: 29.8 kB / 1.061 GB, free: 60 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.173e-05/0.2557, allocations: 96.08 kB / 1.061 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.32e-05/0.2558, allocations: 35.53 kB / 1.061 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.923e-05/0.2558, allocations: 17.72 kB / 1.061 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.106e-05/0.2559, allocations: 318.8 kB / 1.061 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.726e-05/0.256, allocations: 23.98 kB / 1.061 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.718e-05/0.2561, allocations: 49.69 kB / 1.061 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001655/0.2563, allocations: 78 kB / 1.061 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.2563, allocations: 0 / 1.061 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002311/0.2565, allocations: 117.5 kB / 1.061 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.2565, allocations: 4 kB / 1.061 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.2565, allocations: 4 kB / 1.061 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.2566, allocations: 3.938 kB / 1.061 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001326/0.2567, allocations: 20.02 kB / 1.061 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.309e-06/0.2567, allocations: 7.938 kB / 1.061 GB, free: 15.26 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.348e-05/0.2568, allocations: 11.97 kB / 1.061 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/0.2568, allocations: 112 / 1.061 GB, free: 15.25 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.732e-05/0.2569, allocations: 117.8 kB / 1.061 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.132e-05/0.2569, allocations: 7.906 kB / 1.061 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002773/0.2572, allocations: 130.1 kB / 1.062 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.2572, allocations: 0 / 1.062 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.2572, allocations: 3.984 kB / 1.062 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.2572, allocations: 0 / 1.062 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001687/0.2574, allocations: 189.6 kB / 1.062 GB, free: 14.74 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.2574, allocations: 3.938 kB / 1.062 GB, free: 14.74 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001084/0.2575, allocations: 19.98 kB / 1.062 GB, free: 14.72 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.2575, allocations: 0 / 1.062 GB, free: 14.72 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.2575, allocations: 7.938 kB / 1.062 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.2575, allocations: 0 / 1.062 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.2575, allocations: 4 kB / 1.062 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002456/0.2578, allocations: 199.4 kB / 1.062 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.585e-05/0.2578, allocations: 88.95 kB / 1.062 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.928e-05/0.2579, allocations: 7.938 kB / 1.062 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.418e-05/0.258, allocations: 4 kB / 1.062 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.392e-05/0.258, allocations: 7.984 kB / 1.062 GB, free: 14.37 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.762e-06/0.258, allocations: 4 kB / 1.062 GB, free: 14.37 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.613e-05/0.2581, allocations: 103.2 kB / 1.062 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2581, allocations: 0 / 1.062 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002396/0.2583, allocations: 16 kB / 1.062 GB, free: 14.25 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.0005445/0.2589, allocations: 0.7514 MB / 1.063 GB, free: 13.47 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002229/0.2591, allocations: 91.83 kB / 1.063 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.2591, allocations: 0 / 1.063 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.279e-05/0.2592, allocations: 43.91 kB / 1.063 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002638/0.2595, allocations: 11.94 kB / 1.063 GB, free: 13.33 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005224/0.26, allocations: 244.3 kB / 1.063 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002166/0.2602, allocations: 0.6885 MB / 1.064 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.884e-05/0.2603, allocations: 15.92 kB / 1.064 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.757e-05/0.2604, allocations: 23.42 kB / 1.064 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.2604, allocations: 0 / 1.064 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.035/2.295, allocations: 2.219 MB / 1.066 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.81/13.11, allocations: 0 / 1.066 GB, free: 10.21 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