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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.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.004886/0.004886, allocations: 97.28 kB / 15.73 MB, free: 6.035 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.001447/0.001447, allocations: 198.2 kB / 16.68 MB, free: 5.965 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.268/1.268, 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 12.0.0-master/package.mo): time 2.537/2.537, allocations: 482.6 MB / 0.755 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001699/0.001699, allocations: 68.12 kB / 1.083 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2679/0.2696, allocations: 162.3 MB / 1.242 GB, free: 9.816 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.002367/0.272, allocations: 1.617 MB / 1.243 GB, free: 8.188 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.003299/0.2754, allocations: 3.256 MB / 1.247 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.1e-05/0.2754, allocations: 0 / 1.247 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.077e-05/0.2754, allocations: 3.938 kB / 1.247 GB, free: 4.91 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.387e-05/0.2755, allocations: 19.84 kB / 1.247 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003796/0.2759, allocations: 115.5 kB / 1.247 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.753e-05/0.276, allocations: 83.7 kB / 1.247 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.576e-05/0.2761, allocations: 12.19 kB / 1.247 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.66e-05/0.2762, allocations: 39.84 kB / 1.247 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.311e-05/0.2763, allocations: 39.83 kB / 1.247 GB, free: 4.605 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.646e-05/0.2763, allocations: 8 kB / 1.247 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002428/0.2765, allocations: 103.8 kB / 1.247 GB, free: 4.496 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.159e-05/0.2766, allocations: 15.91 kB / 1.247 GB, free: 4.48 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.241e-05/0.2766, allocations: 31.86 kB / 1.247 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002079/0.2768, allocations: 123.5 kB / 1.247 GB, free: 4.328 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.2768, allocations: 4 kB / 1.247 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of FrontEnd: time 9.42e-07/0.2768, allocations: 0 / 1.247 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.807e-06/0.2769, allocations: 0 / 1.247 GB, free: 4.324 MB / 0.9981 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.0005043/0.2774, allocations: 387.1 kB / 1.248 GB, free: 3.898 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.276e-05/0.2774, allocations: 16.03 kB / 1.248 GB, free: 3.883 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.784e-05/0.2774, allocations: 38.69 kB / 1.248 GB, free: 3.836 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.889e-05/0.2775, allocations: 8.891 kB / 1.248 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001139/0.2776, allocations: 172.3 kB / 1.248 GB, free: 3.621 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.055e-05/0.2776, allocations: 4.375 kB / 1.248 GB, free: 3.617 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.272e-05/0.2776, allocations: 8.125 kB / 1.248 GB, free: 3.609 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001767/0.2778, allocations: 73.66 kB / 1.248 GB, free: 3.531 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.513e-06/0.2778, allocations: 0 / 1.248 GB, free: 3.531 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.2778, allocations: 4 kB / 1.248 GB, free: 3.527 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.2779, allocations: 4 kB / 1.248 GB, free: 3.523 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001816/0.278, allocations: 79.81 kB / 1.248 GB, free: 3.445 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000422/0.2785, allocations: 328.7 kB / 1.248 GB, free: 3.074 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002057/0.2787, allocations: 98.47 kB / 1.248 GB, free: 2.969 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.45e-05/0.2788, allocations: 44.84 kB / 1.248 GB, free: 2.922 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000754/0.2796, allocations: 0.7567 MB / 1.249 GB, free: 2.047 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.862e-05/0.2796, allocations: 42.55 kB / 1.249 GB, free: 1.996 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=8): time 1.092e-06/0.2796, allocations: 0 / 1.249 GB, free: 1.996 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8): time 0.0003505/0.28, allocations: 137.5 kB / 1.249 GB, free: 1.855 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.259e-05/0.28, allocations: 51.41 kB / 1.249 GB, free: 1.793 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.492e-05/0.2801, allocations: 117.8 kB / 1.249 GB, free: 1.668 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.2801, allocations: 29.7 kB / 1.25 GB, free: 1.633 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.407e-05/0.2802, allocations: 96.11 kB / 1.25 GB, free: 1.535 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.105e-05/0.2802, allocations: 31.75 kB / 1.25 GB, free: 1.504 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.233e-05/0.2802, allocations: 25.7 kB / 1.25 GB, free: 1.473 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.2804, allocations: 314.8 kB / 1.25 GB, free: 1.156 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.199e-05/0.2804, allocations: 27.97 kB / 1.25 GB, free: 1.129 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.946e-05/0.2805, allocations: 45.7 kB / 1.25 GB, free: 1.078 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001724/0.2807, allocations: 81.8 kB / 1.25 GB, free: 0.9922 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.2807, allocations: 3.938 kB / 1.25 GB, free: 0.9883 MB / 0.9981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002165/0.2809, allocations: 109.6 kB / 1.25 GB, free: 0.875 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 9.769e-06/0.281, allocations: 4 kB / 1.25 GB, free: 0.8711 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.155e-06/0.281, allocations: 0 / 1.25 GB, free: 0.8711 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.281, allocations: 7.938 kB / 1.25 GB, free: 0.8633 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001133/0.2811, allocations: 15.98 kB / 1.25 GB, free: 0.8477 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/0.2811, allocations: 7.969 kB / 1.25 GB, free: 0.8398 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.133e-05/0.2812, allocations: 19.88 kB / 1.25 GB, free: 0.8203 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.124e-06/0.2812, allocations: 0 / 1.25 GB, free: 0.8203 MB / 0.9981 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.272e-05/0.2813, allocations: 113.8 kB / 1.25 GB, free: 0.6992 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.124e-05/0.2813, allocations: 11.95 kB / 1.25 GB, free: 0.6875 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002729/0.2816, allocations: 134.4 kB / 1.251 GB, free: 0.5469 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-06/0.2816, allocations: 8 kB / 1.251 GB, free: 0.5391 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.2816, allocations: 0 / 1.251 GB, free: 0.5391 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.2816, allocations: 0 / 1.251 GB, free: 0.5391 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001798/0.2818, allocations: 185.6 kB / 1.251 GB, free: 316 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.2818, allocations: 0 / 1.251 GB, free: 316 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.269e-05/0.2819, allocations: 19.92 kB / 1.251 GB, free: 296 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.2819, allocations: 0 / 1.251 GB, free: 296 kB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.563e-05/0.2819, allocations: 11.92 kB / 1.251 GB, free: 284 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.2819, allocations: 0 / 1.251 GB, free: 284 kB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.282, allocations: 0 / 1.251 GB, free: 284 kB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002464/0.2822, allocations: 203.5 kB / 1.251 GB, free: 64 kB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.4834/0.7656, allocations: 81.06 kB / 1.251 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.611e-05/0.7657, allocations: 8.531 kB / 1.251 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001156/0.7658, allocations: 2.656 kB / 1.251 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.93e-05/0.7659, allocations: 6.141 kB / 1.251 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.155e-05/0.7659, allocations: 6.234 kB / 1.251 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.169e-05/0.7659, allocations: 92.2 kB / 1.251 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.7659, allocations: 2.719 kB / 1.251 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002741/0.7662, allocations: 28.25 kB / 1.251 GB, free: 15.27 MB / 0.9981 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.0004815/0.7667, allocations: 0.754 MB / 1.252 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002231/0.7669, allocations: 77.14 kB / 1.252 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.7669, allocations: 0.5625 kB / 1.252 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.765e-05/0.767, allocations: 42.95 kB / 1.252 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002909/0.7673, allocations: 6.938 kB / 1.252 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004671/0.7678, allocations: 245.9 kB / 1.252 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.022e-05/0.7679, allocations: 0.6911 MB / 1.253 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 5.227e-05/0.768, allocations: 9.188 kB / 1.253 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.272e-05/0.768, allocations: 27.75 kB / 1.253 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of SimCode: time 6.12e-07/0.768, allocations: 0 / 1.253 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.409/3.177, allocations: 2.265 MB / 1.255 GB, free: 13.44 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.25/16.43, allocations: 11.47 kB / 1.255 GB, free: 13.43 MB / 0.9981 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber_fmu --startTime=0 --stopTime=50 --timeout=400 --tolerance=1e-06 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.mat","/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