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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007474/0.0007474, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.004799/0.0048, allocations: 169.5 kB / 16.26 MB, free: 6.613 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.302/1.302, allocations: 223.3 MB / 240.3 MB, free: 5.363 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.176/2.176, allocations: 390.9 MB / 0.6664 GB, free: 2.395 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000444/0.000444, allocations: 12 kB / 0.8161 GB, free: 13.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5928/0.5933, allocations: 142.4 MB / 0.9552 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.001477/0.5948, allocations: 1.311 MB / 0.9565 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002688/0.5975, allocations: 3.206 MB / 0.9596 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.106e-05/0.5976, allocations: 1.375 kB / 0.9596 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.876e-05/0.5976, allocations: 7.922 kB / 0.9596 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.774e-05/0.5977, allocations: 6.688 kB / 0.9596 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003752/0.5981, allocations: 113.6 kB / 0.9597 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.565e-05/0.5982, allocations: 71.34 kB / 0.9598 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.095e-05/0.5983, allocations: 17.66 kB / 0.9598 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001012/0.5984, allocations: 30.98 kB / 0.9598 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.376e-05/0.5985, allocations: 34.84 kB / 0.9599 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.33e-05/0.5985, allocations: 2.75 kB / 0.9599 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002325/0.5987, allocations: 101.1 kB / 0.96 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.595e-05/0.5987, allocations: 10.73 kB / 0.96 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.055e-05/0.5988, allocations: 53.75 kB / 0.96 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001883/0.599, allocations: 116.6 kB / 0.9601 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.599, allocations: 0 / 0.9601 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.154e-06/0.599, allocations: 0 / 0.9601 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.927e-06/0.599, allocations: 0 / 0.9601 GB, free: 3.781 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.0004434/0.5995, allocations: 386.8 kB / 0.9605 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.5995, allocations: 9.625 kB / 0.9605 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.494e-05/0.5995, allocations: 36.11 kB / 0.9606 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.758e-05/0.5996, allocations: 7.594 kB / 0.9606 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.478e-05/0.5997, allocations: 176.3 kB / 0.9607 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.5997, allocations: 10.69 kB / 0.9607 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.386e-05/0.5997, allocations: 2.75 kB / 0.9607 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001983/0.5999, allocations: 88.89 kB / 0.9608 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.5999, allocations: 3.984 kB / 0.9608 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.5999, allocations: 5.344 kB / 0.9608 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.6, allocations: 1.344 kB / 0.9608 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001972/0.6002, allocations: 76.7 kB / 0.9609 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000408/0.6006, allocations: 338.1 kB / 0.9612 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002118/0.6008, allocations: 102.4 kB / 0.9613 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001052/0.6009, allocations: 54.2 kB / 0.9614 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005923/0.6015, allocations: 0.7411 MB / 0.9621 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.802e-05/0.6015, allocations: 39.38 kB / 0.9621 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.232e-06/0.6015, allocations: 1 kB / 0.9621 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0003925/0.6019, allocations: 148 kB / 0.9623 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.373e-05/0.602, allocations: 53.28 kB / 0.9623 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.969e-05/0.602, allocations: 120.5 kB / 0.9624 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.161e-05/0.6021, allocations: 25.7 kB / 0.9625 GB, free: 1.434 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.183e-05/0.6021, allocations: 95.16 kB / 0.9626 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.97e-05/0.6021, allocations: 22.97 kB / 0.9626 GB, free: 1.32 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.63e-05/0.6022, allocations: 19.7 kB / 0.9626 GB, free: 1.297 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.549e-05/0.6022, allocations: 320.9 kB / 0.9629 GB, free: 0.9766 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.707e-05/0.6023, allocations: 27.64 kB / 0.9629 GB, free: 0.9688 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.885e-05/0.6024, allocations: 52.69 kB / 0.963 GB, free: 0.9336 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001595/0.6026, allocations: 89.62 kB / 0.9631 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.6026, allocations: 0 / 0.9631 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002145/0.6028, allocations: 127.6 kB / 0.9632 GB, free: 0.8047 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.6028, allocations: 9.469 kB / 0.9632 GB, free: 0.8008 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.6028, allocations: 0 / 0.9632 GB, free: 0.8008 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.608e-06/0.6029, allocations: 1.562 kB / 0.9632 GB, free: 0.8008 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001229/0.603, allocations: 20.8 kB / 0.9632 GB, free: 0.7969 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.91e-06/0.603, allocations: 1 kB / 0.9632 GB, free: 0.7969 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.989e-05/0.6031, allocations: 10.14 kB / 0.9632 GB, free: 0.793 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-06/0.6031, allocations: 2.031 kB / 0.9632 GB, free: 0.793 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 4.973e-05/0.6031, allocations: 120.8 kB / 0.9634 GB, free: 0.668 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.741e-05/0.6032, allocations: 11.31 kB / 0.9634 GB, free: 0.6602 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002662/0.6034, allocations: 136.4 kB / 0.9635 GB, free: 0.5703 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.6035, allocations: 9.891 kB / 0.9635 GB, free: 0.5625 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.6035, allocations: 0 / 0.9635 GB, free: 0.5625 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.6035, allocations: 0 / 0.9635 GB, free: 0.5625 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001275/0.6036, allocations: 194.2 kB / 0.9637 GB, free: 348 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.6036, allocations: 0 / 0.9637 GB, free: 348 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.91e-05/0.6037, allocations: 18.67 kB / 0.9637 GB, free: 344 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.6037, allocations: 4.75 kB / 0.9637 GB, free: 340 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-06/0.6037, allocations: 1.031 kB / 0.9637 GB, free: 340 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.6037, allocations: 0 / 0.9637 GB, free: 340 kB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.6037, allocations: 1.094 kB / 0.9637 GB, free: 340 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002161/0.604, allocations: 215.4 kB / 0.9639 GB, free: 160 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.64e-05/0.604, allocations: 87.27 kB / 0.964 GB, free: 56 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.57e-05/0.604, allocations: 5.125 kB / 0.964 GB, free: 52 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.27e-05/0.6041, allocations: 9.5 kB / 0.964 GB, free: 48 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.769e-05/0.6042, allocations: 6.797 kB / 0.964 GB, free: 44 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.261e-06/0.6042, allocations: 2.031 kB / 0.964 GB, free: 44 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.184e-05/0.6042, allocations: 92.42 kB / 0.9641 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6042, allocations: 0 / 0.9641 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002386/0.6045, allocations: 20.84 kB / 0.9641 GB, free: 15.96 MB / 0.7325 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.000622/0.6051, allocations: 0.7723 MB / 0.9649 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002371/0.6054, allocations: 84.86 kB / 0.965 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.6054, allocations: 0 / 0.965 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001008/0.6055, allocations: 52.06 kB / 0.965 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002612/0.6057, allocations: 8.031 kB / 0.965 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004968/0.6063, allocations: 292.3 kB / 0.9653 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002258/0.6065, allocations: 0.6857 MB / 0.966 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 6.108e-05/0.6066, allocations: 20.2 kB / 0.966 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.332e-05/0.6066, allocations: 18.84 kB / 0.966 GB, free: 14.19 MB / 0.7325 GB Notification: Performance of SimCode: time 2.61e-07/0.6066, allocations: 0 / 0.966 GB, free: 14.19 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.56/2.166, allocations: 1.972 MB / 0.9679 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003266/2.167, allocations: 219 kB / 0.9681 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.214/5.381, allocations: 0 / 0.9681 GB, free: 13.01 MB / 0.7325 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber.fmu > 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/jenkins1/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