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.004968/0.004968, allocations: 97.92 kB / 15.73 MB, free: 6.062 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.001387/0.001387, allocations: 194.9 kB / 16.68 MB, free: 5.969 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.287/1.287, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.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.236/2.236, allocations: 437.1 MB / 0.7105 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001693/0.001693, allocations: 71.89 kB / 1.018 GB, free: 9.852 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.577/0.5787, allocations: 151.6 MB / 1.166 GB, free: 3.762 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.002339/0.5811, allocations: 1.611 MB / 1.168 GB, free: 2.141 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.003284/0.5844, allocations: 3.256 MB / 1.171 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.01e-05/0.5844, allocations: 0 / 1.171 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 2.379e-05/0.5845, allocations: 3.938 kB / 1.171 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 6.409e-05/0.5846, allocations: 19.84 kB / 1.171 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.000379/0.5849, allocations: 115.5 kB / 1.171 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 9.793e-05/0.585, allocations: 79.7 kB / 1.171 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 7.356e-05/0.5851, allocations: 16.17 kB / 1.171 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 8.236e-05/0.5852, allocations: 35.86 kB / 1.171 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 8.563e-05/0.5853, allocations: 39.83 kB / 1.171 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.388e-05/0.5853, allocations: 4 kB / 1.171 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002416/0.5856, allocations: 107.8 kB / 1.171 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 2.328e-05/0.5856, allocations: 19.92 kB / 1.171 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 3.947e-05/0.5856, allocations: 31.84 kB / 1.171 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.000207/0.5859, allocations: 123.2 kB / 1.172 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.5859, allocations: 0 / 1.172 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.302e-06/0.5859, allocations: 0 / 1.172 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.5859, allocations: 0 / 1.172 GB, free: 14.29 MB / 0.9044 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.0005002/0.5864, allocations: 395 kB / 1.172 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 2.962e-05/0.5864, allocations: 8.922 kB / 1.172 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.808e-05/0.5865, allocations: 34.75 kB / 1.172 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.897e-05/0.5865, allocations: 8.891 kB / 1.172 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001234/0.5866, allocations: 180.2 kB / 1.172 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.5866, allocations: 8.375 kB / 1.172 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.3e-05/0.5867, allocations: 8.125 kB / 1.172 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001793/0.5869, allocations: 73.66 kB / 1.172 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.783e-06/0.5869, allocations: 0 / 1.172 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.5869, allocations: 8 kB / 1.172 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.5869, allocations: 0 / 1.172 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001843/0.5871, allocations: 75.94 kB / 1.172 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004271/0.5875, allocations: 328.6 kB / 1.173 GB, free: 13.03 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002088/0.5877, allocations: 98.52 kB / 1.173 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.323e-05/0.5878, allocations: 44.84 kB / 1.173 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000737/0.5886, allocations: 0.7488 MB / 1.173 GB, free: 12.01 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.618e-05/0.5886, allocations: 42.78 kB / 1.174 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=8): time 1.062e-06/0.5886, allocations: 0 / 1.174 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of matching and sorting (n=8): time 0.0003598/0.589, allocations: 137.5 kB / 1.174 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.797e-05/0.589, allocations: 51.41 kB / 1.174 GB, free: 11.76 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.773e-05/0.5891, allocations: 121.8 kB / 1.174 GB, free: 11.63 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.441e-05/0.5891, allocations: 25.7 kB / 1.174 GB, free: 11.6 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.87e-05/0.5892, allocations: 104 kB / 1.174 GB, free: 11.49 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.065e-05/0.5892, allocations: 23.8 kB / 1.174 GB, free: 11.47 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.245e-05/0.5893, allocations: 25.7 kB / 1.174 GB, free: 11.44 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.5894, allocations: 318.8 kB / 1.174 GB, free: 11.12 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.967e-05/0.5895, allocations: 27.98 kB / 1.174 GB, free: 11.09 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.142e-05/0.5896, allocations: 45.64 kB / 1.174 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000166/0.5898, allocations: 77.88 kB / 1.174 GB, free: 10.96 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.5898, allocations: 0 / 1.174 GB, free: 10.96 MB / 0.9044 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.00022/0.59, allocations: 117.5 kB / 1.175 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.59, allocations: 4 kB / 1.175 GB, free: 10.83 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.59, allocations: 0 / 1.175 GB, free: 10.83 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.59, allocations: 11.92 kB / 1.175 GB, free: 10.82 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/0.5902, allocations: 20.02 kB / 1.175 GB, free: 10.8 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.5902, allocations: 4.109 kB / 1.175 GB, free: 10.8 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.993e-05/0.5902, allocations: 19.88 kB / 1.175 GB, free: 10.78 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.5903, allocations: 0 / 1.175 GB, free: 10.78 MB / 0.9044 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 7.464e-05/0.5903, allocations: 117.8 kB / 1.175 GB, free: 10.65 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.708e-05/0.5904, allocations: 7.953 kB / 1.175 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002782/0.5907, allocations: 130.3 kB / 1.175 GB, free: 10.51 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.5907, allocations: 0 / 1.175 GB, free: 10.51 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.5907, allocations: 0 / 1.175 GB, free: 10.51 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.5907, allocations: 0 / 1.175 GB, free: 10.51 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001846/0.5909, allocations: 189.6 kB / 1.175 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.5909, allocations: 0 / 1.175 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.277e-05/0.591, allocations: 15.98 kB / 1.175 GB, free: 10.26 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.86e-06/0.591, allocations: 4 kB / 1.175 GB, free: 10.25 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.318e-06/0.591, allocations: 7.875 kB / 1.175 GB, free: 10.25 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.591, allocations: 0 / 1.175 GB, free: 10.25 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.591, allocations: 4.078 kB / 1.175 GB, free: 10.24 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002537/0.5913, allocations: 203.5 kB / 1.175 GB, free: 10.03 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.779e-05/0.5913, allocations: 89 kB / 1.175 GB, free: 9.922 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.612e-05/0.5913, allocations: 3.938 kB / 1.175 GB, free: 9.918 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.886e-05/0.5914, allocations: 7.984 kB / 1.175 GB, free: 9.91 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.582e-05/0.5915, allocations: 8 kB / 1.175 GB, free: 9.902 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.354e-06/0.5915, allocations: 7.984 kB / 1.175 GB, free: 9.895 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.727e-05/0.5915, allocations: 87.28 kB / 1.175 GB, free: 9.809 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5915, allocations: 4 kB / 1.175 GB, free: 9.805 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002227/0.5918, allocations: 23.98 kB / 1.175 GB, free: 9.781 MB / 0.9044 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.0005803/0.5924, allocations: 0.7552 MB / 1.176 GB, free: 9 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002152/0.5926, allocations: 87.83 kB / 1.176 GB, free: 8.914 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.5926, allocations: 3.938 kB / 1.176 GB, free: 8.91 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 9.112e-05/0.5927, allocations: 39.97 kB / 1.176 GB, free: 8.871 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002353/0.5929, allocations: 8 kB / 1.176 GB, free: 8.863 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004868/0.5934, allocations: 251.4 kB / 1.177 GB, free: 8.574 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000278/0.5937, allocations: 0.6885 MB / 1.177 GB, free: 7.859 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 5.12e-05/0.5938, allocations: 11.97 kB / 1.177 GB, free: 7.848 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.534e-05/0.5938, allocations: 23.44 kB / 1.177 GB, free: 7.824 MB / 0.9044 GB Notification: Performance of SimCode: time 2.11e-07/0.5938, allocations: 0 / 1.177 GB, free: 7.824 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.609/5.203, allocations: 2.261 MB / 1.18 GB, free: 5.711 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.67/25.88, allocations: 8.594 kB / 1.18 GB, free: 5.703 MB / 0.9044 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=400 --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