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.008227/0.008227, allocations: 103.6 kB / 15.74 MB, free: 6.039 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.001756/0.001756, allocations: 195.4 kB / 16.68 MB, free: 5.953 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.38/1.38, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.198/2.198, allocations: 390.2 MB / 0.6648 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 67.84 kB / 0.9509 GB, free: 7.602 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7329/0.7342, 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.002443/0.7367, allocations: 1.6 MB / 1.09 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00305/0.7398, allocations: 3.263 MB / 1.093 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.248e-05/0.7398, allocations: 0.75 kB / 1.093 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.298e-05/0.7399, allocations: 6.469 kB / 1.093 GB, free: 2.02 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.656e-05/0.74, allocations: 14.83 kB / 1.093 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004202/0.7404, allocations: 112.5 kB / 1.093 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.689e-05/0.7405, allocations: 81.97 kB / 1.093 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.413e-05/0.7406, allocations: 11.95 kB / 1.093 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.541e-05/0.7407, allocations: 49.47 kB / 1.093 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.504e-05/0.7408, allocations: 32.72 kB / 1.093 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.595e-05/0.7408, allocations: 5.906 kB / 1.093 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002553/0.7411, allocations: 106.9 kB / 1.093 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.985e-05/0.7411, allocations: 10.44 kB / 1.093 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.003e-05/0.7411, allocations: 38.84 kB / 1.093 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002209/0.7414, allocations: 122.6 kB / 1.093 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.7414, allocations: 0.7969 kB / 1.093 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.433e-06/0.7414, allocations: 0 / 1.093 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.7414, allocations: 0.5 kB / 1.093 GB, free: 1.762 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.0004633/0.7419, allocations: 387.1 kB / 1.094 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.7419, allocations: 10.08 kB / 1.094 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.174e-05/0.742, allocations: 8.531 kB / 1.094 GB, free: 1.379 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.873e-05/0.742, allocations: 185 kB / 1.094 GB, free: 1.164 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.7421, allocations: 6.031 kB / 1.094 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.576e-05/0.7421, allocations: 8 kB / 1.094 GB, free: 1.156 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002073/0.7423, allocations: 83.05 kB / 1.094 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.974e-06/0.7423, allocations: 0 / 1.094 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.7423, allocations: 1.422 kB / 1.094 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.7423, allocations: 1.5 kB / 1.094 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001985/0.7425, allocations: 72.77 kB / 1.094 GB, free: 1.09 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004057/0.743, allocations: 334.5 kB / 1.094 GB, free: 0.7734 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002172/0.7432, allocations: 92 kB / 1.094 GB, free: 0.7227 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000107/0.7433, allocations: 43.94 kB / 1.094 GB, free: 0.7031 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006782/0.744, allocations: 0.7602 MB / 1.095 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.585e-05/0.744, allocations: 39.56 kB / 1.095 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=8): time 1.282e-06/0.744, allocations: 0 / 1.095 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of matching and sorting (n=8): time 0.0004161/0.7444, allocations: 142.4 kB / 1.095 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.551e-05/0.7445, allocations: 52.5 kB / 1.095 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.771e-05/0.7446, allocations: 117.8 kB / 1.096 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.593e-05/0.7446, allocations: 26.27 kB / 1.096 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 5.376e-05/0.7447, allocations: 89.17 kB / 1.096 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 2.408e-05/0.7447, allocations: 32.52 kB / 1.096 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.502e-05/0.7448, allocations: 22.66 kB / 1.096 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.7449, allocations: 322.9 kB / 1.096 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.199e-05/0.745, allocations: 29.31 kB / 1.096 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001004/0.7451, allocations: 46.03 kB / 1.096 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001873/0.7453, allocations: 78.56 kB / 1.096 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.7453, allocations: 4 kB / 1.096 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002425/0.7455, allocations: 112.4 kB / 1.096 GB, free: 15.01 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.7456, allocations: 9.562 kB / 1.096 GB, free: 15 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.7456, allocations: 1.344 kB / 1.096 GB, free: 15 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.7456, allocations: 0.9375 kB / 1.096 GB, free: 15 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001336/0.7457, allocations: 18.52 kB / 1.096 GB, free: 15 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.7457, allocations: 1.141 kB / 1.096 GB, free: 15 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.54e-05/0.7458, allocations: 11 kB / 1.096 GB, free: 15 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.7458, allocations: 7 kB / 1.096 GB, free: 15 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.521e-05/0.7459, allocations: 121.8 kB / 1.096 GB, free: 14.87 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.228e-05/0.746, allocations: 10.91 kB / 1.096 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003137/0.7463, allocations: 118.2 kB / 1.097 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.7463, allocations: 2.297 kB / 1.097 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.7463, allocations: 0 / 1.097 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.7463, allocations: 5.484 kB / 1.097 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001971/0.7465, allocations: 194.5 kB / 1.097 GB, free: 14.58 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.7465, allocations: 0 / 1.097 GB, free: 14.58 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001103/0.7466, allocations: 16.92 kB / 1.097 GB, free: 14.58 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.7467, allocations: 9.469 kB / 1.097 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.866e-06/0.7467, allocations: 1.484 kB / 1.097 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.7467, allocations: 0.7812 kB / 1.097 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.7467, allocations: 0.7188 kB / 1.097 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002947/0.747, allocations: 205.3 kB / 1.097 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 4.053e-05/0.747, allocations: 87.59 kB / 1.097 GB, free: 14.31 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.744e-05/0.7471, allocations: 1.344 kB / 1.097 GB, free: 14.31 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.89e-05/0.7472, allocations: 5.562 kB / 1.097 GB, free: 14.31 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.761e-05/0.7472, allocations: 9.156 kB / 1.097 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.233e-05/0.7472, allocations: 10.64 kB / 1.097 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 5.06e-05/0.7473, allocations: 91.69 kB / 1.097 GB, free: 14.22 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7473, allocations: 0 / 1.097 GB, free: 14.22 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002591/0.7476, allocations: 21.94 kB / 1.097 GB, free: 14.21 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.0001992/0.7478, allocations: 131.2 kB / 1.097 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002522/0.748, allocations: 72.2 kB / 1.097 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.748, allocations: 0 / 1.097 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001115/0.7481, allocations: 46.12 kB / 1.097 GB, free: 14.08 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002863/0.7484, allocations: 7.578 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.0004358/0.7489, allocations: 207.2 kB / 1.098 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000225/0.7491, allocations: 0.6927 MB / 1.098 GB, free: 13.22 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 5.889e-05/0.7492, allocations: 16.05 kB / 1.098 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.122e-05/0.7492, allocations: 16.48 kB / 1.098 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of SimCode: time 2.1e-07/0.7492, allocations: 0 / 1.098 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of Templates: time 0.003536/0.7528, allocations: 1.025 MB / 1.099 GB, free: 13.07 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