Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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=5000,variableFilter="time|rayleighNumber.Ra|rayleighNumber.Gr|rayleighNumber.Pr",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rayleighNumber.Ra|rayleighNumber.Gr|rayleighNumber.Pr",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001071/0.001071, allocations: 91.06 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001488/0.001488, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.522/1.522, allocations: 223.3 MB / 240 MB, free: 5.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.366/2.366, allocations: 390.9 MB / 0.666 GB, free: 2.52 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000307/0.0003071, allocations: 12 kB / 0.8154 GB, free: 13.67 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6359/0.6362, allocations: 142.4 MB / 0.9544 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.001514/0.6378, allocations: 1.295 MB / 0.9557 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002756/0.6406, allocations: 3.069 MB / 0.9587 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.471e-05/0.6406, allocations: 1.25 kB / 0.9587 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.432e-05/0.6407, allocations: 7.922 kB / 0.9587 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.93e-05/0.6407, allocations: 9.953 kB / 0.9587 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003918/0.6411, allocations: 93.98 kB / 0.9588 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.317e-05/0.6412, allocations: 65.95 kB / 0.9589 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.774e-05/0.6413, allocations: 10.16 kB / 0.9589 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.569e-05/0.6414, allocations: 34.56 kB / 0.9589 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.37e-05/0.6415, allocations: 35.45 kB / 0.959 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.607e-05/0.6416, allocations: 10.41 kB / 0.959 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002317/0.6418, allocations: 70.38 kB / 0.959 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.803e-05/0.6418, allocations: 14.2 kB / 0.959 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.574e-05/0.6419, allocations: 30.33 kB / 0.9591 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001495/0.642, allocations: 75.16 kB / 0.9591 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.642, allocations: 0 / 0.9591 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.256e-06/0.642, allocations: 0 / 0.9591 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.235e-06/0.6421, allocations: 5.062 kB / 0.9591 GB, free: 3.926 MB / 0.7169 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.0004717/0.6425, allocations: 385.3 kB / 0.9595 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.6426, allocations: 9.406 kB / 0.9595 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.38e-05/0.6426, allocations: 7.312 kB / 0.9595 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.771e-05/0.6427, allocations: 179 kB / 0.9597 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/0.6427, allocations: 5.875 kB / 0.9597 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.6428, allocations: 3.531 kB / 0.9597 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001984/0.643, allocations: 85.28 kB / 0.9598 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.643, allocations: 0 / 0.9598 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.532e-05/0.643, allocations: 7.953 kB / 0.9598 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.643, allocations: 1.375 kB / 0.9598 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001838/0.6432, allocations: 86.31 kB / 0.9599 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004089/0.6436, allocations: 317.2 kB / 0.9602 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001924/0.6438, allocations: 98.78 kB / 0.9603 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.029e-05/0.6439, allocations: 48.22 kB / 0.9603 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005576/0.6445, allocations: 0.7543 MB / 0.9611 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.283e-05/0.6445, allocations: 34.5 kB / 0.9611 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.012e-06/0.6445, allocations: 1.375 kB / 0.9611 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0003467/0.6449, allocations: 143.8 kB / 0.9612 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.443e-05/0.6449, allocations: 52.78 kB / 0.9613 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.509e-05/0.645, allocations: 119.6 kB / 0.9614 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.957e-06/0.645, allocations: 25.8 kB / 0.9614 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.254e-05/0.645, allocations: 94.73 kB / 0.9615 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.873e-05/0.6451, allocations: 31.78 kB / 0.9615 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.751e-06/0.6451, allocations: 3.938 kB / 0.9615 GB, free: 1.516 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.508e-05/0.6451, allocations: 328.2 kB / 0.9619 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.676e-05/0.6452, allocations: 32.61 kB / 0.9619 GB, free: 1.176 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.778e-05/0.6453, allocations: 43.7 kB / 0.9619 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.34e-05/0.6454, allocations: 44.59 kB / 0.962 GB, free: 1.125 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.6454, allocations: 1.375 kB / 0.962 GB, free: 1.125 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002009/0.6456, allocations: 115.2 kB / 0.9621 GB, free: 1.059 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.6456, allocations: 6.906 kB / 0.9621 GB, free: 1.059 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.6456, allocations: 0 / 0.9621 GB, free: 1.059 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.6456, allocations: 5.406 kB / 0.9621 GB, free: 1.055 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001297/0.6458, allocations: 20.48 kB / 0.9621 GB, free: 1.051 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.6458, allocations: 5.359 kB / 0.9621 GB, free: 1.047 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.5e-05/0.6459, allocations: 9.406 kB / 0.9621 GB, free: 1.043 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-06/0.6459, allocations: 2.75 kB / 0.9621 GB, free: 1.043 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.285e-05/0.6459, allocations: 124.4 kB / 0.9623 GB, free: 0.9141 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.849e-05/0.646, allocations: 8.031 kB / 0.9623 GB, free: 0.9102 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000277/0.6463, allocations: 139 kB / 0.9624 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.6463, allocations: 1.312 kB / 0.9624 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.6463, allocations: 1.25 kB / 0.9624 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.6463, allocations: 0 / 0.9624 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001575/0.6464, allocations: 196.5 kB / 0.9626 GB, free: 0.5898 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.6465, allocations: 1.312 kB / 0.9626 GB, free: 0.5898 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001055/0.6466, allocations: 22.11 kB / 0.9626 GB, free: 0.582 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.6466, allocations: 4.797 kB / 0.9626 GB, free: 0.5781 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.6466, allocations: 5 kB / 0.9626 GB, free: 0.5742 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.6466, allocations: 1.25 kB / 0.9626 GB, free: 0.5742 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.6466, allocations: 3.938 kB / 0.9626 GB, free: 0.5703 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002389/0.6468, allocations: 211.1 kB / 0.9628 GB, free: 408 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.797e-05/0.6469, allocations: 84.11 kB / 0.9629 GB, free: 308 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.776e-05/0.6469, allocations: 4 kB / 0.9629 GB, free: 304 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.468e-05/0.647, allocations: 10.05 kB / 0.9629 GB, free: 300 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.915e-05/0.6471, allocations: 3 kB / 0.9629 GB, free: 300 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.993e-06/0.6471, allocations: 13.02 kB / 0.9629 GB, free: 288 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.559e-05/0.6471, allocations: 88.41 kB / 0.963 GB, free: 208 kB / 0.7169 GB Notification: Performance of sort global known variables: time 9.1e-08/0.6471, allocations: 0 / 0.963 GB, free: 208 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000259/0.6474, allocations: 25.36 kB / 0.963 GB, free: 200 kB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001785/0.6476, allocations: 118.8 kB / 0.9632 GB, free: 100 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002262/0.6478, allocations: 96.19 kB / 0.9632 GB, free: 56 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.6478, allocations: 0 / 0.9632 GB, free: 56 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.364e-05/0.6479, allocations: 46.81 kB / 0.9633 GB, free: 36 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002804/0.6482, allocations: 7.781 kB / 0.9633 GB, free: 32 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004337/0.6486, allocations: 244.7 kB / 0.9635 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002512/0.6489, allocations: 0.6905 MB / 0.9642 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 6.53e-05/0.649, allocations: 8.188 kB / 0.9642 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.501e-05/0.649, allocations: 18.64 kB / 0.9642 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of SimCode: time 1.432e-06/0.649, allocations: 3.938 kB / 0.9642 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of Templates: time 0.003306/0.6523, allocations: 0.9156 MB / 0.9651 GB, free: 14.62 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches