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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001658/0.001658, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002048/0.002048, allocations: 191.3 kB / 16.25 MB, free: 6.625 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.379/1.379, allocations: 222.9 MB / 239.9 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.32/2.32, allocations: 390.2 MB / 0.6644 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.001339, allocations: 71.88 kB / 0.812 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5436/0.545, allocations: 140.4 MB / 0.9491 GB, free: 9.191 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.002526/0.5475, allocations: 1.656 MB / 0.9507 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002845/0.5504, allocations: 3.231 MB / 0.9539 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.001e-05/0.5505, allocations: 0 / 0.9539 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.257e-05/0.5505, allocations: 3.938 kB / 0.9539 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.006e-05/0.5506, allocations: 18.47 kB / 0.9539 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004857/0.5511, allocations: 109.4 kB / 0.954 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.86e-05/0.5512, allocations: 79.78 kB / 0.9541 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.702e-05/0.5513, allocations: 6.625 kB / 0.9541 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001052/0.5514, allocations: 44.28 kB / 0.9541 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.055e-05/0.5515, allocations: 39.11 kB / 0.9542 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.57e-05/0.5515, allocations: 6.281 kB / 0.9542 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000269/0.5518, allocations: 108.6 kB / 0.9543 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.748e-05/0.5518, allocations: 13.16 kB / 0.9543 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.398e-05/0.5519, allocations: 32.61 kB / 0.9543 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002105/0.5521, allocations: 117 kB / 0.9544 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.5521, allocations: 0 / 0.9544 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.783e-06/0.5521, allocations: 1.531 kB / 0.9544 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.5521, allocations: 4 kB / 0.9544 GB, free: 4.875 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.0004872/0.5526, allocations: 394 kB / 0.9548 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.5527, allocations: 9.688 kB / 0.9548 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.228e-05/0.5527, allocations: 7.344 kB / 0.9548 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.231e-05/0.5528, allocations: 172.5 kB / 0.955 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.5528, allocations: 9.469 kB / 0.955 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.927e-05/0.5528, allocations: 7.844 kB / 0.955 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000199/0.553, allocations: 85.3 kB / 0.9551 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.5531, allocations: 0 / 0.9551 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.5531, allocations: 1.219 kB / 0.9551 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.002e-06/0.5531, allocations: 5.297 kB / 0.9551 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001892/0.5533, allocations: 73.47 kB / 0.9552 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004091/0.5537, allocations: 334.1 kB / 0.9555 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002128/0.5539, allocations: 90.02 kB / 0.9556 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.449e-05/0.554, allocations: 46.3 kB / 0.9556 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006074/0.5546, allocations: 0.7545 MB / 0.9564 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.205e-05/0.5547, allocations: 31.81 kB / 0.9564 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.193e-06/0.5547, allocations: 0 / 0.9564 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0003772/0.5551, allocations: 145.4 kB / 0.9565 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.837e-05/0.5551, allocations: 56.84 kB / 0.9566 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.175e-05/0.5552, allocations: 124.8 kB / 0.9567 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.015e-05/0.5552, allocations: 29.7 kB / 0.9567 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.113e-05/0.5552, allocations: 90.86 kB / 0.9568 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.74e-05/0.5552, allocations: 27.05 kB / 0.9568 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.895e-05/0.5553, allocations: 23.72 kB / 0.9569 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.873e-05/0.5553, allocations: 320.9 kB / 0.9572 GB, free: 2.102 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.29e-05/0.5554, allocations: 24.42 kB / 0.9572 GB, free: 2.094 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.114e-05/0.5555, allocations: 51.81 kB / 0.9572 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001526/0.5557, allocations: 77.38 kB / 0.9573 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.5557, allocations: 1.438 kB / 0.9573 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002089/0.5559, allocations: 107.5 kB / 0.9574 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.5559, allocations: 13.97 kB / 0.9574 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.5559, allocations: 0 / 0.9574 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.5559, allocations: 1.5 kB / 0.9574 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001298/0.5561, allocations: 18.14 kB / 0.9574 GB, free: 1.93 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.5561, allocations: 1.125 kB / 0.9574 GB, free: 1.93 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.475e-05/0.5562, allocations: 12.92 kB / 0.9575 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.347e-06/0.5562, allocations: 1.344 kB / 0.9575 GB, free: 1.922 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.559e-05/0.5562, allocations: 121.4 kB / 0.9576 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.111e-05/0.5563, allocations: 16.66 kB / 0.9576 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002593/0.5565, allocations: 123.1 kB / 0.9577 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.5565, allocations: 3.531 kB / 0.9577 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.5566, allocations: 3.984 kB / 0.9577 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.5566, allocations: 0 / 0.9577 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001372/0.5567, allocations: 184.4 kB / 0.9579 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.5567, allocations: 0 / 0.9579 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001054/0.5568, allocations: 25.55 kB / 0.9579 GB, free: 1.469 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.5568, allocations: 4.969 kB / 0.9579 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/0.5568, allocations: 0 / 0.9579 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.5569, allocations: 1.125 kB / 0.9579 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.5569, allocations: 0 / 0.9579 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002246/0.5571, allocations: 212.4 kB / 0.9581 GB, free: 1.285 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.889e-05/0.5571, allocations: 83.48 kB / 0.9582 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.949e-05/0.5571, allocations: 13.19 kB / 0.9582 GB, free: 1.176 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.5572, allocations: 3.094 kB / 0.9582 GB, free: 1.176 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.093e-05/0.5573, allocations: 7.578 kB / 0.9582 GB, free: 1.172 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.264e-06/0.5573, allocations: 5.125 kB / 0.9582 GB, free: 1.168 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.395e-05/0.5573, allocations: 96.92 kB / 0.9583 GB, free: 1.082 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5573, allocations: 0 / 0.9583 GB, free: 1.082 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002639/0.5576, allocations: 24.06 kB / 0.9583 GB, free: 1.078 MB / 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 (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.0001619/0.5578, allocations: 123.1 kB / 0.9585 GB, free: 0.9766 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002262/0.558, allocations: 74.77 kB / 0.9585 GB, free: 0.9453 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.558, allocations: 0 / 0.9585 GB, free: 0.9453 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.115e-05/0.5581, allocations: 44.14 kB / 0.9586 GB, free: 0.9258 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002904/0.5584, allocations: 7.188 kB / 0.9586 GB, free: 0.9219 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003573/0.5588, allocations: 227.6 kB / 0.9588 GB, free: 0.7344 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001181/0.5589, allocations: 0.69 MB / 0.9595 GB, free: 32 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 6.481e-05/0.559, allocations: 14.2 kB / 0.9595 GB, free: 20 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.168e-05/0.559, allocations: 15.61 kB / 0.9595 GB, free: 8 kB / 0.7169 GB Notification: Performance of SimCode: time 2.41e-07/0.559, allocations: 0 / 0.9595 GB, free: 8 kB / 0.7169 GB Notification: Performance of Templates: time 0.003157/0.5622, allocations: 0.9709 MB / 0.9605 GB, free: 15.51 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