Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,fileNamePrefix="Buildings_10_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.001798/0.001798, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002359/0.002359, allocations: 191 kB / 16.25 MB, free: 6.637 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.437/1.437, allocations: 222.9 MB / 239.9 MB, free: 4.473 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.584/2.584, allocations: 437 MB / 0.7101 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001556/0.001557, allocations: 63.91 kB / 0.8689 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7839/0.7855, allocations: 151.6 MB / 1.017 GB, free: 2.766 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.003563/0.7891, allocations: 1.664 MB / 1.019 GB, free: 1.09 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.004441/0.7936, allocations: 3.225 MB / 1.022 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.633e-05/0.7937, allocations: 0 / 1.022 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 5.316e-05/0.7939, allocations: 3.938 kB / 1.022 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001107/0.794, allocations: 11.92 kB / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007047/0.7947, allocations: 111.6 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000157/0.7949, allocations: 79.72 kB / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.795, allocations: 12.19 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001482/0.7951, allocations: 43.83 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001223/0.7953, allocations: 35.84 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.012e-05/0.7953, allocations: 4 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003948/0.7957, allocations: 107.8 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.963e-05/0.7957, allocations: 19.92 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.19e-05/0.7958, allocations: 27.86 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003143/0.7961, allocations: 122 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.7961, allocations: 0 / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.054e-06/0.7962, allocations: 0 / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.847e-06/0.7962, allocations: 0 / 1.022 GB, free: 13.29 MB / 0.7794 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.00075/0.7969, allocations: 387.2 kB / 1.023 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.305e-05/0.797, allocations: 12.03 kB / 1.023 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.385e-05/0.797, allocations: 42.69 kB / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.956e-05/0.7971, allocations: 8.844 kB / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001506/0.7973, allocations: 180.2 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.7973, allocations: 384 / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.108e-05/0.7973, allocations: 16.12 kB / 1.023 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002359/0.7975, allocations: 73.66 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.7976, allocations: 3.938 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.7976, allocations: 0 / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.7976, allocations: 4 kB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002108/0.7978, allocations: 75.94 kB / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005581/0.7984, allocations: 328.7 kB / 1.023 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002344/0.7986, allocations: 94.53 kB / 1.023 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001101/0.7988, allocations: 44.84 kB / 1.023 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008743/0.7996, allocations: 0.7607 MB / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.096e-05/0.7997, allocations: 38.5 kB / 1.024 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.493e-06/0.7997, allocations: 0 / 1.024 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0004139/0.8001, allocations: 137.5 kB / 1.024 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.15e-05/0.8002, allocations: 55.41 kB / 1.024 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.158e-05/0.8003, allocations: 114.2 kB / 1.025 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.752e-05/0.8003, allocations: 25.7 kB / 1.025 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.034e-05/0.8004, allocations: 96.12 kB / 1.025 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.739e-05/0.8004, allocations: 27.56 kB / 1.025 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.039e-05/0.8004, allocations: 21.7 kB / 1.025 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.8006, allocations: 318.8 kB / 1.025 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.596e-05/0.8007, allocations: 31.97 kB / 1.025 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.1e-05/0.8007, allocations: 41.64 kB / 1.025 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001829/0.8009, allocations: 81.69 kB / 1.025 GB, free: 9.957 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.801, allocations: 0 / 1.025 GB, free: 9.957 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002341/0.8012, allocations: 117.5 kB / 1.025 GB, free: 9.836 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.8012, allocations: 9.25 kB / 1.025 GB, free: 9.828 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.8012, allocations: 0 / 1.025 GB, free: 9.828 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.8013, allocations: 3.938 kB / 1.025 GB, free: 9.824 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001406/0.8014, allocations: 24.02 kB / 1.025 GB, free: 9.801 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.8014, allocations: 0 / 1.025 GB, free: 9.801 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.644e-05/0.8015, allocations: 11.98 kB / 1.025 GB, free: 9.789 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.112e-05/0.8015, allocations: 4 kB / 1.025 GB, free: 9.785 MB / 0.7794 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 0.0001011/0.8016, allocations: 122.2 kB / 1.025 GB, free: 9.656 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.235e-05/0.8017, allocations: 3.906 kB / 1.025 GB, free: 9.652 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003121/0.802, allocations: 130.1 kB / 1.026 GB, free: 9.52 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-06/0.802, allocations: 0 / 1.026 GB, free: 9.52 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.802, allocations: 0 / 1.026 GB, free: 9.52 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.802, allocations: 7.938 kB / 1.026 GB, free: 9.512 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001937/0.8022, allocations: 185.6 kB / 1.026 GB, free: 9.281 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.8022, allocations: 4 kB / 1.026 GB, free: 9.277 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001066/0.8023, allocations: 15.98 kB / 1.026 GB, free: 9.262 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.8023, allocations: 3.938 kB / 1.026 GB, free: 9.258 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.8024, allocations: 7.922 kB / 1.026 GB, free: 9.25 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.8024, allocations: 480 / 1.026 GB, free: 9.25 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.8024, allocations: 4 kB / 1.026 GB, free: 9.246 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002715/0.8026, allocations: 207.4 kB / 1.026 GB, free: 9.027 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.092e-05/0.8027, allocations: 81.02 kB / 1.026 GB, free: 8.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.387e-05/0.8027, allocations: 11.94 kB / 1.026 GB, free: 8.918 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.737e-05/0.8028, allocations: 3.984 kB / 1.026 GB, free: 8.914 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.473e-05/0.8029, allocations: 8 kB / 1.026 GB, free: 8.906 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-06/0.8029, allocations: 8 kB / 1.026 GB, free: 8.898 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.118e-05/0.803, allocations: 95.31 kB / 1.026 GB, free: 8.805 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.803, allocations: 0 / 1.026 GB, free: 8.805 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000257/0.8032, allocations: 16 kB / 1.026 GB, free: 8.789 MB / 0.7794 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.0006766/0.8039, allocations: 0.7669 MB / 1.027 GB, free: 7.992 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002531/0.8042, allocations: 79.84 kB / 1.027 GB, free: 7.914 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.8042, allocations: 0 / 1.027 GB, free: 7.914 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001001/0.8043, allocations: 39.97 kB / 1.027 GB, free: 7.875 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003358/0.8046, allocations: 8 kB / 1.027 GB, free: 7.867 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006446/0.8053, allocations: 283.4 kB / 1.027 GB, free: 7.547 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002451/0.8056, allocations: 0.6884 MB / 1.028 GB, free: 6.832 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.803e-05/0.8056, allocations: 15.92 kB / 1.028 GB, free: 6.816 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.213e-05/0.8057, allocations: 19.44 kB / 1.028 GB, free: 6.801 MB / 0.7794 GB Notification: Performance of SimCode: time 3.51e-07/0.8057, allocations: 0 / 1.028 GB, free: 6.801 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01259/0.8183, allocations: 2.097 MB / 1.03 GB, free: 4.871 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001942/0.8185, allocations: 225.4 kB / 1.03 GB, free: 4.613 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.891/2.71, allocations: 0 / 1.03 GB, free: 4.613 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber.fmu > Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches