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: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rayleighNumber.Ra|rayleighNumber.Gr|rayleighNumber.Pr",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rayleighNumber.Ra|rayleighNumber.Gr|rayleighNumber.Pr",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006622/0.006622, allocations: 98.09 kB / 15.73 MB, free: 6.051 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.001548/0.001548, allocations: 194.9 kB / 16.67 MB, free: 5.973 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.344/1.344, 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.353/2.353, allocations: 390.2 MB / 0.6648 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 68.61 kB / 0.9509 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2533/0.2546, allocations: 140.4 MB / 1.088 GB, free: 1.473 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.002653/0.2573, allocations: 1.601 MB / 1.09 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003483/0.2608, allocations: 3.261 MB / 1.093 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.767e-05/0.2608, allocations: 0 / 1.093 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.572e-05/0.2609, allocations: 11.94 kB / 1.093 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.961e-05/0.261, allocations: 11.86 kB / 1.093 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004725/0.2615, allocations: 119.5 kB / 1.093 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001075/0.2616, allocations: 79.7 kB / 1.093 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.555e-05/0.2617, allocations: 16.17 kB / 1.093 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.947e-05/0.2618, allocations: 39.84 kB / 1.093 GB, free: 12.31 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.52e-05/0.2619, allocations: 35.84 kB / 1.093 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.509e-05/0.2619, allocations: 8 kB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002744/0.2622, allocations: 107.8 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.3e-05/0.2622, allocations: 15.92 kB / 1.093 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.268e-05/0.2623, allocations: 27.86 kB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002253/0.2625, allocations: 119.7 kB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.2625, allocations: 0 / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.202e-06/0.2625, allocations: 7.938 kB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.82e-06/0.2626, allocations: 4 kB / 1.093 GB, free: 11.99 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.0005718/0.2631, allocations: 387.2 kB / 1.094 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.2632, allocations: 15.97 kB / 1.094 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.026e-05/0.2632, allocations: 8.844 kB / 1.094 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001104/0.2633, allocations: 172.2 kB / 1.094 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/0.2634, allocations: 11.94 kB / 1.094 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.425e-05/0.2634, allocations: 8 kB / 1.094 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001923/0.2636, allocations: 77.64 kB / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.2636, allocations: 0 / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.2636, allocations: 4 kB / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.2636, allocations: 0 / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001879/0.2638, allocations: 79.88 kB / 1.094 GB, free: 11.15 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004602/0.2643, allocations: 320.7 kB / 1.094 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002143/0.2645, allocations: 90.55 kB / 1.094 GB, free: 10.69 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.931e-05/0.2646, allocations: 44.83 kB / 1.094 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008119/0.2655, allocations: 0.7644 MB / 1.095 GB, free: 9.762 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.485e-05/0.2655, allocations: 38.44 kB / 1.095 GB, free: 9.715 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.323e-06/0.2655, allocations: 0 / 1.095 GB, free: 9.715 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0004182/0.2659, allocations: 133.5 kB / 1.095 GB, free: 9.578 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.005e-05/0.266, allocations: 55.41 kB / 1.095 GB, free: 9.512 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.668e-05/0.2661, allocations: 125.8 kB / 1.096 GB, free: 9.379 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.395e-05/0.2661, allocations: 25.7 kB / 1.096 GB, free: 9.348 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.199e-05/0.2662, allocations: 88.14 kB / 1.096 GB, free: 9.258 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.529e-05/0.2662, allocations: 31.55 kB / 1.096 GB, free: 9.227 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.559e-05/0.2662, allocations: 21.75 kB / 1.096 GB, free: 9.199 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.2664, allocations: 322.8 kB / 1.096 GB, free: 8.875 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.449e-05/0.2665, allocations: 27.98 kB / 1.096 GB, free: 8.848 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.026e-05/0.2666, allocations: 45.69 kB / 1.096 GB, free: 8.797 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001838/0.2667, allocations: 77.67 kB / 1.096 GB, free: 8.715 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2668, allocations: 0 / 1.096 GB, free: 8.715 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002492/0.267, allocations: 113.5 kB / 1.096 GB, free: 8.598 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.267, allocations: 15.97 kB / 1.096 GB, free: 8.582 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.267, allocations: 0 / 1.096 GB, free: 8.582 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.2671, allocations: 0 / 1.096 GB, free: 8.582 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001368/0.2672, allocations: 20.09 kB / 1.096 GB, free: 8.562 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.645e-06/0.2672, allocations: 3.938 kB / 1.096 GB, free: 8.559 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.043e-05/0.2673, allocations: 11.94 kB / 1.096 GB, free: 8.547 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.336e-05/0.2673, allocations: 11.98 kB / 1.096 GB, free: 8.535 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 8.55e-05/0.2674, allocations: 109.8 kB / 1.096 GB, free: 8.418 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.406e-05/0.2674, allocations: 19.83 kB / 1.096 GB, free: 8.398 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002822/0.2677, allocations: 114.4 kB / 1.097 GB, free: 8.277 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.2677, allocations: 0 / 1.097 GB, free: 8.277 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.676e-06/0.2678, allocations: 192 / 1.097 GB, free: 8.277 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.2678, allocations: 0 / 1.097 GB, free: 8.277 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002241/0.268, allocations: 201.5 kB / 1.097 GB, free: 8.031 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.268, allocations: 0 / 1.097 GB, free: 8.031 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001167/0.2681, allocations: 23.92 kB / 1.097 GB, free: 8.008 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.2681, allocations: 7.938 kB / 1.097 GB, free: 8 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.969e-06/0.2681, allocations: 0 / 1.097 GB, free: 8 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.2682, allocations: 80 / 1.097 GB, free: 8 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.2682, allocations: 3.984 kB / 1.097 GB, free: 7.996 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002605/0.2684, allocations: 203.4 kB / 1.097 GB, free: 7.781 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.878e-05/0.2685, allocations: 88.94 kB / 1.097 GB, free: 7.676 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.904e-05/0.2685, allocations: 0 / 1.097 GB, free: 7.676 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.264e-05/0.2686, allocations: 8 kB / 1.097 GB, free: 7.668 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.554e-05/0.2687, allocations: 11.98 kB / 1.097 GB, free: 7.656 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.091e-06/0.2687, allocations: 0 / 1.097 GB, free: 7.656 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.036e-05/0.2687, allocations: 99.64 kB / 1.097 GB, free: 7.559 MB / 0.8575 GB Notification: Performance of sort global known variables: time 8.066e-05/0.2688, allocations: 0 / 1.097 GB, free: 7.559 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002538/0.2691, allocations: 23.94 kB / 1.097 GB, free: 7.535 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.000215/0.2693, allocations: 122.3 kB / 1.097 GB, free: 7.41 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002327/0.2695, allocations: 75.89 kB / 1.097 GB, free: 7.336 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2695, allocations: 0 / 1.097 GB, free: 7.336 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001036/0.2696, allocations: 43.92 kB / 1.097 GB, free: 7.293 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000326/0.27, allocations: 5.891 kB / 1.097 GB, free: 7.289 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004685/0.2705, allocations: 218 kB / 1.098 GB, free: 7.047 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002492/0.2707, allocations: 0.6924 MB / 1.098 GB, free: 6.328 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 6.468e-05/0.2708, allocations: 11.69 kB / 1.098 GB, free: 6.316 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.189e-05/0.2708, allocations: 15.44 kB / 1.098 GB, free: 6.301 MB / 0.8575 GB Notification: Performance of SimCode: time 2.4e-07/0.2708, allocations: 3.938 kB / 1.098 GB, free: 6.297 MB / 0.8575 GB Notification: Performance of Templates: time 0.003303/0.2741, allocations: 1.019 MB / 1.099 GB, free: 5.285 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.makefile (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 & ./Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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