Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001776/0.001776, allocations: 113.2 kB / 15.99 MB, free: 5.91 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.001797/0.001797, allocations: 194.7 kB / 16.91 MB, free: 5.754 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.432/1.432, allocations: 222.9 MB / 240.6 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.717/2.717, allocations: 469.8 MB / 0.7427 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00193/0.00193, allocations: 59.91 kB / 0.9087 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.343/0.345, allocations: 159.1 MB / 1.064 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.003141/0.3482, allocations: 1.67 MB / 1.066 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.004086/0.3523, allocations: 3.218 MB / 1.069 GB, free: 10.17 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.267e-05/0.3523, allocations: 4 kB / 1.069 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.436e-05/0.3524, allocations: 7.922 kB / 1.069 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.563e-05/0.3525, allocations: 3.938 kB / 1.069 GB, free: 10.15 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004949/0.353, allocations: 119.6 kB / 1.069 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001225/0.3531, allocations: 75.72 kB / 1.069 GB, free: 9.961 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.3533, allocations: 12.17 kB / 1.069 GB, free: 9.949 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001299/0.3534, allocations: 39.84 kB / 1.069 GB, free: 9.91 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 9.177e-05/0.3535, allocations: 35.84 kB / 1.069 GB, free: 9.875 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.791e-05/0.3535, allocations: 8 kB / 1.069 GB, free: 9.867 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000302/0.3538, allocations: 107.8 kB / 1.069 GB, free: 9.762 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.377e-05/0.3539, allocations: 15.92 kB / 1.069 GB, free: 9.746 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.638e-05/0.3539, allocations: 31.86 kB / 1.069 GB, free: 9.715 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001861/0.3541, allocations: 88.03 kB / 1.069 GB, free: 9.629 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3541, allocations: 0 / 1.069 GB, free: 9.629 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.773e-06/0.3541, allocations: 0 / 1.069 GB, free: 9.629 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.502e-06/0.3541, allocations: 0 / 1.069 GB, free: 9.629 MB / 0.8419 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.0006731/0.3548, allocations: 387.2 kB / 1.07 GB, free: 9.203 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.3549, allocations: 12.03 kB / 1.07 GB, free: 9.191 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.259e-05/0.3549, allocations: 8.844 kB / 1.07 GB, free: 9.184 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000167/0.3551, allocations: 180.2 kB / 1.07 GB, free: 8.969 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.709e-05/0.3551, allocations: 8.312 kB / 1.07 GB, free: 8.961 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.846e-05/0.3551, allocations: 12.31 kB / 1.07 GB, free: 8.949 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002424/0.3554, allocations: 77.59 kB / 1.07 GB, free: 8.867 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.3554, allocations: 0 / 1.07 GB, free: 8.867 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.3554, allocations: 0 / 1.07 GB, free: 8.867 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.3554, allocations: 0 / 1.07 GB, free: 8.867 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000217/0.3556, allocations: 83.88 kB / 1.07 GB, free: 8.785 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005558/0.3562, allocations: 316.8 kB / 1.07 GB, free: 8.426 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002402/0.3565, allocations: 98.47 kB / 1.071 GB, free: 8.32 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001039/0.3566, allocations: 44.84 kB / 1.071 GB, free: 8.273 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009465/0.3575, allocations: 0.7604 MB / 1.071 GB, free: 7.395 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.577e-05/0.3576, allocations: 30.56 kB / 1.071 GB, free: 7.355 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=8): time 1.152e-06/0.3576, allocations: 4 kB / 1.071 GB, free: 7.352 MB / 0.8419 GB Notification: Performance of matching and sorting (n=8): time 0.000429/0.358, allocations: 141.7 kB / 1.072 GB, free: 7.207 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.757e-05/0.3581, allocations: 51.41 kB / 1.072 GB, free: 7.145 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001134/0.3582, allocations: 121.8 kB / 1.072 GB, free: 7.016 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.024e-05/0.3582, allocations: 25.7 kB / 1.072 GB, free: 6.984 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.826e-05/0.3583, allocations: 96.06 kB / 1.072 GB, free: 6.887 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.946e-05/0.3583, allocations: 27.55 kB / 1.072 GB, free: 6.859 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.97e-05/0.3584, allocations: 29.7 kB / 1.072 GB, free: 6.824 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001627/0.3586, allocations: 318.8 kB / 1.072 GB, free: 6.504 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.47e-05/0.3586, allocations: 27.98 kB / 1.072 GB, free: 6.477 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.579e-05/0.3587, allocations: 41.7 kB / 1.072 GB, free: 6.43 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001854/0.3589, allocations: 81.62 kB / 1.072 GB, free: 6.344 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3589, allocations: 0 / 1.072 GB, free: 6.344 MB / 0.8419 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002514/0.3592, allocations: 113.6 kB / 1.072 GB, free: 6.227 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.3592, allocations: 7.938 kB / 1.072 GB, free: 6.219 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.3592, allocations: 0 / 1.072 GB, free: 6.219 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/0.3593, allocations: 11.92 kB / 1.072 GB, free: 6.207 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001388/0.3594, allocations: 19.98 kB / 1.072 GB, free: 6.188 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.3594, allocations: 4.391 kB / 1.072 GB, free: 6.184 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.065e-05/0.3595, allocations: 8.031 kB / 1.072 GB, free: 6.176 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.115e-05/0.3595, allocations: 4 kB / 1.072 GB, free: 6.172 MB / 0.8419 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 0.0001098/0.3596, allocations: 114 kB / 1.073 GB, free: 6.051 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.057e-05/0.3597, allocations: 7.906 kB / 1.073 GB, free: 6.043 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000309/0.36, allocations: 129.9 kB / 1.073 GB, free: 5.906 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.399e-06/0.36, allocations: 7.938 kB / 1.073 GB, free: 5.898 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.36, allocations: 0 / 1.073 GB, free: 5.898 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.145e-06/0.36, allocations: 0 / 1.073 GB, free: 5.898 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002238/0.3602, allocations: 193.6 kB / 1.073 GB, free: 5.66 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3603, allocations: 0 / 1.073 GB, free: 5.66 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000107/0.3604, allocations: 15.98 kB / 1.073 GB, free: 5.645 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.3604, allocations: 4 kB / 1.073 GB, free: 5.641 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-06/0.3604, allocations: 0 / 1.073 GB, free: 5.641 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.3604, allocations: 3.938 kB / 1.073 GB, free: 5.637 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3604, allocations: 0 / 1.073 GB, free: 5.637 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002856/0.3607, allocations: 207.4 kB / 1.073 GB, free: 5.418 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.45e-05/0.3608, allocations: 88.95 kB / 1.073 GB, free: 5.312 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.801e-05/0.3608, allocations: 0 / 1.073 GB, free: 5.312 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.875e-05/0.3609, allocations: 11.92 kB / 1.073 GB, free: 5.301 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.773e-05/0.361, allocations: 4 kB / 1.073 GB, free: 5.297 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.2e-05/0.361, allocations: 7.984 kB / 1.073 GB, free: 5.289 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.065e-05/0.361, allocations: 95.28 kB / 1.073 GB, free: 5.195 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.361, allocations: 0 / 1.073 GB, free: 5.195 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002563/0.3613, allocations: 19.98 kB / 1.073 GB, free: 5.176 MB / 0.8419 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.0002379/0.3615, allocations: 119.2 kB / 1.073 GB, free: 5.051 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002604/0.3618, allocations: 79.89 kB / 1.074 GB, free: 4.973 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3618, allocations: 4.062 kB / 1.074 GB, free: 4.969 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001079/0.3619, allocations: 47.91 kB / 1.074 GB, free: 4.922 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003083/0.3623, allocations: 11.16 kB / 1.074 GB, free: 4.914 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000535/0.3628, allocations: 255.7 kB / 1.074 GB, free: 4.633 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003661/0.3632, allocations: 0.6885 MB / 1.075 GB, free: 3.918 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.559e-05/0.3632, allocations: 15.44 kB / 1.075 GB, free: 3.902 MB / 0.8419 GB Notification: Performance of SimCode: time 2.194e-06/0.3632, allocations: 0 / 1.075 GB, free: 3.902 MB / 0.8419 GB Notification: Performance of Templates: time 0.003333/0.3666, allocations: 1.264 MB / 1.076 GB, free: 2.645 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.makefile (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.sim & ./Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches