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.001377/0.001377, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.01001/0.01001, allocations: 170.2 kB / 16.26 MB, free: 6.613 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.338/1.338, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.672/2.672, allocations: 462.6 MB / 0.7364 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003566/0.0003566, allocations: 13.98 kB / 0.9029 GB, free: 36.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2993/0.2997, allocations: 159.6 MB / 1.059 GB, free: 4.883 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.001783/0.3016, allocations: 1.323 MB / 1.06 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003563/0.3051, allocations: 3.202 MB / 1.063 GB, free: 340 kB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.847e-05/0.3052, allocations: 0 / 1.063 GB, free: 340 kB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.486e-05/0.3052, allocations: 3.984 kB / 1.063 GB, free: 336 kB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.681e-05/0.3053, allocations: 11.86 kB / 1.063 GB, free: 324 kB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004286/0.3057, allocations: 111.6 kB / 1.063 GB, free: 212 kB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.5e-05/0.3059, allocations: 71.72 kB / 1.063 GB, free: 140 kB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.07e-05/0.3059, allocations: 12.17 kB / 1.063 GB, free: 128 kB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.793e-05/0.306, allocations: 31.86 kB / 1.063 GB, free: 96 kB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.865e-05/0.3061, allocations: 39.83 kB / 1.063 GB, free: 56 kB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.505e-05/0.3062, allocations: 8 kB / 1.063 GB, free: 48 kB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000273/0.3064, allocations: 95.89 kB / 1.064 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.619e-05/0.3065, allocations: 15.8 kB / 1.064 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.963e-05/0.3065, allocations: 49.56 kB / 1.064 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002003/0.3067, allocations: 115.9 kB / 1.064 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.3068, allocations: 0 / 1.064 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.024e-06/0.3068, allocations: 0 / 1.064 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.3068, allocations: 0 / 1.064 GB, free: 15.77 MB / 0.8262 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.0005625/0.3073, allocations: 399.1 kB / 1.064 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.3074, allocations: 11.97 kB / 1.064 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.428e-05/0.3074, allocations: 38.73 kB / 1.064 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.932e-05/0.3075, allocations: 4.938 kB / 1.064 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001189/0.3076, allocations: 176.2 kB / 1.064 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.087e-06/0.3076, allocations: 4.375 kB / 1.064 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.835e-05/0.3076, allocations: 8.125 kB / 1.064 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002121/0.3079, allocations: 89.64 kB / 1.064 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.3079, allocations: 0 / 1.064 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.3079, allocations: 0 / 1.064 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.3079, allocations: 0 / 1.064 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002009/0.3081, allocations: 87.89 kB / 1.065 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004779/0.3086, allocations: 328.6 kB / 1.065 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002201/0.3088, allocations: 94.53 kB / 1.065 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001133/0.3089, allocations: 49.03 kB / 1.065 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007368/0.3097, allocations: 0.7487 MB / 1.066 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.514e-05/0.3097, allocations: 38.56 kB / 1.066 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 1.213e-06/0.3097, allocations: 0 / 1.066 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.0004132/0.3102, allocations: 149.5 kB / 1.066 GB, free: 13.28 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.15e-05/0.3102, allocations: 51.41 kB / 1.066 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001055/0.3103, allocations: 125.8 kB / 1.066 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.879e-05/0.3103, allocations: 25.7 kB / 1.066 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.204e-05/0.3104, allocations: 96.02 kB / 1.066 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.522e-05/0.3104, allocations: 23.66 kB / 1.066 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.761e-05/0.3105, allocations: 21.72 kB / 1.066 GB, free: 12.9 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.3106, allocations: 318.8 kB / 1.067 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.867e-05/0.3107, allocations: 27.98 kB / 1.067 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.994e-05/0.3108, allocations: 53.69 kB / 1.067 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001888/0.311, allocations: 85.69 kB / 1.067 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.311, allocations: 0 / 1.067 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002355/0.3112, allocations: 121.5 kB / 1.067 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.3113, allocations: 8 kB / 1.067 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.3113, allocations: 0 / 1.067 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.3113, allocations: 3.938 kB / 1.067 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000133/0.3114, allocations: 23.92 kB / 1.067 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.3114, allocations: 4 kB / 1.067 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.275e-05/0.3115, allocations: 11.89 kB / 1.067 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.799e-06/0.3115, allocations: 8.609 kB / 1.067 GB, free: 12.22 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 8.029e-05/0.3116, allocations: 109.8 kB / 1.067 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.639e-05/0.3117, allocations: 8.047 kB / 1.067 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003095/0.312, allocations: 149.8 kB / 1.067 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.312, allocations: 0 / 1.067 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.312, allocations: 3.984 kB / 1.067 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.312, allocations: 0 / 1.067 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001888/0.3122, allocations: 189.6 kB / 1.067 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.3122, allocations: 0 / 1.067 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000102/0.3123, allocations: 19.98 kB / 1.067 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.3123, allocations: 0 / 1.067 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/0.3123, allocations: 7.938 kB / 1.067 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.3124, allocations: 4 kB / 1.067 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.3124, allocations: 4 kB / 1.067 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002953/0.3127, allocations: 211.4 kB / 1.068 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.362e-05/0.3127, allocations: 81.05 kB / 1.068 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.232e-05/0.3127, allocations: 11.94 kB / 1.068 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.231e-05/0.3128, allocations: 8 kB / 1.068 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.263e-05/0.3129, allocations: 7.984 kB / 1.068 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-06/0.3129, allocations: 3.938 kB / 1.068 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.376e-05/0.313, allocations: 95.7 kB / 1.068 GB, free: 11.22 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.313, allocations: 0 / 1.068 GB, free: 11.22 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002496/0.3132, allocations: 23.91 kB / 1.068 GB, free: 11.2 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.0006878/0.3139, allocations: 0.7516 MB / 1.068 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002565/0.3142, allocations: 95.81 kB / 1.069 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3142, allocations: 0 / 1.069 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001083/0.3143, allocations: 47.97 kB / 1.069 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003126/0.3146, allocations: 6.578 kB / 1.069 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000631/0.3153, allocations: 305.8 kB / 1.069 GB, free: 9.938 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003194/0.3156, allocations: 0.6887 MB / 1.07 GB, free: 9.223 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.308e-05/0.3157, allocations: 15.97 kB / 1.07 GB, free: 9.207 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.202e-05/0.3157, allocations: 19.44 kB / 1.07 GB, free: 9.188 MB / 0.8262 GB Notification: Performance of SimCode: time 5.31e-07/0.3157, allocations: 0 / 1.07 GB, free: 9.188 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01267/0.3284, allocations: 1.977 MB / 1.072 GB, free: 7.391 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001964/0.3286, allocations: 233.6 kB / 1.072 GB, free: 7.129 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.757/2.086, allocations: 1 kB / 1.072 GB, free: 7.129 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