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.001488/0.001494, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00251/0.00251, allocations: 200.5 kB / 16.26 MB, free: 6.621 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.368/1.368, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.668/2.668, allocations: 461.9 MB / 0.7344 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001404, allocations: 64.62 kB / 0.8987 GB, free: 37.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2561/0.2575, allocations: 157.4 MB / 1.052 GB, free: 8.594 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.002716/0.2602, allocations: 1.658 MB / 1.054 GB, free: 6.918 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003376/0.2636, allocations: 3.218 MB / 1.057 GB, free: 3.688 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.645e-05/0.2637, allocations: 0 / 1.057 GB, free: 3.688 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.129e-05/0.2638, allocations: 15.86 kB / 1.057 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.649e-05/0.2639, allocations: 11.92 kB / 1.057 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004771/0.2643, allocations: 111.6 kB / 1.057 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001066/0.2645, allocations: 75.72 kB / 1.057 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.734e-05/0.2646, allocations: 24.16 kB / 1.057 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001101/0.2647, allocations: 39.84 kB / 1.057 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.266e-05/0.2648, allocations: 35.84 kB / 1.057 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.453e-05/0.2648, allocations: 4 kB / 1.057 GB, free: 3.375 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002802/0.2651, allocations: 103.8 kB / 1.058 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.098e-05/0.2651, allocations: 23.91 kB / 1.058 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.43e-05/0.2652, allocations: 27.86 kB / 1.058 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002202/0.2654, allocations: 123.9 kB / 1.058 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.2654, allocations: 0 / 1.058 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.833e-06/0.2654, allocations: 4 kB / 1.058 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.2654, allocations: 0 / 1.058 GB, free: 3.098 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.0005189/0.2659, allocations: 387.2 kB / 1.058 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.266, allocations: 8.625 kB / 1.058 GB, free: 2.664 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.654e-05/0.266, allocations: 38.75 kB / 1.058 GB, free: 2.617 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.495e-05/0.2661, allocations: 8.844 kB / 1.058 GB, free: 2.609 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001107/0.2662, allocations: 176.2 kB / 1.058 GB, free: 2.398 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.874e-06/0.2662, allocations: 8.312 kB / 1.058 GB, free: 2.391 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.842e-05/0.2662, allocations: 12.12 kB / 1.058 GB, free: 2.379 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001922/0.2664, allocations: 73.66 kB / 1.058 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.2664, allocations: 0 / 1.058 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.2665, allocations: 0 / 1.058 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.2665, allocations: 0 / 1.058 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001819/0.2666, allocations: 75.94 kB / 1.059 GB, free: 2.227 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004422/0.2671, allocations: 328.7 kB / 1.059 GB, free: 1.855 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002093/0.2673, allocations: 98.48 kB / 1.059 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.338e-05/0.2674, allocations: 40.84 kB / 1.059 GB, free: 1.707 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000728/0.2682, allocations: 0.7604 MB / 1.06 GB, free: 0.8281 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.633e-05/0.2682, allocations: 30.56 kB / 1.06 GB, free: 0.7891 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 1.292e-06/0.2682, allocations: 0 / 1.06 GB, free: 0.7891 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.0003692/0.2686, allocations: 153.7 kB / 1.06 GB, free: 0.6328 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.115e-05/0.2686, allocations: 51.41 kB / 1.06 GB, free: 0.5703 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.294e-05/0.2687, allocations: 125.8 kB / 1.06 GB, free: 448 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.366e-05/0.2687, allocations: 25.7 kB / 1.06 GB, free: 416 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.6e-05/0.2688, allocations: 88.14 kB / 1.06 GB, free: 324 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.248e-05/0.2688, allocations: 31.55 kB / 1.06 GB, free: 292 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.931e-05/0.2688, allocations: 21.66 kB / 1.06 GB, free: 264 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.819e-05/0.2689, allocations: 322.8 kB / 1.061 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.409e-05/0.269, allocations: 31.98 kB / 1.061 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000107/0.2691, allocations: 41.69 kB / 1.061 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001589/0.2693, allocations: 77.62 kB / 1.061 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.2693, allocations: 8 kB / 1.061 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002198/0.2695, allocations: 113.5 kB / 1.061 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.2696, allocations: 8 kB / 1.061 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.2696, allocations: 0 / 1.061 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.2696, allocations: 3.938 kB / 1.061 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001278/0.2697, allocations: 19.98 kB / 1.061 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.2697, allocations: 0 / 1.061 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.174e-05/0.2698, allocations: 8 kB / 1.061 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/0.2698, allocations: 4.109 kB / 1.061 GB, free: 15.61 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 7.375e-05/0.2699, allocations: 123.3 kB / 1.061 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.891e-05/0.2699, allocations: 7.906 kB / 1.061 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002735/0.2702, allocations: 125.9 kB / 1.061 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.2702, allocations: 3.984 kB / 1.061 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.2702, allocations: 0 / 1.061 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.2703, allocations: 0 / 1.061 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001674/0.2704, allocations: 193.6 kB / 1.061 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.2704, allocations: 0 / 1.061 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001021/0.2705, allocations: 19.98 kB / 1.061 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.2706, allocations: 0 / 1.061 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.2706, allocations: 3.938 kB / 1.061 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.2706, allocations: 0 / 1.061 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2706, allocations: 192 / 1.061 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002442/0.2708, allocations: 215.3 kB / 1.061 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.652e-05/0.2709, allocations: 88.89 kB / 1.062 GB, free: 14.74 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.933e-05/0.2709, allocations: 7.922 kB / 1.062 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.188e-05/0.271, allocations: 4 kB / 1.062 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.37e-05/0.271, allocations: 11.98 kB / 1.062 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.304e-06/0.2711, allocations: 4 kB / 1.062 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.49e-05/0.2711, allocations: 95.64 kB / 1.062 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2711, allocations: 0 / 1.062 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000246/0.2714, allocations: 20 kB / 1.062 GB, free: 14.6 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.0005518/0.2719, allocations: 0.7519 MB / 1.062 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002302/0.2722, allocations: 95.94 kB / 1.063 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.2722, allocations: 0 / 1.063 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.904e-05/0.2723, allocations: 35.98 kB / 1.063 GB, free: 13.69 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002906/0.2726, allocations: 15.92 kB / 1.063 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005362/0.2731, allocations: 267.6 kB / 1.063 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002046/0.2733, allocations: 0.6924 MB / 1.064 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.166e-05/0.2734, allocations: 8 kB / 1.064 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.926e-05/0.2734, allocations: 23.42 kB / 1.064 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of SimCode: time 2.6e-07/0.2735, allocations: 0 / 1.064 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.274/1.547, allocations: 2.094 MB / 1.066 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002961/1.548, allocations: 234 kB / 1.066 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.693/4.24, allocations: 0 / 1.066 GB, free: 10.44 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