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.001002/0.001002, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.0009062/0.0009062, allocations: 161 kB / 23.82 MB, free: 0.75 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.9826/0.9826, allocations: 177.1 MB / 204.2 MB, free: 5.266 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.814/1.814, allocations: 377.9 MB / 0.6236 GB, free: 8.543 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.543e-06/1.543e-06, allocations: 0 / 0.8116 GB, free: 1.672 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.995e-05/2.149e-05, allocations: 4.703 kB / 0.8116 GB, free: 1.668 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.002336/0.002357, allocations: 1.665 MB / 0.8132 GB, free: 12 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.003167/0.005525, allocations: 3.406 MB / 0.8165 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.946e-05/0.005584, allocations: 4 kB / 0.8165 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.366e-05/0.005618, allocations: 3.938 kB / 0.8165 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 7.373e-05/0.005691, allocations: 13.38 kB / 0.8166 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005252/0.006217, allocations: 148.8 kB / 0.8167 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001184/0.006335, allocations: 83.72 kB / 0.8168 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 9.132e-05/0.006426, allocations: 16.92 kB / 0.8168 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001268/0.006553, allocations: 55.83 kB / 0.8168 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 7.034e-05/0.006624, allocations: 33.98 kB / 0.8169 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.724e-05/0.006641, allocations: 8 kB / 0.8169 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001748/0.006816, allocations: 95.73 kB / 0.817 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.545e-05/0.006831, allocations: 11.97 kB / 0.817 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.766e-05/0.006859, allocations: 19.92 kB / 0.817 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001969/0.007056, allocations: 121.9 kB / 0.8171 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.007058, allocations: 0 / 0.8171 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.52e-07/0.007059, allocations: 4 kB / 0.8171 GB, free: 12 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.007063, allocations: 0 / 0.8171 GB, free: 12 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.0004486/0.007512, allocations: 420.7 kB / 0.8175 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.007552, allocations: 12.03 kB / 0.8175 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001378/0.00769, allocations: 27.34 kB / 0.8176 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001647/0.007854, allocations: 140.5 kB / 0.8177 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.007866, allocations: 4.375 kB / 0.8177 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.443e-05/0.00788, allocations: 4.375 kB / 0.8177 GB, free: 11.35 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001528/0.008033, allocations: 81.05 kB / 0.8178 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.008045, allocations: 4.172 kB / 0.8178 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.008058, allocations: 4.125 kB / 0.8178 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.008068, allocations: 4 kB / 0.8178 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.478e-05/0.008132, allocations: 35.95 kB / 0.8178 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003375/0.00847, allocations: 304.7 kB / 0.8181 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001322/0.008602, allocations: 86.97 kB / 0.8182 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.867e-05/0.008641, allocations: 27.67 kB / 0.8182 GB, free: 10.76 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004175/0.009058, allocations: 444.3 kB / 0.8187 GB, free: 10.31 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.64e-05/0.009085, allocations: 33.39 kB / 0.8187 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=8): time 1.042e-06/0.009086, allocations: 0 / 0.8187 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8): time 0.0002112/0.009297, allocations: 93.84 kB / 0.8188 GB, free: 10.17 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.737e-05/0.009324, allocations: 51.41 kB / 0.8188 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.843e-05/0.009423, allocations: 188.6 kB / 0.819 GB, free: 9.91 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.186e-05/0.009435, allocations: 25.7 kB / 0.819 GB, free: 9.879 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.944e-05/0.009494, allocations: 138.8 kB / 0.8192 GB, free: 9.738 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.723e-05/0.009511, allocations: 32.86 kB / 0.8192 GB, free: 9.707 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.326e-05/0.009545, allocations: 27.38 kB / 0.8192 GB, free: 9.672 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.009665, allocations: 0.4922 MB / 0.8197 GB, free: 9.168 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.616e-05/0.009691, allocations: 17.11 kB / 0.8197 GB, free: 9.152 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.672e-05/0.009728, allocations: 35.38 kB / 0.8198 GB, free: 9.109 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.666e-05/0.009794, allocations: 56.62 kB / 0.8198 GB, free: 9.047 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.009796, allocations: 0 / 0.8198 GB, free: 9.047 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001012/0.009897, allocations: 82.53 kB / 0.8199 GB, free: 8.961 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.009912, allocations: 4 kB / 0.8199 GB, free: 8.957 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.009919, allocations: 4 kB / 0.8199 GB, free: 8.953 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.009938, allocations: 1.688 kB / 0.8199 GB, free: 8.953 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.337e-05/0.01002, allocations: 15.98 kB / 0.8199 GB, free: 8.938 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.01003, allocations: 4 kB / 0.8199 GB, free: 8.934 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.92e-05/0.01006, allocations: 11.92 kB / 0.8199 GB, free: 8.922 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.01006, allocations: 4.5 kB / 0.8199 GB, free: 8.918 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.337e-05/0.01013, allocations: 165.9 kB / 0.8201 GB, free: 8.746 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.795e-05/0.01015, allocations: 7.953 kB / 0.8201 GB, free: 8.738 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001362/0.01028, allocations: 90.53 kB / 0.8202 GB, free: 8.641 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.01028, allocations: 0.5938 kB / 0.8202 GB, free: 8.641 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.01029, allocations: 0 / 0.8202 GB, free: 8.641 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.01029, allocations: 4.656 kB / 0.8202 GB, free: 8.637 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001055/0.01039, allocations: 144.5 kB / 0.8203 GB, free: 8.461 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.0104, allocations: 4.594 kB / 0.8203 GB, free: 8.457 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.174e-05/0.01044, allocations: 14.06 kB / 0.8203 GB, free: 8.445 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.01044, allocations: 3.984 kB / 0.8203 GB, free: 8.441 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.744e-06/0.01045, allocations: 0 / 0.8203 GB, free: 8.441 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.01045, allocations: 4 kB / 0.8203 GB, free: 8.438 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.01045, allocations: 0 / 0.8203 GB, free: 8.438 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001243/0.01057, allocations: 227.8 kB / 0.8206 GB, free: 8.195 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 8.416e-06/0.01058, allocations: 14.09 kB / 0.8206 GB, free: 8.184 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.067e-05/0.01059, allocations: 0 / 0.8206 GB, free: 8.184 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.855e-05/0.01063, allocations: 8 kB / 0.8206 GB, free: 8.176 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.478e-05/0.01067, allocations: 3.984 kB / 0.8206 GB, free: 8.172 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.469e-06/0.01067, allocations: 4 kB / 0.8206 GB, free: 8.168 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.948e-05/0.01071, allocations: 136.7 kB / 0.8207 GB, free: 8.035 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.01071, allocations: 0 / 0.8207 GB, free: 8.035 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001645/0.01088, allocations: 23.94 kB / 0.8207 GB, free: 8.012 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.0001378/0.01101, allocations: 123.2 kB / 0.8209 GB, free: 7.883 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001007/0.01111, allocations: 51.59 kB / 0.8209 GB, free: 7.828 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.032e-06/0.01111, allocations: 0 / 0.8209 GB, free: 7.828 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.208e-05/0.01115, allocations: 31.67 kB / 0.8209 GB, free: 7.793 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001742/0.01132, allocations: 15.84 kB / 0.821 GB, free: 7.777 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005375/0.01186, allocations: 198.8 kB / 0.8211 GB, free: 7.555 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.035e-05/0.0119, allocations: 68.5 kB / 0.8212 GB, free: 7.469 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.866e-05/0.01194, allocations: 12.72 kB / 0.8212 GB, free: 7.457 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.093e-05/0.01197, allocations: 16.48 kB / 0.8212 GB, free: 7.438 MB / 0.7761 GB Notification: Performance of SimCode: time 6.92e-07/0.01197, allocations: 0 / 0.8212 GB, free: 7.438 MB / 0.7761 GB Notification: Performance of Templates: time 0.002593/0.01456, allocations: 1.035 MB / 0.8223 GB, free: 6.426 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: 5.2293831701390445]