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.001665/0.001665, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002077/0.002077, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.441/1.441, allocations: 222.9 MB / 240.2 MB, free: 4.379 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.306/2.306, allocations: 390.2 MB / 0.6647 GB, free: 464 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 71.89 kB / 0.8125 GB, free: 14.46 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5851/0.5863, allocations: 140.4 MB / 0.9496 GB, free: 9.301 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.002299/0.5886, allocations: 1.595 MB / 0.9511 GB, free: 8.039 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002656/0.5913, allocations: 3.259 MB / 0.9543 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.622e-05/0.5913, allocations: 0 / 0.9543 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.746e-05/0.5914, allocations: 11.81 kB / 0.9543 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.03e-05/0.5915, allocations: 18.64 kB / 0.9544 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003726/0.5919, allocations: 117.8 kB / 0.9545 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.197e-05/0.592, allocations: 79.44 kB / 0.9545 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.808e-05/0.592, allocations: 6.562 kB / 0.9545 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.417e-05/0.5921, allocations: 50.95 kB / 0.9546 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.632e-05/0.5922, allocations: 36.38 kB / 0.9546 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.624e-05/0.5922, allocations: 5 kB / 0.9546 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002397/0.5925, allocations: 104.5 kB / 0.9547 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.658e-05/0.5925, allocations: 10.45 kB / 0.9547 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.547e-05/0.5925, allocations: 31.48 kB / 0.9548 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001976/0.5927, allocations: 124.8 kB / 0.9549 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.5928, allocations: 1.219 kB / 0.9549 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.392e-06/0.5928, allocations: 0 / 0.9549 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.5928, allocations: 0 / 0.9549 GB, free: 4.984 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.0004602/0.5932, allocations: 398.2 kB / 0.9553 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.5933, allocations: 10.09 kB / 0.9553 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.674e-05/0.5933, allocations: 7.406 kB / 0.9553 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.789e-05/0.5934, allocations: 172.1 kB / 0.9555 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.528e-06/0.5934, allocations: 6.594 kB / 0.9555 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.7e-05/0.5934, allocations: 6.781 kB / 0.9555 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001818/0.5936, allocations: 89.48 kB / 0.9556 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.5936, allocations: 0.9062 kB / 0.9556 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.5937, allocations: 3.984 kB / 0.9556 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.5937, allocations: 2.344 kB / 0.9556 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001789/0.5938, allocations: 73.28 kB / 0.9556 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00038/0.5942, allocations: 329.3 kB / 0.9559 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001982/0.5944, allocations: 94.89 kB / 0.956 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.349e-05/0.5945, allocations: 45.7 kB / 0.9561 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005929/0.5951, allocations: 0.7506 MB / 0.9568 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.27e-05/0.5952, allocations: 31.84 kB / 0.9568 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.032e-06/0.5952, allocations: 0 / 0.9568 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.000376/0.5956, allocations: 141.2 kB / 0.957 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.805e-05/0.5956, allocations: 56.84 kB / 0.957 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.127e-05/0.5957, allocations: 120.5 kB / 0.9571 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.888e-06/0.5957, allocations: 35.14 kB / 0.9572 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.01e-05/0.5957, allocations: 90.17 kB / 0.9573 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.708e-05/0.5957, allocations: 27.17 kB / 0.9573 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.803e-05/0.5958, allocations: 23.41 kB / 0.9573 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.811e-05/0.5958, allocations: 324 kB / 0.9576 GB, free: 2.211 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.359e-05/0.5959, allocations: 28.8 kB / 0.9577 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.831e-05/0.596, allocations: 47.81 kB / 0.9577 GB, free: 2.164 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001645/0.5962, allocations: 82.55 kB / 0.9578 GB, free: 2.113 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.5962, allocations: 0 / 0.9578 GB, free: 2.113 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002071/0.5964, allocations: 111 kB / 0.9579 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.5964, allocations: 7.531 kB / 0.9579 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.5964, allocations: 4 kB / 0.9579 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.5964, allocations: 3.5 kB / 0.9579 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001291/0.5966, allocations: 22.67 kB / 0.9579 GB, free: 2.031 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.261e-06/0.5966, allocations: 0 / 0.9579 GB, free: 2.031 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.086e-05/0.5967, allocations: 6.906 kB / 0.9579 GB, free: 2.027 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.117e-06/0.5967, allocations: 7.641 kB / 0.9579 GB, free: 2.023 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.181e-05/0.5967, allocations: 121.7 kB / 0.958 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.612e-05/0.5968, allocations: 11.81 kB / 0.9581 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002584/0.597, allocations: 117.9 kB / 0.9582 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.776e-06/0.5971, allocations: 1.406 kB / 0.9582 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.646e-06/0.5971, allocations: 0 / 0.9582 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.5971, allocations: 5.578 kB / 0.9582 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001356/0.5972, allocations: 189.6 kB / 0.9584 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.5972, allocations: 0 / 0.9584 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001066/0.5973, allocations: 17.02 kB / 0.9584 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.5973, allocations: 11.94 kB / 0.9584 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-06/0.5974, allocations: 1.688 kB / 0.9584 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.5974, allocations: 0 / 0.9584 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.5974, allocations: 0 / 0.9584 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002166/0.5976, allocations: 202.3 kB / 0.9586 GB, free: 1.402 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.958e-05/0.5976, allocations: 90.66 kB / 0.9587 GB, free: 1.297 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.857e-05/0.5976, allocations: 11.81 kB / 0.9587 GB, free: 1.285 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.518e-05/0.5977, allocations: 7.844 kB / 0.9587 GB, free: 1.281 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.933e-05/0.5978, allocations: 7.547 kB / 0.9587 GB, free: 1.277 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-06/0.5978, allocations: 1.812 kB / 0.9587 GB, free: 1.277 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.994e-05/0.5978, allocations: 96.27 kB / 0.9588 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5978, allocations: 0 / 0.9588 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002567/0.5981, allocations: 17.91 kB / 0.9588 GB, free: 1.191 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.0001822/0.5983, allocations: 125.9 kB / 0.9589 GB, free: 1.086 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002344/0.5985, allocations: 81.34 kB / 0.959 GB, free: 1.051 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.5985, allocations: 1.375 kB / 0.959 GB, free: 1.051 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.014e-05/0.5986, allocations: 39.36 kB / 0.959 GB, free: 1.035 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003035/0.5989, allocations: 8.297 kB / 0.959 GB, free: 1.031 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003647/0.5993, allocations: 207.5 kB / 0.9592 GB, free: 0.8672 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.59e-05/0.5994, allocations: 0.6895 MB / 0.9599 GB, free: 168 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 7.607e-05/0.5995, allocations: 10.94 kB / 0.9599 GB, free: 160 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.074e-05/0.5995, allocations: 19.7 kB / 0.9599 GB, free: 144 kB / 0.7169 GB Notification: Performance of SimCode: time 2.51e-07/0.5995, allocations: 0 / 0.9599 GB, free: 144 kB / 0.7169 GB Notification: Performance of Templates: time 0.003309/0.6029, allocations: 1.017 MB / 0.9609 GB, free: 15.62 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