Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009843/0.0009843, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.00101/0.00101, allocations: 169 kB / 24.28 MB, free: 280 kB / 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.9068/0.9068, allocations: 177.1 MB / 204.6 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.802/1.802, allocations: 377.8 MB / 0.6239 GB, free: 8.574 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 0.8116 GB, free: 2.027 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.969e-05/2.098e-05, allocations: 4.562 kB / 0.8116 GB, free: 2.023 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.001932/0.001953, allocations: 1.675 MB / 0.8132 GB, free: 368 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002897/0.00485, allocations: 3.401 MB / 0.8165 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.8e-05/0.004908, allocations: 3.938 kB / 0.8165 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.899e-05/0.004937, allocations: 7.922 kB / 0.8165 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 6.396e-05/0.005001, allocations: 17.48 kB / 0.8165 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004568/0.005458, allocations: 140.5 kB / 0.8167 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001087/0.005566, allocations: 89 kB / 0.8168 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 8.18e-05/0.005648, allocations: 11.98 kB / 0.8168 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000132/0.00578, allocations: 55.88 kB / 0.8168 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 6.501e-05/0.005845, allocations: 33.02 kB / 0.8169 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.466e-05/0.00586, allocations: 4 kB / 0.8169 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001664/0.006026, allocations: 100.5 kB / 0.817 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.802e-05/0.006044, allocations: 15.92 kB / 0.817 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.862e-05/0.006073, allocations: 28.44 kB / 0.817 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001872/0.00626, allocations: 112.5 kB / 0.8171 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.006262, allocations: 0 / 0.8171 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of FrontEnd: time 5.81e-07/0.006263, allocations: 0 / 0.8171 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.006267, allocations: 2.031 kB / 0.8171 GB, free: 12.36 MB / 0.7761 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.0004088/0.006676, allocations: 424.2 kB / 0.8175 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.006711, allocations: 8.031 kB / 0.8175 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001392/0.00685, allocations: 29.47 kB / 0.8175 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001427/0.006992, allocations: 135 kB / 0.8177 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.007005, allocations: 4.375 kB / 0.8177 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.222e-05/0.007017, allocations: 8.375 kB / 0.8177 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001345/0.007152, allocations: 78.86 kB / 0.8178 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.643e-06/0.007158, allocations: 192 / 0.8178 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.007171, allocations: 8.125 kB / 0.8178 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.007177, allocations: 1.781 kB / 0.8178 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.097e-05/0.007248, allocations: 35.89 kB / 0.8178 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003163/0.007564, allocations: 311.6 kB / 0.8181 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001357/0.0077, allocations: 83.55 kB / 0.8182 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.046e-05/0.00774, allocations: 27.67 kB / 0.8182 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003908/0.008131, allocations: 439.6 kB / 0.8186 GB, free: 10.67 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.007e-05/0.008151, allocations: 37.39 kB / 0.8187 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=8): time 9.22e-07/0.008152, allocations: 0 / 0.8187 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8): time 0.0002011/0.008353, allocations: 95.44 kB / 0.8188 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.821e-05/0.008381, allocations: 55.61 kB / 0.8188 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.121e-05/0.008462, allocations: 189.8 kB / 0.819 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.427e-06/0.008472, allocations: 29.7 kB / 0.819 GB, free: 10.22 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.071e-05/0.008523, allocations: 138.8 kB / 0.8192 GB, free: 10.08 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.008e-05/0.008543, allocations: 28.77 kB / 0.8192 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.755e-05/0.00858, allocations: 31.38 kB / 0.8192 GB, free: 10.01 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001014/0.008682, allocations: 0.4922 MB / 0.8197 GB, free: 9.508 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.795e-05/0.00871, allocations: 13.08 kB / 0.8197 GB, free: 9.496 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.846e-05/0.008748, allocations: 31.38 kB / 0.8197 GB, free: 9.457 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.597e-05/0.008814, allocations: 48.42 kB / 0.8198 GB, free: 9.402 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.008816, allocations: 3.938 kB / 0.8198 GB, free: 9.398 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001002/0.008916, allocations: 74.77 kB / 0.8199 GB, free: 9.32 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.008929, allocations: 8 kB / 0.8199 GB, free: 9.312 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.008933, allocations: 0 / 0.8199 GB, free: 9.312 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.008944, allocations: 0.7812 kB / 0.8199 GB, free: 9.312 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.359e-05/0.009028, allocations: 23.92 kB / 0.8199 GB, free: 9.289 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.009033, allocations: 0.5938 kB / 0.8199 GB, free: 9.289 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.183e-05/0.009064, allocations: 15.92 kB / 0.8199 GB, free: 9.273 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-06/0.00907, allocations: 1.281 kB / 0.8199 GB, free: 9.273 MB / 0.7761 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 6.306e-05/0.009133, allocations: 164.5 kB / 0.8201 GB, free: 9.102 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.934e-05/0.009152, allocations: 9.891 kB / 0.8201 GB, free: 9.094 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001435/0.009296, allocations: 90.08 kB / 0.8202 GB, free: 8.996 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.009299, allocations: 4 kB / 0.8202 GB, free: 8.992 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.009302, allocations: 7.938 kB / 0.8202 GB, free: 8.984 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.009305, allocations: 1.344 kB / 0.8202 GB, free: 8.984 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001025/0.009408, allocations: 140.5 kB / 0.8203 GB, free: 8.812 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.009409, allocations: 0 / 0.8203 GB, free: 8.812 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.569e-05/0.009455, allocations: 12 kB / 0.8203 GB, free: 8.801 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.009458, allocations: 10.45 kB / 0.8203 GB, free: 8.793 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.00947, allocations: 0 / 0.8203 GB, free: 8.793 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.71e-07/0.009471, allocations: 0 / 0.8203 GB, free: 8.793 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.009472, allocations: 0 / 0.8203 GB, free: 8.793 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001367/0.009609, allocations: 227.8 kB / 0.8205 GB, free: 8.551 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 9.588e-06/0.009619, allocations: 15.88 kB / 0.8206 GB, free: 8.535 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.189e-05/0.00963, allocations: 0 / 0.8206 GB, free: 8.535 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.223e-05/0.009673, allocations: 9.75 kB / 0.8206 GB, free: 8.527 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.644e-05/0.009709, allocations: 11.92 kB / 0.8206 GB, free: 8.516 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.526e-06/0.009713, allocations: 0 / 0.8206 GB, free: 8.516 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.39e-05/0.009757, allocations: 137.9 kB / 0.8207 GB, free: 8.383 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.009757, allocations: 4.031 kB / 0.8207 GB, free: 8.379 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001727/0.009929, allocations: 27.94 kB / 0.8207 GB, free: 8.352 MB / 0.7761 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.0001322/0.01006, allocations: 111.2 kB / 0.8208 GB, free: 8.234 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001146/0.01018, allocations: 52.14 kB / 0.8209 GB, free: 8.18 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.01018, allocations: 0 / 0.8209 GB, free: 8.18 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.825e-05/0.01022, allocations: 31.67 kB / 0.8209 GB, free: 8.145 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001848/0.0104, allocations: 18.22 kB / 0.8209 GB, free: 8.129 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005555/0.01096, allocations: 210.8 kB / 0.8211 GB, free: 7.895 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.414e-05/0.01099, allocations: 59.34 kB / 0.8212 GB, free: 7.816 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.814e-05/0.01103, allocations: 8 kB / 0.8212 GB, free: 7.809 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.067e-05/0.01106, allocations: 16.48 kB / 0.8212 GB, free: 7.789 MB / 0.7761 GB Notification: Performance of SimCode: time 6.21e-07/0.01106, allocations: 0 / 0.8212 GB, free: 7.789 MB / 0.7761 GB Notification: Performance of Templates: time 0.002758/0.01382, allocations: 1.065 MB / 0.8223 GB, free: 6.746 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.sim & ./Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.673252320848405]