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.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.008902/0.008902, allocations: 101.3 kB / 15.73 MB, free: 6.023 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.002/0.002, allocations: 195.8 kB / 16.67 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.367/1.367, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.608/2.608, allocations: 472.6 MB / 0.7453 GB, free: 0.5 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 67.91 kB / 1.07 GB, free: 9.57 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9371/0.9385, allocations: 159.9 MB / 1.226 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.002872/0.9414, allocations: 1.603 MB / 1.227 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.004053/0.9455, allocations: 3.269 MB / 1.23 GB, free: 8.641 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.621e-05/0.9456, allocations: 0 / 1.23 GB, free: 8.641 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.624e-05/0.9457, allocations: 7.922 kB / 1.23 GB, free: 8.633 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 8.645e-05/0.9458, allocations: 15.81 kB / 1.23 GB, free: 8.617 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005296/0.9463, allocations: 119.6 kB / 1.231 GB, free: 8.5 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001199/0.9464, allocations: 75.72 kB / 1.231 GB, free: 8.426 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.9466, allocations: 16.17 kB / 1.231 GB, free: 8.41 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001156/0.9467, allocations: 39.84 kB / 1.231 GB, free: 8.371 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001004/0.9468, allocations: 35.83 kB / 1.231 GB, free: 8.336 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.704e-05/0.9468, allocations: 12 kB / 1.231 GB, free: 8.324 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003044/0.9471, allocations: 103.8 kB / 1.231 GB, free: 8.223 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.249e-05/0.9472, allocations: 11.92 kB / 1.231 GB, free: 8.211 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.745e-05/0.9472, allocations: 35.86 kB / 1.231 GB, free: 8.176 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002808/0.9475, allocations: 128.1 kB / 1.231 GB, free: 8.055 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.9475, allocations: 0 / 1.231 GB, free: 8.055 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.292e-06/0.9475, allocations: 3.938 kB / 1.231 GB, free: 8.051 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.9475, allocations: 0 / 1.231 GB, free: 8.051 MB / 0.9512 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.0005864/0.9481, allocations: 387.1 kB / 1.231 GB, free: 7.625 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.9482, allocations: 8.031 kB / 1.231 GB, free: 7.617 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.353e-05/0.9482, allocations: 8.891 kB / 1.231 GB, free: 7.609 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001306/0.9483, allocations: 176.3 kB / 1.232 GB, free: 7.398 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.9484, allocations: 384 / 1.232 GB, free: 7.398 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.661e-05/0.9484, allocations: 8.375 kB / 1.232 GB, free: 7.391 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002199/0.9486, allocations: 81.59 kB / 1.232 GB, free: 7.305 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.9486, allocations: 3.938 kB / 1.232 GB, free: 7.301 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/0.9487, allocations: 8 kB / 1.232 GB, free: 7.293 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/0.9487, allocations: 4 kB / 1.232 GB, free: 7.289 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001933/0.9489, allocations: 75.92 kB / 1.232 GB, free: 7.215 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004996/0.9494, allocations: 328.6 kB / 1.232 GB, free: 6.844 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002449/0.9496, allocations: 102.4 kB / 1.232 GB, free: 6.734 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001085/0.9498, allocations: 48.84 kB / 1.232 GB, free: 6.684 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007943/0.9506, allocations: 0.7449 MB / 1.233 GB, free: 5.82 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.9506, allocations: 34.56 kB / 1.233 GB, free: 5.777 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=8): time 1.242e-06/0.9506, allocations: 0 / 1.233 GB, free: 5.777 MB / 0.9512 GB Notification: Performance of matching and sorting (n=8): time 0.0004111/0.951, allocations: 141.8 kB / 1.233 GB, free: 5.633 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.277e-05/0.9511, allocations: 59.34 kB / 1.233 GB, free: 5.562 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.21e-05/0.9512, allocations: 117.8 kB / 1.233 GB, free: 5.438 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.9512, allocations: 25.7 kB / 1.233 GB, free: 5.406 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.1e-05/0.9513, allocations: 100.1 kB / 1.233 GB, free: 5.305 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.316e-05/0.9513, allocations: 27.75 kB / 1.233 GB, free: 5.277 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.615e-05/0.9513, allocations: 21.7 kB / 1.233 GB, free: 5.25 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.9515, allocations: 318.8 kB / 1.234 GB, free: 4.93 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.132e-05/0.9516, allocations: 31.97 kB / 1.234 GB, free: 4.898 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.239e-05/0.9517, allocations: 41.7 kB / 1.234 GB, free: 4.852 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001784/0.9518, allocations: 85.92 kB / 1.234 GB, free: 4.762 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.9519, allocations: 0 / 1.234 GB, free: 4.762 MB / 0.9512 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002403/0.9521, allocations: 109.6 kB / 1.234 GB, free: 4.648 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.9521, allocations: 8 kB / 1.234 GB, free: 4.641 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.82e-06/0.9521, allocations: 0 / 1.234 GB, free: 4.641 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.9522, allocations: 3.938 kB / 1.234 GB, free: 4.637 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001466/0.9523, allocations: 28.06 kB / 1.234 GB, free: 4.609 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/0.9523, allocations: 7.922 kB / 1.234 GB, free: 4.602 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.325e-05/0.9524, allocations: 11.94 kB / 1.234 GB, free: 4.59 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.133e-05/0.9524, allocations: 4 kB / 1.234 GB, free: 4.586 MB / 0.9512 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 8.761e-05/0.9525, allocations: 114.4 kB / 1.234 GB, free: 4.465 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.947e-05/0.9525, allocations: 3.953 kB / 1.234 GB, free: 4.461 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002966/0.9528, allocations: 130.1 kB / 1.234 GB, free: 4.328 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-06/0.9529, allocations: 3.938 kB / 1.234 GB, free: 4.324 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.9529, allocations: 0 / 1.234 GB, free: 4.324 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.9529, allocations: 4 kB / 1.234 GB, free: 4.32 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001903/0.9531, allocations: 185.6 kB / 1.234 GB, free: 4.09 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.9531, allocations: 4 kB / 1.234 GB, free: 4.086 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000103/0.9532, allocations: 15.98 kB / 1.234 GB, free: 4.07 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.9532, allocations: 3.984 kB / 1.234 GB, free: 4.066 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.818e-06/0.9532, allocations: 0 / 1.234 GB, free: 4.066 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.9532, allocations: 3.938 kB / 1.234 GB, free: 4.062 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.9532, allocations: 8 kB / 1.234 GB, free: 4.055 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002681/0.9535, allocations: 199.5 kB / 1.235 GB, free: 3.844 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.699e-05/0.9536, allocations: 85 kB / 1.235 GB, free: 3.742 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.219e-05/0.9536, allocations: 8 kB / 1.235 GB, free: 3.734 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.654e-05/0.9537, allocations: 7.922 kB / 1.235 GB, free: 3.727 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.158e-05/0.9538, allocations: 8 kB / 1.235 GB, free: 3.719 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-06/0.9538, allocations: 11.98 kB / 1.235 GB, free: 3.707 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.051e-05/0.9538, allocations: 87.28 kB / 1.235 GB, free: 3.621 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9538, allocations: 0 / 1.235 GB, free: 3.621 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002629/0.9541, allocations: 27.92 kB / 1.235 GB, free: 3.594 MB / 0.9512 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.0002202/0.9543, allocations: 115.1 kB / 1.235 GB, free: 3.473 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002536/0.9546, allocations: 87.88 kB / 1.235 GB, free: 3.387 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.9546, allocations: 4 kB / 1.235 GB, free: 3.383 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 9.704e-05/0.9547, allocations: 43.97 kB / 1.235 GB, free: 3.34 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002959/0.955, allocations: 1.406 kB / 1.235 GB, free: 3.34 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004371/0.9555, allocations: 213.7 kB / 1.235 GB, free: 3.105 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002491/0.9557, allocations: 0.6885 MB / 1.236 GB, free: 2.391 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 6.233e-05/0.9558, allocations: 16.45 kB / 1.236 GB, free: 2.375 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.707e-05/0.9558, allocations: 15.44 kB / 1.236 GB, free: 2.359 MB / 0.9512 GB Notification: Performance of SimCode: time 2.3e-07/0.9558, allocations: 0 / 1.236 GB, free: 2.359 MB / 0.9512 GB Notification: Performance of Templates: time 0.003586/0.9594, allocations: 1.024 MB / 1.237 GB, free: 1.34 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1) 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) Reference file matches