Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.0009636/0.0009634, allocations: 92.16 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.001469/0.001469, allocations: 182 kB / 16.92 MB, free: 6.922 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.441/1.441, allocations: 223.3 MB / 241 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.66/2.66, allocations: 437.8 MB / 0.7128 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0006356/0.0006358, allocations: 15.94 kB / 0.8735 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8069/0.8076, allocations: 153.8 MB / 1.024 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.002139/0.8098, allocations: 1.321 MB / 1.025 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004302/0.8141, allocations: 3.187 MB / 1.028 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.017e-05/0.8142, allocations: 4 kB / 1.028 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 3.132e-05/0.8142, allocations: 3.938 kB / 1.028 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 9.891e-05/0.8144, allocations: 15.84 kB / 1.028 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005487/0.8149, allocations: 103.7 kB / 1.028 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001382/0.8151, allocations: 75.72 kB / 1.028 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.727e-05/0.8152, allocations: 16.16 kB / 1.028 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001292/0.8153, allocations: 35.84 kB / 1.028 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000107/0.8154, allocations: 31.84 kB / 1.028 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.366e-05/0.8154, allocations: 0 / 1.028 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003426/0.8158, allocations: 111.8 kB / 1.028 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.858e-05/0.8158, allocations: 3.938 kB / 1.028 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.286e-05/0.8159, allocations: 53.56 kB / 1.029 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002037/0.8161, allocations: 81.81 kB / 1.029 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.8161, allocations: 8 kB / 1.029 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.736e-06/0.8161, allocations: 0 / 1.029 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.8162, allocations: 0 / 1.029 GB, free: 10.84 MB / 0.7794 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.0006233/0.8168, allocations: 387.2 kB / 1.029 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.8168, allocations: 12.03 kB / 1.029 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.347e-05/0.8169, allocations: 8.844 kB / 1.029 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000138/0.817, allocations: 180 kB / 1.029 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.8171, allocations: 4.375 kB / 1.029 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.323e-05/0.8171, allocations: 8.375 kB / 1.029 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002344/0.8173, allocations: 85.58 kB / 1.029 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.8173, allocations: 0 / 1.029 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.8174, allocations: 4 kB / 1.029 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.8174, allocations: 0 / 1.029 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002361/0.8176, allocations: 83.94 kB / 1.029 GB, free: 9.992 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005599/0.8182, allocations: 332.6 kB / 1.03 GB, free: 9.617 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002622/0.8185, allocations: 98.47 kB / 1.03 GB, free: 9.512 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000112/0.8186, allocations: 44.84 kB / 1.03 GB, free: 9.465 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008618/0.8194, allocations: 0.7488 MB / 1.031 GB, free: 8.598 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.694e-05/0.8195, allocations: 34.56 kB / 1.031 GB, free: 8.555 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.363e-06/0.8195, allocations: 0 / 1.031 GB, free: 8.555 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0004322/0.8199, allocations: 153.7 kB / 1.031 GB, free: 8.398 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.845e-05/0.82, allocations: 55.41 kB / 1.031 GB, free: 8.332 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.909e-05/0.8201, allocations: 117.8 kB / 1.031 GB, free: 8.207 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.223e-05/0.8201, allocations: 33.7 kB / 1.031 GB, free: 8.168 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.395e-05/0.8202, allocations: 88.05 kB / 1.031 GB, free: 8.078 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.682e-05/0.8203, allocations: 27.64 kB / 1.031 GB, free: 8.051 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.215e-05/0.8203, allocations: 13.72 kB / 1.031 GB, free: 8.031 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.8204, allocations: 318.8 kB / 1.031 GB, free: 7.711 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.429e-05/0.8205, allocations: 35.98 kB / 1.031 GB, free: 7.676 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001073/0.8206, allocations: 45.7 kB / 1.031 GB, free: 7.625 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001913/0.8208, allocations: 89.62 kB / 1.032 GB, free: 7.531 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.8208, allocations: 0 / 1.032 GB, free: 7.531 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002607/0.8211, allocations: 121.8 kB / 1.032 GB, free: 7.406 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.8211, allocations: 8 kB / 1.032 GB, free: 7.398 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.8212, allocations: 4.031 kB / 1.032 GB, free: 7.395 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.8212, allocations: 7.922 kB / 1.032 GB, free: 7.387 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001379/0.8213, allocations: 20.17 kB / 1.032 GB, free: 7.367 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.8213, allocations: 0 / 1.032 GB, free: 7.367 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.891e-05/0.8214, allocations: 15.94 kB / 1.032 GB, free: 7.352 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.556e-05/0.8215, allocations: 4.109 kB / 1.032 GB, free: 7.348 MB / 0.7794 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 9.124e-05/0.8215, allocations: 118.2 kB / 1.032 GB, free: 7.223 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.037e-05/0.8216, allocations: 11.91 kB / 1.032 GB, free: 7.211 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003314/0.8219, allocations: 133.9 kB / 1.032 GB, free: 7.074 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-06/0.8219, allocations: 3.938 kB / 1.032 GB, free: 7.07 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.8219, allocations: 0 / 1.032 GB, free: 7.07 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.822, allocations: 0 / 1.032 GB, free: 7.07 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002159/0.8222, allocations: 197.5 kB / 1.032 GB, free: 6.828 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.8222, allocations: 0 / 1.032 GB, free: 6.828 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001068/0.8223, allocations: 19.98 kB / 1.032 GB, free: 6.809 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.053e-06/0.8223, allocations: 3.984 kB / 1.032 GB, free: 6.805 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.728e-06/0.8223, allocations: 0 / 1.032 GB, free: 6.805 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/0.8223, allocations: 7.938 kB / 1.032 GB, free: 6.797 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.8223, allocations: 0 / 1.032 GB, free: 6.797 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000302/0.8226, allocations: 215.4 kB / 1.032 GB, free: 6.57 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.885e-05/0.8227, allocations: 81.02 kB / 1.032 GB, free: 6.473 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.006e-05/0.8227, allocations: 4 kB / 1.032 GB, free: 6.469 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.8228, allocations: 15.92 kB / 1.032 GB, free: 6.453 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.547e-05/0.8229, allocations: 8 kB / 1.032 GB, free: 6.445 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.236e-06/0.8229, allocations: 3.984 kB / 1.032 GB, free: 6.441 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.336e-05/0.823, allocations: 95.27 kB / 1.033 GB, free: 6.348 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.823, allocations: 0 / 1.033 GB, free: 6.348 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002588/0.8232, allocations: 20 kB / 1.033 GB, free: 6.328 MB / 0.7794 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.0002368/0.8235, allocations: 119.2 kB / 1.033 GB, free: 6.199 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002497/0.8237, allocations: 87.89 kB / 1.033 GB, free: 6.113 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.8237, allocations: 0 / 1.033 GB, free: 6.113 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001083/0.8239, allocations: 51.91 kB / 1.033 GB, free: 6.062 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003028/0.8242, allocations: 7.938 kB / 1.033 GB, free: 6.055 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004824/0.8247, allocations: 285.9 kB / 1.033 GB, free: 5.738 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000293/0.825, allocations: 0.6926 MB / 1.034 GB, free: 5.02 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.057e-05/0.825, allocations: 11.44 kB / 1.034 GB, free: 5.012 MB / 0.7794 GB Notification: Performance of SimCode: time 4.5e-07/0.825, allocations: 4 kB / 1.034 GB, free: 5.008 MB / 0.7794 GB Notification: Performance of Templates: time 0.003407/0.8284, allocations: 1.245 MB / 1.035 GB, free: 3.773 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.makefile (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.sim & ./Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches