Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001797/0.001797, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002038/0.002038, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.488/1.488, allocations: 225.6 MB / 249.4 MB, free: 3.152 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.012/3.012, allocations: 496.2 MB / 0.7819 GB, free: 12.26 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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=2500,variableFilter="time|rayleighNumber.Ra|rayleighNumber.Gr|rayleighNumber.Pr",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|rayleighNumber.Ra|rayleighNumber.Gr|rayleighNumber.Pr",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 67.91 kB / 1.136 GB, free: 12.37 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9137/0.9156, allocations: 173.6 MB / 1.305 GB, free: 33.38 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.002561/0.9182, allocations: 1.628 MB / 1.307 GB, free: 32.25 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003043/0.9212, allocations: 3.301 MB / 1.31 GB, free: 29.86 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.58e-05/0.9213, allocations: 0 / 1.31 GB, free: 29.86 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.05e-05/0.9213, allocations: 3.938 kB / 1.31 GB, free: 29.86 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.332e-05/0.9214, allocations: 14.27 kB / 1.31 GB, free: 29.85 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000491/0.9219, allocations: 121.1 kB / 1.31 GB, free: 29.79 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001091/0.922, allocations: 81.92 kB / 1.31 GB, free: 29.75 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.881e-05/0.9221, allocations: 13.83 kB / 1.31 GB, free: 29.74 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001051/0.9222, allocations: 36.89 kB / 1.311 GB, free: 29.73 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 9.221e-05/0.9223, allocations: 37.84 kB / 1.311 GB, free: 29.71 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.536e-05/0.9223, allocations: 5.656 kB / 1.311 GB, free: 29.71 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002708/0.9226, allocations: 111.5 kB / 1.311 GB, free: 29.67 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.565e-05/0.9226, allocations: 13.72 kB / 1.311 GB, free: 29.66 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.001e-05/0.9227, allocations: 31.19 kB / 1.311 GB, free: 29.64 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002274/0.9229, allocations: 124.3 kB / 1.311 GB, free: 29.61 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.9229, allocations: 0 / 1.311 GB, free: 29.61 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.333e-06/0.9229, allocations: 4 kB / 1.311 GB, free: 29.6 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.9229, allocations: 0 / 1.311 GB, free: 29.6 MB / 1.061 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.0005676/0.9235, allocations: 390.2 kB / 1.311 GB, free: 29.21 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.9235, allocations: 8.125 kB / 1.311 GB, free: 29.21 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.207e-05/0.9235, allocations: 11.19 kB / 1.311 GB, free: 29.21 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000107/0.9237, allocations: 182.1 kB / 1.311 GB, free: 29 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.9237, allocations: 384 / 1.311 GB, free: 29 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.167e-05/0.9237, allocations: 11.34 kB / 1.311 GB, free: 28.99 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002122/0.9239, allocations: 89.47 kB / 1.312 GB, free: 28.94 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.9239, allocations: 0 / 1.312 GB, free: 28.94 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.9239, allocations: 0 / 1.312 GB, free: 28.94 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.056e-05/0.9239, allocations: 0 / 1.312 GB, free: 28.94 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001779/0.9241, allocations: 78.62 kB / 1.312 GB, free: 28.92 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000469/0.9246, allocations: 337.7 kB / 1.312 GB, free: 28.6 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002009/0.9248, allocations: 83.55 kB / 1.312 GB, free: 28.55 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.443e-05/0.9249, allocations: 39.2 kB / 1.312 GB, free: 28.54 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006213/0.9255, allocations: 0.7512 MB / 1.313 GB, free: 27.75 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.222e-05/0.9255, allocations: 41.53 kB / 1.313 GB, free: 27.71 MB / 1.061 GB Notification: Performance of pre-optimization done (n=8): time 1.102e-06/0.9255, allocations: 3.938 kB / 1.313 GB, free: 27.7 MB / 1.061 GB Notification: Performance of matching and sorting (n=8): time 0.0003578/0.9259, allocations: 134.8 kB / 1.313 GB, free: 27.64 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.614e-05/0.9259, allocations: 55.41 kB / 1.313 GB, free: 27.57 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.495e-05/0.926, allocations: 115.6 kB / 1.313 GB, free: 27.47 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 9.207e-06/0.926, allocations: 25.7 kB / 1.313 GB, free: 27.44 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.99e-05/0.926, allocations: 94.31 kB / 1.313 GB, free: 27.35 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.799e-05/0.926, allocations: 32.52 kB / 1.313 GB, free: 27.32 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.809e-05/0.9261, allocations: 19.44 kB / 1.313 GB, free: 27.3 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.655e-05/0.9261, allocations: 318.2 kB / 1.314 GB, free: 26.99 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.602e-05/0.9262, allocations: 32.03 kB / 1.314 GB, free: 26.98 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.787e-05/0.9263, allocations: 49.25 kB / 1.314 GB, free: 26.95 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001448/0.9264, allocations: 81.55 kB / 1.314 GB, free: 26.91 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.9264, allocations: 0 / 1.314 GB, free: 26.91 MB / 1.061 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001914/0.9266, allocations: 111.6 kB / 1.314 GB, free: 26.85 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.9266, allocations: 6.875 kB / 1.314 GB, free: 26.85 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.9266, allocations: 2.906 kB / 1.314 GB, free: 26.85 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.9266, allocations: 3.938 kB / 1.314 GB, free: 26.84 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001262/0.9268, allocations: 22.14 kB / 1.314 GB, free: 26.84 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.9268, allocations: 0 / 1.314 GB, free: 26.84 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.899e-05/0.9268, allocations: 13.2 kB / 1.314 GB, free: 26.84 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.428e-06/0.9268, allocations: 2.812 kB / 1.314 GB, free: 26.84 MB / 1.061 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 5.967e-05/0.9269, allocations: 116.7 kB / 1.314 GB, free: 26.71 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.831e-05/0.9269, allocations: 10.7 kB / 1.314 GB, free: 26.71 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002565/0.9272, allocations: 121.1 kB / 1.314 GB, free: 26.64 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.9272, allocations: 7.219 kB / 1.314 GB, free: 26.64 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.9272, allocations: 2.531 kB / 1.314 GB, free: 26.64 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.9272, allocations: 192 / 1.314 GB, free: 26.64 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001465/0.9273, allocations: 187.1 kB / 1.314 GB, free: 26.43 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.9274, allocations: 3.938 kB / 1.314 GB, free: 26.43 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.711e-05/0.9274, allocations: 18.84 kB / 1.314 GB, free: 26.43 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.9274, allocations: 6.969 kB / 1.314 GB, free: 26.42 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.9275, allocations: 4 kB / 1.314 GB, free: 26.42 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.9275, allocations: 7.875 kB / 1.314 GB, free: 26.41 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.9275, allocations: 0 / 1.314 GB, free: 26.41 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002102/0.9277, allocations: 203.1 kB / 1.315 GB, free: 26.25 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.235e-05/0.9277, allocations: 83.75 kB / 1.315 GB, free: 26.16 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.837e-05/0.9277, allocations: 4 kB / 1.315 GB, free: 26.15 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.412e-05/0.9278, allocations: 16.62 kB / 1.315 GB, free: 26.14 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.935e-05/0.9279, allocations: 6.406 kB / 1.315 GB, free: 26.14 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.961e-06/0.9279, allocations: 0 / 1.315 GB, free: 26.14 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.304e-05/0.9279, allocations: 93.83 kB / 1.315 GB, free: 26.07 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.9279, allocations: 0 / 1.315 GB, free: 26.07 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002506/0.9281, allocations: 25.06 kB / 1.315 GB, free: 26.06 MB / 1.061 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.0002284/0.9284, allocations: 119.9 kB / 1.315 GB, free: 25.96 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002259/0.9286, allocations: 74.06 kB / 1.315 GB, free: 25.94 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.9286, allocations: 0 / 1.315 GB, free: 25.94 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.605e-05/0.9287, allocations: 42.16 kB / 1.315 GB, free: 25.93 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003239/0.929, allocations: 9.969 kB / 1.315 GB, free: 25.93 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003953/0.9294, allocations: 233.4 kB / 1.315 GB, free: 25.76 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001111/0.9295, allocations: 0.6924 MB / 1.316 GB, free: 25.06 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 5.404e-05/0.9296, allocations: 13.23 kB / 1.316 GB, free: 25.05 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.904e-05/0.9296, allocations: 14.22 kB / 1.316 GB, free: 25.04 MB / 1.061 GB Notification: Performance of SimCode: time 3.81e-07/0.9296, allocations: 0 / 1.316 GB, free: 25.04 MB / 1.061 GB Notification: Performance of Templates: time 0.00373/0.9333, allocations: 1.054 MB / 1.317 GB, free: 24.91 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.040512672625482]