Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,fileNamePrefix="Buildings_latest_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.005036/0.005036, allocations: 101.9 kB / 15.74 MB, free: 6.027 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.001158/0.001158, allocations: 194.7 kB / 16.67 MB, free: 5.961 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.264/1.264, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.604/2.604, allocations: 469.4 MB / 0.7422 GB, free: 7.582 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002023/0.002023, allocations: 63.91 kB / 1.064 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3226/0.3247, allocations: 159.1 MB / 1.22 GB, free: 14.6 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.00416/0.3289, allocations: 1.609 MB / 1.221 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.006079/0.335, allocations: 3.252 MB / 1.225 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.458e-05/0.3351, allocations: 4 kB / 1.225 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.549e-05/0.3352, allocations: 3.938 kB / 1.225 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001064/0.3353, allocations: 23.78 kB / 1.225 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006497/0.336, allocations: 111.6 kB / 1.225 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001548/0.3361, allocations: 83.69 kB / 1.225 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.3363, allocations: 12.19 kB / 1.225 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001422/0.3364, allocations: 43.84 kB / 1.225 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000117/0.3366, allocations: 39.83 kB / 1.225 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.95e-05/0.3366, allocations: 7.938 kB / 1.225 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003938/0.337, allocations: 99.78 kB / 1.225 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.163e-05/0.337, allocations: 19.92 kB / 1.225 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.083e-05/0.3371, allocations: 31.84 kB / 1.225 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003352/0.3375, allocations: 123.5 kB / 1.225 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3375, allocations: 4 kB / 1.225 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.683e-06/0.3375, allocations: 0 / 1.225 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.68e-06/0.3375, allocations: 0 / 1.225 GB, free: 9.109 MB / 0.9825 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.0007811/0.3383, allocations: 391 kB / 1.225 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.3384, allocations: 8.031 kB / 1.225 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.387e-05/0.3384, allocations: 38.75 kB / 1.226 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.479e-05/0.3385, allocations: 8.891 kB / 1.226 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001718/0.3387, allocations: 180.3 kB / 1.226 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.3387, allocations: 384 / 1.226 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.568e-05/0.3387, allocations: 12.12 kB / 1.226 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002928/0.339, allocations: 77.59 kB / 1.226 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/0.3391, allocations: 0 / 1.226 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.648e-05/0.3391, allocations: 0 / 1.226 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.3391, allocations: 0 / 1.226 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002936/0.3394, allocations: 75.94 kB / 1.226 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006367/0.34, allocations: 332.6 kB / 1.226 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003278/0.3404, allocations: 102.5 kB / 1.226 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001615/0.3406, allocations: 44.84 kB / 1.226 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001219/0.3418, allocations: 0.7566 MB / 1.227 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.998e-05/0.3419, allocations: 34.56 kB / 1.227 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 2.214e-06/0.3419, allocations: 0 / 1.227 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0006044/0.3425, allocations: 145.8 kB / 1.227 GB, free: 6.637 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.49e-05/0.3425, allocations: 51.41 kB / 1.227 GB, free: 6.574 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.3427, allocations: 113.8 kB / 1.227 GB, free: 6.453 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.742e-05/0.3427, allocations: 29.7 kB / 1.227 GB, free: 6.418 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.203e-05/0.3428, allocations: 100 kB / 1.228 GB, free: 6.316 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.251e-05/0.3428, allocations: 27.8 kB / 1.228 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.404e-05/0.3429, allocations: 21.7 kB / 1.228 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.3431, allocations: 318.8 kB / 1.228 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001291/0.3432, allocations: 35.97 kB / 1.228 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001449/0.3434, allocations: 41.64 kB / 1.228 GB, free: 5.859 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000261/0.3437, allocations: 77.62 kB / 1.228 GB, free: 5.777 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.3437, allocations: 4 kB / 1.228 GB, free: 5.773 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003554/0.344, allocations: 109.6 kB / 1.228 GB, free: 5.66 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.294e-05/0.3441, allocations: 8 kB / 1.228 GB, free: 5.652 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.3441, allocations: 0 / 1.228 GB, free: 5.652 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.517e-05/0.3441, allocations: 3.938 kB / 1.228 GB, free: 5.648 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001951/0.3443, allocations: 23.92 kB / 1.228 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.3443, allocations: 3.984 kB / 1.228 GB, free: 5.621 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001072/0.3445, allocations: 8.047 kB / 1.228 GB, free: 5.613 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.794e-05/0.3445, allocations: 11.94 kB / 1.228 GB, free: 5.602 MB / 0.9825 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.0001127/0.3446, allocations: 114.4 kB / 1.228 GB, free: 5.48 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.023e-05/0.3447, allocations: 7.953 kB / 1.228 GB, free: 5.473 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004234/0.3451, allocations: 130.2 kB / 1.228 GB, free: 5.336 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.3451, allocations: 0 / 1.228 GB, free: 5.336 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.3451, allocations: 0 / 1.228 GB, free: 5.336 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.3451, allocations: 0 / 1.228 GB, free: 5.336 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002871/0.3454, allocations: 189.6 kB / 1.229 GB, free: 5.102 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.3455, allocations: 8 kB / 1.229 GB, free: 5.094 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001559/0.3456, allocations: 19.98 kB / 1.229 GB, free: 5.074 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.162e-06/0.3457, allocations: 3.984 kB / 1.229 GB, free: 5.07 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/0.3457, allocations: 3.938 kB / 1.229 GB, free: 5.066 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.3457, allocations: 0 / 1.229 GB, free: 5.066 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.3457, allocations: 0 / 1.229 GB, free: 5.066 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004035/0.3461, allocations: 211.4 kB / 1.229 GB, free: 4.844 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.181e-05/0.3462, allocations: 81.06 kB / 1.229 GB, free: 4.746 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.794e-05/0.3462, allocations: 7.938 kB / 1.229 GB, free: 4.738 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001561/0.3464, allocations: 3.984 kB / 1.229 GB, free: 4.734 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.06e-05/0.3464, allocations: 4 kB / 1.229 GB, free: 4.73 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.447e-05/0.3465, allocations: 12.17 kB / 1.229 GB, free: 4.719 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.38e-05/0.3465, allocations: 87.72 kB / 1.229 GB, free: 4.633 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.51e-07/0.3465, allocations: 3.938 kB / 1.229 GB, free: 4.629 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004469/0.347, allocations: 23.92 kB / 1.229 GB, free: 4.605 MB / 0.9825 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.0008684/0.3479, allocations: 0.7586 MB / 1.23 GB, free: 3.824 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003366/0.3482, allocations: 83.91 kB / 1.23 GB, free: 3.742 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.3483, allocations: 0 / 1.23 GB, free: 3.742 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000153/0.3484, allocations: 47.84 kB / 1.23 GB, free: 3.695 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004834/0.3489, allocations: 11.98 kB / 1.23 GB, free: 3.684 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008262/0.3498, allocations: 247.5 kB / 1.23 GB, free: 3.402 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003415/0.3501, allocations: 0.6922 MB / 1.231 GB, free: 2.684 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.788e-05/0.3502, allocations: 11.97 kB / 1.231 GB, free: 2.672 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.872e-05/0.3503, allocations: 23.38 kB / 1.231 GB, free: 2.652 MB / 0.9825 GB Notification: Performance of SimCode: time 4e-07/0.3503, allocations: 0 / 1.231 GB, free: 2.652 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02353/0.3738, allocations: 2.27 MB / 1.233 GB, free: 0.5273 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.315/7.689, allocations: 10.22 kB / 1.233 GB, free: 0.5195 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_res.csv --start-time 0 --stop-time 50 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.02 Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches