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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001615/0.001615, allocations: 110.7 kB / 16.41 MB, free: 6.492 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.001665/0.001665, allocations: 187 kB / 17.34 MB, free: 5.762 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.37/1.37, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.638/2.638, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00156/0.001561, allocations: 63.91 kB / 1.055 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9275/0.9291, allocations: 157.4 MB / 1.208 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.0028/0.9319, allocations: 1.611 MB / 1.21 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003679/0.9356, allocations: 3.252 MB / 1.213 GB, free: 8.672 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.468e-05/0.9357, allocations: 4 kB / 1.213 GB, free: 8.668 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.793e-05/0.9358, allocations: 3.938 kB / 1.213 GB, free: 8.664 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.96e-05/0.9359, allocations: 11.86 kB / 1.213 GB, free: 8.652 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005169/0.9364, allocations: 119.5 kB / 1.213 GB, free: 8.535 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001131/0.9365, allocations: 79.7 kB / 1.213 GB, free: 8.457 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.839e-05/0.9366, allocations: 12.17 kB / 1.213 GB, free: 8.445 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001074/0.9367, allocations: 39.84 kB / 1.213 GB, free: 8.406 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001007/0.9369, allocations: 35.84 kB / 1.213 GB, free: 8.371 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.677e-05/0.9369, allocations: 8 kB / 1.213 GB, free: 8.363 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002744/0.9372, allocations: 107.8 kB / 1.214 GB, free: 8.258 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.179e-05/0.9372, allocations: 19.92 kB / 1.214 GB, free: 8.238 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.907e-05/0.9372, allocations: 27.86 kB / 1.214 GB, free: 8.211 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002264/0.9375, allocations: 123.5 kB / 1.214 GB, free: 8.094 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.9375, allocations: 0 / 1.214 GB, free: 8.094 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.773e-06/0.9375, allocations: 0 / 1.214 GB, free: 8.094 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.9375, allocations: 0 / 1.214 GB, free: 8.094 MB / 0.9356 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.0005836/0.9381, allocations: 389.1 kB / 1.214 GB, free: 7.668 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.9381, allocations: 8.031 kB / 1.214 GB, free: 7.66 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.45e-05/0.9382, allocations: 20.72 kB / 1.214 GB, free: 7.641 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001289/0.9383, allocations: 180.2 kB / 1.214 GB, free: 7.426 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.9383, allocations: 4.375 kB / 1.214 GB, free: 7.422 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.638e-05/0.9384, allocations: 384 / 1.214 GB, free: 7.422 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002114/0.9386, allocations: 85.58 kB / 1.214 GB, free: 7.332 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.9386, allocations: 4 kB / 1.214 GB, free: 7.328 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.9386, allocations: 4 kB / 1.214 GB, free: 7.324 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.9386, allocations: 0 / 1.214 GB, free: 7.324 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001939/0.9388, allocations: 75.88 kB / 1.214 GB, free: 7.25 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004964/0.9393, allocations: 328.6 kB / 1.215 GB, free: 6.879 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002285/0.9396, allocations: 86.55 kB / 1.215 GB, free: 6.785 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.893e-05/0.9397, allocations: 48.83 kB / 1.215 GB, free: 6.734 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008006/0.9405, allocations: 0.7529 MB / 1.216 GB, free: 5.863 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.744e-05/0.9405, allocations: 42.56 kB / 1.216 GB, free: 5.812 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=8): time 1.263e-06/0.9405, allocations: 0 / 1.216 GB, free: 5.812 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8): time 0.0003999/0.9409, allocations: 137.7 kB / 1.216 GB, free: 5.672 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.917e-05/0.941, allocations: 55.39 kB / 1.216 GB, free: 5.605 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.882e-05/0.9411, allocations: 121.8 kB / 1.216 GB, free: 5.477 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.665e-05/0.9411, allocations: 25.7 kB / 1.216 GB, free: 5.445 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.252e-05/0.9412, allocations: 96.05 kB / 1.216 GB, free: 5.348 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.056e-05/0.9412, allocations: 23.64 kB / 1.216 GB, free: 5.324 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.485e-05/0.9413, allocations: 29.8 kB / 1.216 GB, free: 5.289 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.9414, allocations: 314.8 kB / 1.216 GB, free: 4.973 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.69e-05/0.9415, allocations: 27.98 kB / 1.217 GB, free: 4.945 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.208e-05/0.9416, allocations: 45.69 kB / 1.217 GB, free: 4.895 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001753/0.9417, allocations: 85.67 kB / 1.217 GB, free: 4.805 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.9417, allocations: 0 / 1.217 GB, free: 4.805 MB / 0.9356 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002228/0.942, allocations: 113.5 kB / 1.217 GB, free: 4.688 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.942, allocations: 5.875 kB / 1.217 GB, free: 4.684 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.942, allocations: 0 / 1.217 GB, free: 4.684 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.942, allocations: 11.92 kB / 1.217 GB, free: 4.672 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000144/0.9422, allocations: 20.02 kB / 1.217 GB, free: 4.652 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.9422, allocations: 4 kB / 1.217 GB, free: 4.648 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.336e-05/0.9423, allocations: 8.172 kB / 1.217 GB, free: 4.641 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.754e-06/0.9423, allocations: 3.938 kB / 1.217 GB, free: 4.637 MB / 0.9356 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.574e-05/0.9424, allocations: 121.7 kB / 1.217 GB, free: 4.508 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.091e-05/0.9424, allocations: 7.906 kB / 1.217 GB, free: 4.5 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002924/0.9427, allocations: 122 kB / 1.217 GB, free: 4.375 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.9427, allocations: 7.922 kB / 1.217 GB, free: 4.367 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.9427, allocations: 0 / 1.217 GB, free: 4.367 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.9427, allocations: 0 / 1.217 GB, free: 4.367 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001836/0.9429, allocations: 193.5 kB / 1.217 GB, free: 4.129 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.9429, allocations: 0 / 1.217 GB, free: 4.129 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001092/0.9431, allocations: 27.92 kB / 1.217 GB, free: 4.102 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.9431, allocations: 0 / 1.217 GB, free: 4.102 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.9431, allocations: 4 kB / 1.217 GB, free: 4.098 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.9431, allocations: 3.938 kB / 1.217 GB, free: 4.094 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.9431, allocations: 0 / 1.217 GB, free: 4.094 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002527/0.9434, allocations: 199.5 kB / 1.217 GB, free: 3.883 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.077e-05/0.9434, allocations: 85.02 kB / 1.218 GB, free: 3.781 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.889e-05/0.9434, allocations: 4 kB / 1.218 GB, free: 3.777 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.753e-05/0.9435, allocations: 7.938 kB / 1.218 GB, free: 3.77 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.861e-05/0.9436, allocations: 7.984 kB / 1.218 GB, free: 3.762 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.62e-06/0.9436, allocations: 0 / 1.218 GB, free: 3.762 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.512e-05/0.9437, allocations: 95.27 kB / 1.218 GB, free: 3.668 MB / 0.9356 GB Notification: Performance of sort global known variables: time 3.21e-07/0.9437, allocations: 0 / 1.218 GB, free: 3.668 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000254/0.9439, allocations: 24 kB / 1.218 GB, free: 3.645 MB / 0.9356 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.0002174/0.9442, allocations: 123.1 kB / 1.218 GB, free: 3.516 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002465/0.9444, allocations: 76.02 kB / 1.218 GB, free: 3.441 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.9444, allocations: 4 kB / 1.218 GB, free: 3.438 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.246e-05/0.9445, allocations: 40.39 kB / 1.218 GB, free: 3.398 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003254/0.9449, allocations: 11.98 kB / 1.218 GB, free: 3.387 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004347/0.9453, allocations: 235.5 kB / 1.218 GB, free: 3.125 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00025/0.9456, allocations: 0.6961 MB / 1.219 GB, free: 2.402 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.416e-05/0.9456, allocations: 23.36 kB / 1.219 GB, free: 2.379 MB / 0.9356 GB Notification: Performance of SimCode: time 4e-07/0.9456, allocations: 0 / 1.219 GB, free: 2.379 MB / 0.9356 GB Notification: Performance of Templates: time 0.002724/0.9483, allocations: 1.259 MB / 1.22 GB, free: 1.133 MB / 0.9356 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/jenkins1/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