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.007224/0.007224, allocations: 100.5 kB / 15.73 MB, free: 6.047 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.001687/0.001687, allocations: 195.4 kB / 16.67 MB, free: 5.949 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.407/1.407, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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.308/2.308, allocations: 390.2 MB / 0.6648 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 63.91 kB / 0.9509 GB, free: 7.605 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7684/0.7697, allocations: 140.4 MB / 1.088 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.002408/0.7721, allocations: 1.605 MB / 1.09 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003038/0.7752, allocations: 3.249 MB / 1.093 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.286e-05/0.7752, allocations: 4.719 kB / 1.093 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.528e-05/0.7753, allocations: 10.44 kB / 1.093 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.656e-05/0.7754, allocations: 14.95 kB / 1.093 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004282/0.7758, allocations: 122.7 kB / 1.093 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001056/0.7759, allocations: 73.14 kB / 1.093 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.488e-05/0.776, allocations: 16.33 kB / 1.093 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.547e-05/0.7761, allocations: 45.19 kB / 1.093 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.504e-05/0.7762, allocations: 37.53 kB / 1.093 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.675e-05/0.7762, allocations: 5.75 kB / 1.093 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002664/0.7765, allocations: 98.98 kB / 1.093 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.948e-05/0.7765, allocations: 17.39 kB / 1.093 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.923e-05/0.7766, allocations: 31.2 kB / 1.093 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002404/0.7768, allocations: 127.9 kB / 1.093 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.7768, allocations: 4 kB / 1.093 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.182e-06/0.7768, allocations: 0 / 1.093 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.7769, allocations: 0.9688 kB / 1.093 GB, free: 1.754 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.0004631/0.7773, allocations: 382.8 kB / 1.094 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.7774, allocations: 13.84 kB / 1.094 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.763e-05/0.7774, allocations: 8.672 kB / 1.094 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.055e-05/0.7775, allocations: 173.6 kB / 1.094 GB, free: 1.164 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.7775, allocations: 13.56 kB / 1.094 GB, free: 1.152 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.86e-05/0.7775, allocations: 4.453 kB / 1.094 GB, free: 1.152 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002027/0.7777, allocations: 87.41 kB / 1.094 GB, free: 1.098 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.7777, allocations: 0 / 1.094 GB, free: 1.098 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.7778, allocations: 4.531 kB / 1.094 GB, free: 1.094 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.7778, allocations: 1.688 kB / 1.094 GB, free: 1.094 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002032/0.778, allocations: 76.53 kB / 1.094 GB, free: 1.074 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003991/0.7784, allocations: 331.3 kB / 1.094 GB, free: 0.7617 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002359/0.7786, allocations: 96.16 kB / 1.094 GB, free: 0.707 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001032/0.7788, allocations: 43.5 kB / 1.094 GB, free: 0.6875 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006959/0.7795, allocations: 0.7482 MB / 1.095 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/0.7795, allocations: 39.56 kB / 1.095 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=8): time 1.272e-06/0.7795, allocations: 0 / 1.095 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of matching and sorting (n=8): time 0.0004198/0.7799, allocations: 138.9 kB / 1.095 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.81e-05/0.78, allocations: 56.47 kB / 1.095 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.192e-05/0.7801, allocations: 117.4 kB / 1.096 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.7801, allocations: 26.77 kB / 1.096 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 6.267e-05/0.7802, allocations: 92.5 kB / 1.096 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 2.482e-05/0.7802, allocations: 32.97 kB / 1.096 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.609e-05/0.7802, allocations: 21.98 kB / 1.096 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.7804, allocations: 319.2 kB / 1.096 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.655e-05/0.7805, allocations: 33.72 kB / 1.096 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.939e-05/0.7806, allocations: 42.5 kB / 1.096 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001895/0.7808, allocations: 78.09 kB / 1.096 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.7808, allocations: 0.75 kB / 1.096 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002627/0.781, allocations: 120.5 kB / 1.096 GB, free: 15 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.7811, allocations: 8.812 kB / 1.096 GB, free: 15 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.7811, allocations: 0.8125 kB / 1.096 GB, free: 15 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.7811, allocations: 1.375 kB / 1.096 GB, free: 15 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001512/0.7812, allocations: 27.56 kB / 1.096 GB, free: 14.99 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.7813, allocations: 192 / 1.096 GB, free: 14.99 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.688e-05/0.7813, allocations: 10.75 kB / 1.096 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.799e-06/0.7814, allocations: 6.469 kB / 1.096 GB, free: 14.98 MB / 0.8731 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.454e-05/0.7815, allocations: 117.9 kB / 1.096 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.689e-05/0.7815, allocations: 11.77 kB / 1.096 GB, free: 14.85 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003341/0.7818, allocations: 126.6 kB / 1.097 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.7818, allocations: 0.9375 kB / 1.097 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.7819, allocations: 1.094 kB / 1.097 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.7819, allocations: 0.7969 kB / 1.097 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001974/0.7821, allocations: 186.5 kB / 1.097 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.7821, allocations: 4.688 kB / 1.097 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001119/0.7822, allocations: 17.02 kB / 1.097 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.421e-06/0.7822, allocations: 4.594 kB / 1.097 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.7822, allocations: 5.453 kB / 1.097 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.7822, allocations: 0.9688 kB / 1.097 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.7822, allocations: 0.7969 kB / 1.097 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002866/0.7825, allocations: 201.3 kB / 1.097 GB, free: 14.4 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 3.814e-05/0.7826, allocations: 92.27 kB / 1.097 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.7826, allocations: 0.7188 kB / 1.097 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001106/0.7827, allocations: 9.672 kB / 1.097 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.182e-05/0.7828, allocations: 9.484 kB / 1.097 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.585e-06/0.7828, allocations: 1.922 kB / 1.097 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 5e-05/0.7828, allocations: 92.05 kB / 1.097 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1e-07/0.7828, allocations: 0.9688 kB / 1.097 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002758/0.7831, allocations: 25.27 kB / 1.097 GB, free: 14.2 MB / 0.8731 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.0002235/0.7833, allocations: 122 kB / 1.097 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002734/0.7836, allocations: 76.89 kB / 1.097 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.7836, allocations: 0 / 1.097 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.000114/0.7838, allocations: 45.56 kB / 1.097 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003187/0.7841, allocations: 13.81 kB / 1.097 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004353/0.7845, allocations: 211.9 kB / 1.098 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002392/0.7848, allocations: 0.6916 MB / 1.098 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 6.303e-05/0.7849, allocations: 17.08 kB / 1.098 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.346e-05/0.7849, allocations: 12.12 kB / 1.098 GB, free: 13.19 MB / 0.8731 GB Notification: Performance of SimCode: time 3.6e-07/0.7849, allocations: 0 / 1.098 GB, free: 13.19 MB / 0.8731 GB Notification: Performance of Templates: time 0.003693/0.7886, allocations: 1.027 MB / 1.099 GB, free: 13.06 MB / 0.8731 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