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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0009923/0.0009924, allocations: 88.77 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 183.2 kB / 16.92 MB, free: 6.652 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.404/1.404, allocations: 223.3 MB / 241 MB, free: 5.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.433/2.433, allocations: 390.9 MB / 0.667 GB, free: 2.293 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003764/0.0003766, allocations: 16 kB / 0.8166 GB, free: 13.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7383/0.7387, allocations: 142.4 MB / 0.9557 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.001765/0.7405, allocations: 1.318 MB / 0.957 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003059/0.7436, allocations: 3.203 MB / 0.9601 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.228e-05/0.7437, allocations: 1.375 kB / 0.9601 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.32e-05/0.7437, allocations: 0 / 0.9601 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.616e-05/0.7438, allocations: 13.23 kB / 0.9602 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004539/0.7443, allocations: 109.6 kB / 0.9603 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.46e-05/0.7444, allocations: 71.34 kB / 0.9603 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.089e-05/0.7445, allocations: 9.688 kB / 0.9603 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001111/0.7446, allocations: 42.95 kB / 0.9604 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.969e-05/0.7447, allocations: 40.22 kB / 0.9604 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.425e-05/0.7447, allocations: 2.75 kB / 0.9604 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002604/0.745, allocations: 97.14 kB / 0.9605 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.611e-05/0.745, allocations: 13.3 kB / 0.9605 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.465e-05/0.7451, allocations: 49.81 kB / 0.9606 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001564/0.7452, allocations: 78.84 kB / 0.9606 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.7452, allocations: 1.375 kB / 0.9606 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.504e-06/0.7452, allocations: 0 / 0.9606 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.7452, allocations: 3.938 kB / 0.9606 GB, free: 3.75 MB / 0.7169 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.0005073/0.7458, allocations: 385.5 kB / 0.961 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.7458, allocations: 9.625 kB / 0.961 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.799e-05/0.7459, allocations: 8.969 kB / 0.961 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.511e-05/0.746, allocations: 186.8 kB / 0.9612 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.746, allocations: 6.875 kB / 0.9612 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.587e-05/0.746, allocations: 6.75 kB / 0.9612 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002163/0.7462, allocations: 81.75 kB / 0.9613 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.7462, allocations: 0 / 0.9613 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/0.7463, allocations: 1.312 kB / 0.9613 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.7463, allocations: 1.344 kB / 0.9613 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002065/0.7465, allocations: 80.72 kB / 0.9614 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000455/0.7469, allocations: 338.4 kB / 0.9617 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002272/0.7472, allocations: 98 kB / 0.9618 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001095/0.7473, allocations: 49.47 kB / 0.9618 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006422/0.7479, allocations: 0.7416 MB / 0.9626 GB, free: 1.789 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.065e-05/0.748, allocations: 32.03 kB / 0.9626 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.252e-06/0.748, allocations: 3.938 kB / 0.9626 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.000418/0.7484, allocations: 153.2 kB / 0.9627 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.915e-05/0.7484, allocations: 52.56 kB / 0.9628 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.926e-05/0.7485, allocations: 116.5 kB / 0.9629 GB, free: 1.488 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.208e-05/0.7485, allocations: 29.7 kB / 0.9629 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.12e-05/0.7486, allocations: 91.05 kB / 0.963 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/0.7486, allocations: 27.33 kB / 0.9631 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.408e-05/0.7486, allocations: 14.94 kB / 0.9631 GB, free: 1.32 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.677e-05/0.7487, allocations: 321.2 kB / 0.9634 GB, free: 1 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.042e-05/0.7488, allocations: 31.67 kB / 0.9634 GB, free: 0.9883 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.027e-05/0.7489, allocations: 56.98 kB / 0.9635 GB, free: 0.9492 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001755/0.7491, allocations: 84.31 kB / 0.9635 GB, free: 0.9023 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.7491, allocations: 1.375 kB / 0.9635 GB, free: 0.9023 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002354/0.7493, allocations: 123.3 kB / 0.9637 GB, free: 0.8281 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.7494, allocations: 9.344 kB / 0.9637 GB, free: 0.8242 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.7494, allocations: 1.031 kB / 0.9637 GB, free: 0.8242 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.7494, allocations: 1 kB / 0.9637 GB, free: 0.8242 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001404/0.7495, allocations: 24.17 kB / 0.9637 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.7495, allocations: 1.078 kB / 0.9637 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.157e-05/0.7496, allocations: 10.53 kB / 0.9637 GB, free: 0.8125 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.7496, allocations: 5.938 kB / 0.9637 GB, free: 0.8086 MB / 0.7169 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 6.876e-05/0.7497, allocations: 124.7 kB / 0.9638 GB, free: 0.6797 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3e-05/0.7498, allocations: 15.59 kB / 0.9638 GB, free: 0.668 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000301/0.7501, allocations: 133 kB / 0.964 GB, free: 0.582 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.7501, allocations: 5.078 kB / 0.964 GB, free: 0.5781 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.7501, allocations: 0 / 0.964 GB, free: 0.5781 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.7501, allocations: 0 / 0.964 GB, free: 0.5781 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001616/0.7503, allocations: 189.6 kB / 0.9642 GB, free: 368 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.7503, allocations: 0 / 0.9642 GB, free: 368 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001057/0.7504, allocations: 18.89 kB / 0.9642 GB, free: 364 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.766e-06/0.7504, allocations: 4.969 kB / 0.9642 GB, free: 360 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.7504, allocations: 5 kB / 0.9642 GB, free: 356 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.7504, allocations: 1 kB / 0.9642 GB, free: 356 kB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.7504, allocations: 7.938 kB / 0.9642 GB, free: 348 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002543/0.7507, allocations: 204 kB / 0.9644 GB, free: 180 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.04e-05/0.7507, allocations: 83.02 kB / 0.9645 GB, free: 80 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.968e-05/0.7507, allocations: 12.95 kB / 0.9645 GB, free: 68 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.443e-05/0.7508, allocations: 12.97 kB / 0.9645 GB, free: 60 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.68e-05/0.7509, allocations: 6.984 kB / 0.9645 GB, free: 56 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.103e-06/0.7509, allocations: 2.125 kB / 0.9645 GB, free: 56 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.679e-05/0.751, allocations: 92.86 kB / 0.9646 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.751, allocations: 0.9688 kB / 0.9646 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002746/0.7513, allocations: 20.56 kB / 0.9646 GB, free: 15.97 MB / 0.7325 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.0002369/0.7515, allocations: 123.1 kB / 0.9647 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002879/0.7518, allocations: 80 kB / 0.9648 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.7518, allocations: 4.75 kB / 0.9648 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001133/0.7519, allocations: 55.53 kB / 0.9649 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003048/0.7522, allocations: 7.328 kB / 0.9649 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004627/0.7527, allocations: 268.3 kB / 0.9651 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002671/0.753, allocations: 0.6947 MB / 0.9658 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.3e-05/0.753, allocations: 16.12 kB / 0.9658 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of SimCode: time 4.31e-07/0.7531, allocations: 3.938 kB / 0.9658 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of Templates: time 0.003116/0.7562, allocations: 1.242 MB / 0.967 GB, free: 14.21 MB / 0.7325 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/jenkins1/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