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.007777/0.007784, allocations: 100.6 kB / 15.73 MB, free: 6.012 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.001813/0.001813, allocations: 187.8 kB / 16.67 MB, free: 5.949 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.41/1.41, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.754/2.754, allocations: 461.9 MB / 0.7348 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 67.89 kB / 1.054 GB, free: 7.125 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.33/0.3313, allocations: 157.4 MB / 1.208 GB, free: 9.609 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.003146/0.3345, allocations: 1.587 MB / 1.209 GB, free: 8.008 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.004547/0.3391, allocations: 3.26 MB / 1.213 GB, free: 4.73 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.915e-05/0.3392, allocations: 4 kB / 1.213 GB, free: 4.727 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.104e-05/0.3393, allocations: 7.922 kB / 1.213 GB, free: 4.719 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.72e-05/0.3394, allocations: 11.88 kB / 1.213 GB, free: 4.707 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005456/0.34, allocations: 123.5 kB / 1.213 GB, free: 4.586 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001295/0.3401, allocations: 79.7 kB / 1.213 GB, free: 4.508 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.951e-05/0.3402, allocations: 8.188 kB / 1.213 GB, free: 4.5 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001271/0.3403, allocations: 43.84 kB / 1.213 GB, free: 4.457 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001002/0.3404, allocations: 39.83 kB / 1.213 GB, free: 4.418 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.686e-05/0.3405, allocations: 4 kB / 1.213 GB, free: 4.414 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003457/0.3408, allocations: 103.8 kB / 1.213 GB, free: 4.312 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.015e-05/0.3408, allocations: 15.94 kB / 1.213 GB, free: 4.297 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.542e-05/0.3409, allocations: 27.86 kB / 1.213 GB, free: 4.27 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002611/0.3412, allocations: 131.6 kB / 1.213 GB, free: 4.141 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.3412, allocations: 0 / 1.213 GB, free: 4.141 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3412, allocations: 0 / 1.213 GB, free: 4.141 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.603e-06/0.3412, allocations: 4 kB / 1.213 GB, free: 4.137 MB / 0.9669 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.0006327/0.3418, allocations: 387.2 kB / 1.213 GB, free: 3.711 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/0.3419, allocations: 8.625 kB / 1.213 GB, free: 3.703 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.306e-05/0.342, allocations: 12.83 kB / 1.213 GB, free: 3.691 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001588/0.3421, allocations: 176.2 kB / 1.214 GB, free: 3.48 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.659e-05/0.3421, allocations: 8.375 kB / 1.214 GB, free: 3.473 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.414e-05/0.3422, allocations: 384 / 1.214 GB, free: 3.473 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002406/0.3424, allocations: 81.59 kB / 1.214 GB, free: 3.387 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.3424, allocations: 4 kB / 1.214 GB, free: 3.383 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.968e-05/0.3425, allocations: 7.984 kB / 1.214 GB, free: 3.375 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.3425, allocations: 3.938 kB / 1.214 GB, free: 3.371 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000209/0.3427, allocations: 71.89 kB / 1.214 GB, free: 3.301 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005438/0.3432, allocations: 332.6 kB / 1.214 GB, free: 2.926 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002331/0.3435, allocations: 94.55 kB / 1.214 GB, free: 2.824 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001072/0.3436, allocations: 44.97 kB / 1.214 GB, free: 2.777 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000878/0.3445, allocations: 0.7488 MB / 1.215 GB, free: 1.91 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.113e-05/0.3445, allocations: 38.56 kB / 1.215 GB, free: 1.863 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 4.117e-06/0.3445, allocations: 3.984 kB / 1.215 GB, free: 1.859 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.000417/0.345, allocations: 137.5 kB / 1.215 GB, free: 1.719 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.086e-05/0.345, allocations: 55.5 kB / 1.215 GB, free: 1.652 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/0.3451, allocations: 129.7 kB / 1.215 GB, free: 1.516 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.641e-05/0.3451, allocations: 25.7 kB / 1.215 GB, free: 1.484 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.12e-05/0.3452, allocations: 95.97 kB / 1.215 GB, free: 1.387 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.467e-05/0.3452, allocations: 27.64 kB / 1.215 GB, free: 1.359 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.109e-05/0.3453, allocations: 21.72 kB / 1.216 GB, free: 1.332 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.3454, allocations: 318.8 kB / 1.216 GB, free: 1.012 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.989e-05/0.3455, allocations: 27.98 kB / 1.216 GB, free: 0.9844 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.883e-05/0.3456, allocations: 49.69 kB / 1.216 GB, free: 0.9297 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001883/0.3458, allocations: 74 kB / 1.216 GB, free: 0.8516 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.3458, allocations: 3.938 kB / 1.216 GB, free: 0.8477 MB / 0.9669 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000259/0.3461, allocations: 113.5 kB / 1.216 GB, free: 0.7305 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.3461, allocations: 7.984 kB / 1.216 GB, free: 0.7227 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.3461, allocations: 4.031 kB / 1.216 GB, free: 0.7188 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.3462, allocations: 7.938 kB / 1.216 GB, free: 0.7109 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001382/0.3463, allocations: 23.92 kB / 1.216 GB, free: 0.6875 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.3463, allocations: 4 kB / 1.216 GB, free: 0.6836 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.891e-05/0.3464, allocations: 4 kB / 1.216 GB, free: 0.6797 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.817e-06/0.3464, allocations: 0 / 1.216 GB, free: 0.6797 MB / 0.9669 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.972e-05/0.3465, allocations: 117.9 kB / 1.216 GB, free: 0.5547 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.184e-05/0.3465, allocations: 11.84 kB / 1.216 GB, free: 0.543 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002952/0.3468, allocations: 126.1 kB / 1.216 GB, free: 424 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.004e-06/0.3469, allocations: 3.938 kB / 1.216 GB, free: 420 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.3469, allocations: 3.938 kB / 1.216 GB, free: 416 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.3469, allocations: 0 / 1.216 GB, free: 416 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001996/0.3471, allocations: 193.5 kB / 1.217 GB, free: 172 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.3471, allocations: 0 / 1.217 GB, free: 172 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001104/0.3472, allocations: 15.98 kB / 1.217 GB, free: 156 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.3472, allocations: 0 / 1.217 GB, free: 156 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.3472, allocations: 12 kB / 1.217 GB, free: 144 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.3472, allocations: 3.938 kB / 1.217 GB, free: 140 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.3473, allocations: 4 kB / 1.217 GB, free: 136 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000309/0.3476, allocations: 195.4 kB / 1.217 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.578e-05/0.3476, allocations: 85.05 kB / 1.217 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.787e-05/0.3476, allocations: 0 / 1.217 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.3478, allocations: 19.92 kB / 1.217 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.004e-05/0.3478, allocations: 11.92 kB / 1.217 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.171e-06/0.3478, allocations: 0 / 1.217 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.422e-05/0.3479, allocations: 91.27 kB / 1.217 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.3479, allocations: 0 / 1.217 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002766/0.3482, allocations: 24 kB / 1.217 GB, free: 15.68 MB / 0.9825 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.0002594/0.3484, allocations: 120.8 kB / 1.217 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002685/0.3487, allocations: 75.89 kB / 1.217 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.3487, allocations: 4 kB / 1.217 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000117/0.3488, allocations: 39.97 kB / 1.217 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003286/0.3492, allocations: 8 kB / 1.217 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005333/0.3497, allocations: 213.8 kB / 1.217 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003139/0.3501, allocations: 0.6922 MB / 1.218 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.517e-05/0.3501, allocations: 7.938 kB / 1.218 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.838e-05/0.3502, allocations: 15.44 kB / 1.218 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of SimCode: time 3.21e-07/0.3502, allocations: 0 / 1.218 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of Templates: time 0.003898/0.3541, allocations: 1.047 MB / 1.219 GB, free: 13.41 MB / 0.9825 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