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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007949/0.0007949, allocations: 76.5 kB / 19.93 MB, free: 4.621 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008022/0.0008022, allocations: 177.9 kB / 23.21 MB, free: 1.34 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8428/0.8428, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.701/1.701, allocations: 389 MB / 0.6338 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 1.452e-06/1.452e-06, allocations: 0 / 1.001 GB, free: 12.97 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.185e-05/2.33e-05, allocations: 8.891 kB / 1.001 GB, free: 12.96 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.001858/0.001881, allocations: 1.604 MB / 1.003 GB, free: 11.35 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.00265/0.004531, allocations: 3.118 MB / 1.006 GB, free: 8.215 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.633e-05/0.004587, allocations: 7.938 kB / 1.006 GB, free: 8.207 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3e-05/0.004617, allocations: 7.938 kB / 1.006 GB, free: 8.199 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.504e-05/0.004682, allocations: 15.8 kB / 1.006 GB, free: 8.184 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004452/0.005128, allocations: 135.4 kB / 1.006 GB, free: 8.051 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001004/0.005228, allocations: 83.64 kB / 1.006 GB, free: 7.969 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 8.325e-05/0.005311, allocations: 8 kB / 1.006 GB, free: 7.961 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001217/0.005433, allocations: 63.88 kB / 1.006 GB, free: 7.898 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 6.358e-05/0.005497, allocations: 31.89 kB / 1.006 GB, free: 7.867 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.393e-05/0.005511, allocations: 4 kB / 1.006 GB, free: 7.863 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001578/0.005668, allocations: 95.67 kB / 1.006 GB, free: 7.77 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.921e-05/0.005688, allocations: 23.91 kB / 1.006 GB, free: 7.746 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.401e-05/0.005712, allocations: 15.98 kB / 1.006 GB, free: 7.73 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001826/0.005894, allocations: 135.6 kB / 1.006 GB, free: 7.598 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.743e-06/0.005896, allocations: 0 / 1.006 GB, free: 7.598 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.313e-06/0.005897, allocations: 4 kB / 1.006 GB, free: 7.594 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.005901, allocations: 0 / 1.006 GB, free: 7.594 MB / 0.9636 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.000419/0.00632, allocations: 325.8 kB / 1.006 GB, free: 7.246 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.006357, allocations: 12.75 kB / 1.006 GB, free: 7.234 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001294/0.006487, allocations: 24.88 kB / 1.007 GB, free: 7.211 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001647/0.006651, allocations: 133.6 kB / 1.007 GB, free: 7.055 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.055e-05/0.006662, allocations: 4.375 kB / 1.007 GB, free: 7.051 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.331e-05/0.006675, allocations: 16.36 kB / 1.007 GB, free: 7.035 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001484/0.006824, allocations: 77.59 kB / 1.007 GB, free: 6.953 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.006832, allocations: 0 / 1.007 GB, free: 6.953 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.006844, allocations: 3.984 kB / 1.007 GB, free: 6.949 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.006848, allocations: 0 / 1.007 GB, free: 6.949 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001161/0.006965, allocations: 71.95 kB / 1.007 GB, free: 6.879 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003182/0.007283, allocations: 268.3 kB / 1.007 GB, free: 6.586 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001452/0.007428, allocations: 94.53 kB / 1.007 GB, free: 6.484 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.883e-05/0.007487, allocations: 32.84 kB / 1.007 GB, free: 6.449 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003742/0.007861, allocations: 356.3 kB / 1.008 GB, free: 6.082 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.997e-05/0.007881, allocations: 30.84 kB / 1.008 GB, free: 6.043 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=8): time 8.92e-07/0.007882, allocations: 3.938 kB / 1.008 GB, free: 6.039 MB / 0.9636 GB Notification: Performance of matching and sorting (n=8): time 0.0002569/0.008139, allocations: 141.5 kB / 1.008 GB, free: 5.895 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.099e-05/0.00817, allocations: 55.34 kB / 1.008 GB, free: 5.828 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.842e-05/0.008238, allocations: 129.7 kB / 1.008 GB, free: 5.691 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.033e-05/0.008249, allocations: 25.7 kB / 1.008 GB, free: 5.66 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.645e-05/0.008295, allocations: 96.08 kB / 1.008 GB, free: 5.562 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.603e-05/0.008311, allocations: 31.73 kB / 1.008 GB, free: 5.531 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.311e-05/0.008344, allocations: 25.7 kB / 1.008 GB, free: 5.5 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.343e-05/0.008418, allocations: 314.8 kB / 1.008 GB, free: 5.184 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.923e-05/0.008467, allocations: 35.97 kB / 1.008 GB, free: 5.148 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.332e-05/0.00852, allocations: 41.64 kB / 1.008 GB, free: 5.102 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001039/0.008624, allocations: 85.98 kB / 1.008 GB, free: 5.012 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.008626, allocations: 0 / 1.008 GB, free: 5.012 MB / 0.9636 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001354/0.008761, allocations: 113.5 kB / 1.009 GB, free: 4.895 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/0.008772, allocations: 4 kB / 1.009 GB, free: 4.891 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.008777, allocations: 4.031 kB / 1.009 GB, free: 4.887 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.008788, allocations: 0 / 1.009 GB, free: 4.887 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.82e-05/0.008866, allocations: 19.98 kB / 1.009 GB, free: 4.867 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.762e-06/0.008873, allocations: 7.938 kB / 1.009 GB, free: 4.859 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.119e-05/0.008904, allocations: 7.984 kB / 1.009 GB, free: 4.852 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.785e-06/0.008912, allocations: 4 kB / 1.009 GB, free: 4.848 MB / 0.9636 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.666e-05/0.008969, allocations: 117.8 kB / 1.009 GB, free: 4.723 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.455e-05/0.008983, allocations: 7.953 kB / 1.009 GB, free: 4.715 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001795/0.009163, allocations: 122.1 kB / 1.009 GB, free: 4.594 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.674e-06/0.009164, allocations: 4.109 kB / 1.009 GB, free: 4.59 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.009169, allocations: 7.875 kB / 1.009 GB, free: 4.582 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.009171, allocations: 0 / 1.009 GB, free: 4.582 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.79e-05/0.009269, allocations: 137.4 kB / 1.009 GB, free: 4.418 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.00927, allocations: 0 / 1.009 GB, free: 4.418 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.65e-05/0.009317, allocations: 19.92 kB / 1.009 GB, free: 4.398 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.009318, allocations: 0 / 1.009 GB, free: 4.398 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.009326, allocations: 3.984 kB / 1.009 GB, free: 4.395 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.009327, allocations: 8 kB / 1.009 GB, free: 4.387 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.009327, allocations: 0 / 1.009 GB, free: 4.387 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001541/0.009482, allocations: 203.3 kB / 1.009 GB, free: 4.172 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 6.663e-06/0.009488, allocations: 4 kB / 1.009 GB, free: 4.168 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.184e-05/0.0095, allocations: 4 kB / 1.009 GB, free: 4.164 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.361e-05/0.009544, allocations: 7.984 kB / 1.009 GB, free: 4.156 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.331e-05/0.009577, allocations: 4 kB / 1.009 GB, free: 4.152 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.08e-06/0.009582, allocations: 7.922 kB / 1.009 GB, free: 4.145 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.812e-05/0.00962, allocations: 102.4 kB / 1.009 GB, free: 4.047 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.00962, allocations: 4 kB / 1.009 GB, free: 4.043 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001644/0.009785, allocations: 19.95 kB / 1.009 GB, free: 4.023 MB / 0.9636 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.0001418/0.009926, allocations: 127.1 kB / 1.01 GB, free: 3.887 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001433/0.01007, allocations: 67.91 kB / 1.01 GB, free: 3.82 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/0.01007, allocations: 0 / 1.01 GB, free: 3.82 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 5.247e-05/0.01012, allocations: 47.97 kB / 1.01 GB, free: 3.773 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001799/0.0103, allocations: 5.875 kB / 1.01 GB, free: 3.77 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003091/0.01061, allocations: 219.1 kB / 1.01 GB, free: 3.523 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.116e-05/0.01066, allocations: 79.27 kB / 1.01 GB, free: 3.426 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.29e-05/0.0107, allocations: 16.5 kB / 1.01 GB, free: 3.41 MB / 0.9636 GB Notification: Performance of SimCode: time 6.71e-07/0.0107, allocations: 0 / 1.01 GB, free: 3.41 MB / 0.9636 GB Notification: Performance of Templates: time 0.002191/0.01289, allocations: 1.343 MB / 1.011 GB, free: 2.07 MB / 0.9636 GB " [Timeout remaining time 300] 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1) [Timeout 800] 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: 6.1654535280540586]