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.005669/0.005669, allocations: 101 kB / 15.73 MB, free: 6.473 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.001357/0.001357, allocations: 195 kB / 16.67 MB, free: 6.379 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.311/1.311, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.383/2.383, allocations: 437.1 MB / 0.7105 GB, free: 4.898 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 67.91 kB / 1.018 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2748/0.276, allocations: 151.6 MB / 1.166 GB, free: 7.344 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.002891/0.2789, allocations: 1.613 MB / 1.168 GB, free: 5.715 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003758/0.2827, allocations: 3.264 MB / 1.171 GB, free: 2.438 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.077e-05/0.2828, allocations: 0 / 1.171 GB, free: 2.438 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.257e-05/0.2829, allocations: 3.938 kB / 1.171 GB, free: 2.434 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.921e-05/0.2829, allocations: 19.84 kB / 1.171 GB, free: 2.414 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005119/0.2835, allocations: 119.5 kB / 1.171 GB, free: 2.297 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001205/0.2836, allocations: 83.7 kB / 1.171 GB, free: 2.215 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 8.595e-05/0.2837, allocations: 8.188 kB / 1.171 GB, free: 2.207 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001131/0.2838, allocations: 39.84 kB / 1.171 GB, free: 2.168 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001164/0.2839, allocations: 43.83 kB / 1.171 GB, free: 2.125 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.647e-05/0.284, allocations: 4 kB / 1.171 GB, free: 2.121 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002953/0.2843, allocations: 107.8 kB / 1.171 GB, free: 2.016 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.939e-05/0.2843, allocations: 15.97 kB / 1.171 GB, free: 2 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.301e-05/0.2843, allocations: 31.8 kB / 1.171 GB, free: 1.969 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002465/0.2846, allocations: 118.5 kB / 1.172 GB, free: 1.855 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.2846, allocations: 0 / 1.172 GB, free: 1.855 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2846, allocations: 0 / 1.172 GB, free: 1.855 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.2846, allocations: 0 / 1.172 GB, free: 1.855 MB / 0.92 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.0005711/0.2852, allocations: 396.1 kB / 1.172 GB, free: 1.422 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.2852, allocations: 8.031 kB / 1.172 GB, free: 1.414 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.857e-05/0.2853, allocations: 30.75 kB / 1.172 GB, free: 1.375 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.527e-05/0.2853, allocations: 8.844 kB / 1.172 GB, free: 1.367 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001256/0.2855, allocations: 180.2 kB / 1.172 GB, free: 1.152 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.2855, allocations: 8.312 kB / 1.172 GB, free: 1.145 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.821e-05/0.2855, allocations: 12.11 kB / 1.172 GB, free: 1.133 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001997/0.2857, allocations: 81.66 kB / 1.172 GB, free: 1.047 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.2857, allocations: 0 / 1.172 GB, free: 1.047 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.2857, allocations: 0 / 1.172 GB, free: 1.047 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.2858, allocations: 0 / 1.172 GB, free: 1.047 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001866/0.2859, allocations: 75.94 kB / 1.172 GB, free: 0.9727 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004867/0.2864, allocations: 324.6 kB / 1.173 GB, free: 0.6055 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002133/0.2867, allocations: 98.47 kB / 1.173 GB, free: 0.5 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000101/0.2868, allocations: 40.84 kB / 1.173 GB, free: 468 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007608/0.2875, allocations: 0.7568 MB / 1.173 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.977e-05/0.2876, allocations: 42.48 kB / 1.174 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=8): time 2.264e-06/0.2876, allocations: 112 / 1.174 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8): time 0.000375/0.288, allocations: 141.4 kB / 1.174 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.698e-05/0.288, allocations: 51.41 kB / 1.174 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.633e-05/0.2881, allocations: 125.8 kB / 1.174 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.41e-05/0.2881, allocations: 25.7 kB / 1.174 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.345e-05/0.2882, allocations: 92.05 kB / 1.174 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.053e-05/0.2882, allocations: 23.64 kB / 1.174 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.795e-05/0.2883, allocations: 29.7 kB / 1.174 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.414e-05/0.2884, allocations: 310.8 kB / 1.174 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.518e-05/0.2885, allocations: 31.97 kB / 1.174 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.85e-05/0.2886, allocations: 49.64 kB / 1.174 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000168/0.2887, allocations: 77.69 kB / 1.174 GB, free: 14.53 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.2888, allocations: 0 / 1.174 GB, free: 14.53 MB / 0.9356 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002221/0.289, allocations: 113.5 kB / 1.175 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.289, allocations: 5.875 kB / 1.175 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.289, allocations: 8.031 kB / 1.175 GB, free: 14.4 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.289, allocations: 3.938 kB / 1.175 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000131/0.2892, allocations: 19.98 kB / 1.175 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.2892, allocations: 4 kB / 1.175 GB, free: 14.37 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.04e-05/0.2893, allocations: 7.984 kB / 1.175 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.927e-06/0.2893, allocations: 0 / 1.175 GB, free: 14.36 MB / 0.9356 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.643e-05/0.2894, allocations: 117.8 kB / 1.175 GB, free: 14.24 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.022e-05/0.2894, allocations: 7.906 kB / 1.175 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002967/0.2897, allocations: 142 kB / 1.175 GB, free: 14.08 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.2897, allocations: 0 / 1.175 GB, free: 14.08 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.2897, allocations: 0 / 1.175 GB, free: 14.08 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.2897, allocations: 0 / 1.175 GB, free: 14.08 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001803/0.2899, allocations: 189.5 kB / 1.175 GB, free: 13.85 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.2899, allocations: 0 / 1.175 GB, free: 13.85 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001064/0.29, allocations: 19.98 kB / 1.175 GB, free: 13.83 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.29, allocations: 7.938 kB / 1.175 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.273e-05/0.2901, allocations: 7.938 kB / 1.175 GB, free: 13.81 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.2901, allocations: 7.922 kB / 1.175 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2901, allocations: 0 / 1.175 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002663/0.2903, allocations: 200 kB / 1.175 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.584e-05/0.2904, allocations: 85.02 kB / 1.175 GB, free: 13.49 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.696e-05/0.2904, allocations: 3.938 kB / 1.175 GB, free: 13.49 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.39e-05/0.2905, allocations: 12 kB / 1.175 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.984e-05/0.2906, allocations: 7.984 kB / 1.175 GB, free: 13.47 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.2906, allocations: 0 / 1.175 GB, free: 13.47 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.545e-05/0.2906, allocations: 95.27 kB / 1.175 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2906, allocations: 0 / 1.175 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002507/0.2909, allocations: 24 kB / 1.175 GB, free: 13.35 MB / 0.9356 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.0006126/0.2915, allocations: 0.7514 MB / 1.176 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002245/0.2917, allocations: 83.81 kB / 1.176 GB, free: 12.49 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.2918, allocations: 0 / 1.176 GB, free: 12.49 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.447e-05/0.2919, allocations: 43.97 kB / 1.176 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002934/0.2922, allocations: 8.062 kB / 1.176 GB, free: 12.44 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006021/0.2928, allocations: 251.4 kB / 1.177 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002608/0.293, allocations: 0.6885 MB / 1.177 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 5.512e-05/0.2931, allocations: 11.94 kB / 1.177 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.463e-05/0.2932, allocations: 23.42 kB / 1.177 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of SimCode: time 2.2e-07/0.2932, allocations: 0 / 1.177 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01814/0.3113, allocations: 2.252 MB / 1.179 GB, free: 9.293 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.301/7.612, allocations: 4.5 kB / 1.179 GB, free: 9.289 MB / 0.9356 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