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.001963/0.001963, allocations: 89.48 kB / 19.44 MB, free: 336 kB / 13.93 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.002191/0.002191, allocations: 169.6 kB / 22.76 MB, free: 1.664 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 1.645/1.645, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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 3.563/3.563, allocations: 429.5 MB / 0.6729 GB, free: 3.996 MB / 0.6355 GB " [Timeout remaining time 175] Using package Buildings with version 14.0.0 (/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 2.665e-06/2.665e-06, allocations: 0 / 0.8775 GB, free: 6.59 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.807e-05/4.074e-05, allocations: 2.312 kB / 0.8775 GB, free: 6.586 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.00542/0.005461, allocations: 1.638 MB / 0.8791 GB, free: 4.965 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.009055/0.01452, allocations: 3.401 MB / 0.8824 GB, free: 1.562 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001029/0.01462, allocations: 0 / 0.8824 GB, free: 1.562 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.388e-05/0.01466, allocations: 3.938 kB / 0.8824 GB, free: 1.559 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.00015/0.01481, allocations: 19.86 kB / 0.8824 GB, free: 1.539 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009963/0.01581, allocations: 143.3 kB / 0.8826 GB, free: 1.398 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002324/0.01604, allocations: 79.7 kB / 0.8826 GB, free: 1.32 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.01616, allocations: 8 kB / 0.8827 GB, free: 1.312 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003103/0.01647, allocations: 67.75 kB / 0.8827 GB, free: 1.246 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001423/0.01661, allocations: 35.89 kB / 0.8828 GB, free: 1.211 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.677e-05/0.01664, allocations: 4 kB / 0.8828 GB, free: 1.207 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004609/0.01711, allocations: 87.8 kB / 0.8828 GB, free: 1.121 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.416e-05/0.01715, allocations: 19.91 kB / 0.8829 GB, free: 1.102 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 6.224e-05/0.01721, allocations: 23.92 kB / 0.8829 GB, free: 1.078 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0004736/0.01769, allocations: 135.6 kB / 0.883 GB, free: 0.9453 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.345e-05/0.0177, allocations: 0 / 0.883 GB, free: 0.9453 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.904e-06/0.0177, allocations: 0 / 0.883 GB, free: 0.9453 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.144e-06/0.01771, allocations: 0 / 0.883 GB, free: 0.9453 MB / 0.8386 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.0007557/0.01846, allocations: 423.9 kB / 0.8834 GB, free: 0.4961 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.01851, allocations: 8.031 kB / 0.8834 GB, free: 500 kB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002847/0.01879, allocations: 24.88 kB / 0.8834 GB, free: 476 kB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002569/0.01905, allocations: 148.5 kB / 0.8836 GB, free: 300 kB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.01906, allocations: 384 / 0.8836 GB, free: 300 kB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.534e-05/0.01908, allocations: 4.375 kB / 0.8836 GB, free: 296 kB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002388/0.01932, allocations: 89.41 kB / 0.8837 GB, free: 200 kB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.01933, allocations: 0 / 0.8837 GB, free: 200 kB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.01934, allocations: 4 kB / 0.8837 GB, free: 196 kB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-06/0.01935, allocations: 4 kB / 0.8837 GB, free: 192 kB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000203/0.01955, allocations: 67.94 kB / 0.8838 GB, free: 124 kB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006271/0.02018, allocations: 315.7 kB / 0.8841 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002828/0.02046, allocations: 103 kB / 0.8842 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001082/0.02057, allocations: 39.67 kB / 0.8842 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000822/0.02139, allocations: 448 kB / 0.8846 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.804e-05/0.02143, allocations: 37.39 kB / 0.8847 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=8): time 1.012e-06/0.02143, allocations: 0 / 0.8847 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of matching and sorting (n=8): time 0.0004787/0.02191, allocations: 129.8 kB / 0.8848 GB, free: 14.98 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.52e-05/0.02196, allocations: 55.45 kB / 0.8848 GB, free: 14.92 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000186/0.02215, allocations: 193.2 kB / 0.885 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.543e-05/0.02217, allocations: 25.7 kB / 0.885 GB, free: 14.68 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001156/0.02229, allocations: 150.8 kB / 0.8852 GB, free: 14.53 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.98e-05/0.02233, allocations: 27.75 kB / 0.8852 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.647e-05/0.02241, allocations: 31.36 kB / 0.8852 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0003248/0.02273, allocations: 0.4923 MB / 0.8857 GB, free: 13.96 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.162e-05/0.02282, allocations: 23.98 kB / 0.8857 GB, free: 13.94 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001074/0.02293, allocations: 51.3 kB / 0.8858 GB, free: 13.88 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001957/0.02313, allocations: 83.28 kB / 0.8859 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.02313, allocations: 0 / 0.8859 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002689/0.0234, allocations: 109.6 kB / 0.886 GB, free: 13.68 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.02342, allocations: 4 kB / 0.886 GB, free: 13.67 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.02342, allocations: 0 / 0.886 GB, free: 13.67 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.02344, allocations: 0 / 0.886 GB, free: 13.67 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001558/0.02359, allocations: 19.98 kB / 0.886 GB, free: 13.65 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.132e-05/0.02361, allocations: 3.938 kB / 0.886 GB, free: 13.65 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.429e-05/0.02368, allocations: 7.984 kB / 0.886 GB, free: 13.64 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.137e-05/0.0237, allocations: 8 kB / 0.886 GB, free: 13.63 MB / 0.8542 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.0001441/0.02385, allocations: 156.6 kB / 0.8862 GB, free: 13.47 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.438e-05/0.02389, allocations: 19.98 kB / 0.8862 GB, free: 13.45 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003375/0.02423, allocations: 118 kB / 0.8863 GB, free: 13.32 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.351e-06/0.02423, allocations: 4 kB / 0.8863 GB, free: 13.32 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.02424, allocations: 3.938 kB / 0.8863 GB, free: 13.31 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.02424, allocations: 0 / 0.8863 GB, free: 13.31 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002376/0.02448, allocations: 144.5 kB / 0.8864 GB, free: 13.14 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.02448, allocations: 0 / 0.8864 GB, free: 13.14 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00011/0.02459, allocations: 15.98 kB / 0.8865 GB, free: 13.12 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.0246, allocations: 0 / 0.8865 GB, free: 13.12 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.723e-05/0.02462, allocations: 12 kB / 0.8865 GB, free: 13.11 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.811e-06/0.02462, allocations: 4.453 kB / 0.8865 GB, free: 13.11 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.02462, allocations: 0 / 0.8865 GB, free: 13.11 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003846/0.02501, allocations: 255.7 kB / 0.8867 GB, free: 12.84 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.571e-05/0.02502, allocations: 7.891 kB / 0.8867 GB, free: 12.83 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.471e-05/0.02505, allocations: 8 kB / 0.8867 GB, free: 12.82 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.715e-05/0.02513, allocations: 0 / 0.8867 GB, free: 12.82 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.966e-05/0.02519, allocations: 7.984 kB / 0.8867 GB, free: 12.81 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.404e-05/0.02521, allocations: 7.922 kB / 0.8867 GB, free: 12.8 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001273/0.02534, allocations: 143.2 kB / 0.8869 GB, free: 12.66 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.1e-08/0.02534, allocations: 4 kB / 0.8869 GB, free: 12.66 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002737/0.02561, allocations: 27.94 kB / 0.8869 GB, free: 12.63 MB / 0.8542 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.000267/0.02588, allocations: 111.2 kB / 0.887 GB, free: 12.52 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000265/0.02614, allocations: 75.59 kB / 0.8871 GB, free: 12.44 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.02614, allocations: 0 / 0.8871 GB, free: 12.44 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001094/0.02625, allocations: 43.73 kB / 0.8871 GB, free: 12.39 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000289/0.02654, allocations: 14.19 kB / 0.8871 GB, free: 12.38 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005856/0.02713, allocations: 206.7 kB / 0.8873 GB, free: 12.15 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.852e-05/0.02723, allocations: 79.12 kB / 0.8874 GB, free: 12.05 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 7.555e-05/0.0273, allocations: 15.97 kB / 0.8874 GB, free: 12.04 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.515e-05/0.02735, allocations: 12.5 kB / 0.8874 GB, free: 12.02 MB / 0.8542 GB Notification: Performance of SimCode: time 1.011e-06/0.02735, allocations: 0 / 0.8874 GB, free: 12.02 MB / 0.8542 GB Notification: Performance of Templates: time 0.005196/0.03254, allocations: 1.069 MB / 0.8885 GB, free: 10.98 MB / 0.8542 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1) [Timeout 240] 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.35788374603726]