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: 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.00576/0.00576, allocations: 101.1 kB / 15.88 MB, free: 5.867 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.00125/0.00125, allocations: 193.5 kB / 16.79 MB, free: 5.809 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.387/1.387, allocations: 222.9 MB / 240.5 MB, free: 4.574 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.44/2.44, allocations: 390.2 MB / 0.6649 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001568/0.001568, allocations: 71.84 kB / 0.8125 GB, free: 14.82 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7101/0.7117, allocations: 140.3 MB / 0.9496 GB, free: 9.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.002636/0.7144, allocations: 1.662 MB / 0.9512 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003016/0.7175, allocations: 3.236 MB / 0.9544 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.173e-05/0.7175, allocations: 0 / 0.9544 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.133e-05/0.7176, allocations: 3.984 kB / 0.9544 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.278e-05/0.7178, allocations: 18.64 kB / 0.9544 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000449/0.7182, allocations: 102.2 kB / 0.9545 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.919e-05/0.7183, allocations: 74.97 kB / 0.9546 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.865e-05/0.7184, allocations: 18.47 kB / 0.9546 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.799e-05/0.7185, allocations: 34.3 kB / 0.9546 GB, free: 5 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.137e-05/0.7186, allocations: 40.12 kB / 0.9547 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.525e-05/0.7186, allocations: 2.906 kB / 0.9547 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000266/0.7189, allocations: 97.08 kB / 0.9547 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.809e-05/0.7189, allocations: 14.64 kB / 0.9548 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.169e-05/0.719, allocations: 28.08 kB / 0.9548 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001662/0.7191, allocations: 82.92 kB / 0.9549 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.7192, allocations: 1.094 kB / 0.9549 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.01e-07/0.7192, allocations: 4 kB / 0.9549 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.017e-06/0.7192, allocations: 0 / 0.9549 GB, free: 4.84 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.0005082/0.7197, allocations: 398.1 kB / 0.9553 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.7197, allocations: 14.03 kB / 0.9553 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.101e-05/0.7198, allocations: 8.719 kB / 0.9553 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.064e-05/0.7199, allocations: 170.7 kB / 0.9554 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.7199, allocations: 6.25 kB / 0.9554 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.476e-05/0.7199, allocations: 7.625 kB / 0.9555 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002035/0.7201, allocations: 77.84 kB / 0.9555 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.7201, allocations: 3.984 kB / 0.9555 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.7202, allocations: 1.031 kB / 0.9555 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.7202, allocations: 1.062 kB / 0.9555 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001968/0.7204, allocations: 78.16 kB / 0.9556 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004315/0.7208, allocations: 333 kB / 0.9559 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002172/0.721, allocations: 90.97 kB / 0.956 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.804e-05/0.7211, allocations: 41.88 kB / 0.956 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006521/0.7218, allocations: 0.7628 MB / 0.9568 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.611e-05/0.7218, allocations: 31.72 kB / 0.9568 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.222e-06/0.7218, allocations: 0 / 0.9568 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0003986/0.7222, allocations: 136.6 kB / 0.957 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.416e-05/0.7223, allocations: 56.59 kB / 0.957 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.831e-05/0.7223, allocations: 117 kB / 0.9571 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.123e-05/0.7224, allocations: 29.7 kB / 0.9571 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.813e-05/0.7224, allocations: 95.53 kB / 0.9572 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.795e-05/0.7224, allocations: 23.22 kB / 0.9573 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.116e-05/0.7225, allocations: 31.3 kB / 0.9573 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.924e-05/0.7225, allocations: 319.9 kB / 0.9576 GB, free: 2.07 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.267e-05/0.7226, allocations: 28.17 kB / 0.9576 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.776e-05/0.7227, allocations: 48.95 kB / 0.9577 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000162/0.7229, allocations: 73.75 kB / 0.9577 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.7229, allocations: 0.9062 kB / 0.9577 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002207/0.7231, allocations: 116.1 kB / 0.9579 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.7231, allocations: 9.844 kB / 0.9579 GB, free: 1.902 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.7231, allocations: 3.984 kB / 0.9579 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.7232, allocations: 1.312 kB / 0.9579 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000142/0.7233, allocations: 18.98 kB / 0.9579 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.303e-06/0.7233, allocations: 1.188 kB / 0.9579 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.2e-05/0.7234, allocations: 11.44 kB / 0.9579 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.7234, allocations: 2.406 kB / 0.9579 GB, free: 1.887 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.787e-05/0.7235, allocations: 121.5 kB / 0.958 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.34e-05/0.7235, allocations: 19.69 kB / 0.958 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002752/0.7238, allocations: 120.5 kB / 0.9581 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.7238, allocations: 1.438 kB / 0.9582 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.7238, allocations: 0 / 0.9582 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.7238, allocations: 0 / 0.9582 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001506/0.724, allocations: 194 kB / 0.9583 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.724, allocations: 0 / 0.9583 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001076/0.7241, allocations: 24.3 kB / 0.9584 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.7241, allocations: 4.906 kB / 0.9584 GB, free: 1.426 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.7241, allocations: 1.094 kB / 0.9584 GB, free: 1.426 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.7241, allocations: 0 / 0.9584 GB, free: 1.426 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.7241, allocations: 1.469 kB / 0.9584 GB, free: 1.426 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000224/0.7244, allocations: 200.8 kB / 0.9586 GB, free: 1.258 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.252e-05/0.7244, allocations: 90.02 kB / 0.9586 GB, free: 1.152 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.913e-05/0.7244, allocations: 5.406 kB / 0.9586 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.612e-05/0.7245, allocations: 7.391 kB / 0.9587 GB, free: 1.145 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.733e-05/0.7246, allocations: 6.359 kB / 0.9587 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.903e-06/0.7246, allocations: 2.594 kB / 0.9587 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.548e-05/0.7246, allocations: 96.89 kB / 0.9588 GB, free: 1.055 MB / 0.7169 GB Notification: Performance of sort global known variables: time 7.81e-07/0.7246, allocations: 0 / 0.9588 GB, free: 1.055 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002573/0.7249, allocations: 25.78 kB / 0.9588 GB, free: 1.047 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.0001911/0.7251, allocations: 122.6 kB / 0.9589 GB, free: 0.9453 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002259/0.7253, allocations: 69.22 kB / 0.959 GB, free: 0.9219 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.7253, allocations: 0 / 0.959 GB, free: 0.9219 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.968e-05/0.7254, allocations: 44.03 kB / 0.959 GB, free: 0.9023 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002812/0.7257, allocations: 7.531 kB / 0.959 GB, free: 0.8984 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004106/0.7261, allocations: 263.4 kB / 0.9593 GB, free: 0.668 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001508/0.7263, allocations: 0.6896 MB / 0.9599 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.105e-05/0.7264, allocations: 15.59 kB / 0.96 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of SimCode: time 3e-07/0.7264, allocations: 0 / 0.96 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of Templates: time 0.002964/0.7293, allocations: 1.255 MB / 0.9612 GB, free: 15.3 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/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