Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,fileNamePrefix="Buildings_11_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.003872/0.003872, allocations: 101.1 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.001359/0.001359, allocations: 189.6 kB / 16.67 MB, free: 5.973 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.262/1.262, allocations: 222.9 MB / 240.4 MB, free: 4.152 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.573/2.573, allocations: 469.8 MB / 0.7425 GB, free: 7.336 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001699/0.001699, allocations: 63.91 kB / 1.065 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2503/0.252, allocations: 159.1 MB / 1.22 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.002462/0.2545, allocations: 1.617 MB / 1.222 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00332/0.2578, allocations: 3.248 MB / 1.225 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.877e-05/0.2579, allocations: 0 / 1.225 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.806e-05/0.2579, allocations: 7.875 kB / 1.225 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.903e-05/0.258, allocations: 15.84 kB / 1.225 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003596/0.2583, allocations: 111.5 kB / 1.225 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001004/0.2585, allocations: 87.7 kB / 1.225 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 6.852e-05/0.2585, allocations: 12.17 kB / 1.225 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.464e-05/0.2586, allocations: 39.84 kB / 1.225 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.749e-05/0.2587, allocations: 35.84 kB / 1.225 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.529e-05/0.2587, allocations: 8 kB / 1.225 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002483/0.259, allocations: 103.8 kB / 1.225 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.904e-05/0.259, allocations: 11.92 kB / 1.225 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.925e-05/0.2591, allocations: 39.8 kB / 1.225 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002041/0.2593, allocations: 123.5 kB / 1.226 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.514e-06/0.2593, allocations: 0 / 1.226 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.112e-06/0.2593, allocations: 4 kB / 1.226 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.2593, allocations: 0 / 1.226 GB, free: 8.773 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.0004992/0.2598, allocations: 391.1 kB / 1.226 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.096e-05/0.2598, allocations: 12.03 kB / 1.226 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.591e-05/0.2599, allocations: 30.75 kB / 1.226 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.904e-05/0.2599, allocations: 16.89 kB / 1.226 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/0.26, allocations: 176.3 kB / 1.226 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/0.26, allocations: 384 / 1.226 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.185e-05/0.2601, allocations: 12.06 kB / 1.226 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001754/0.2602, allocations: 77.66 kB / 1.226 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.2603, allocations: 0 / 1.226 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.2603, allocations: 7.984 kB / 1.226 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.2603, allocations: 0 / 1.226 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001905/0.2605, allocations: 79.88 kB / 1.226 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000422/0.2609, allocations: 328.7 kB / 1.227 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002045/0.2611, allocations: 94.47 kB / 1.227 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.427e-05/0.2612, allocations: 40.84 kB / 1.227 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007664/0.262, allocations: 0.7488 MB / 1.227 GB, free: 6.504 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.047e-05/0.262, allocations: 46.55 kB / 1.228 GB, free: 6.449 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.073e-06/0.262, allocations: 0 / 1.228 GB, free: 6.449 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0003601/0.2624, allocations: 141.8 kB / 1.228 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.449e-05/0.2624, allocations: 51.41 kB / 1.228 GB, free: 6.242 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.032e-05/0.2625, allocations: 113.8 kB / 1.228 GB, free: 6.121 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.597e-05/0.2626, allocations: 29.7 kB / 1.228 GB, free: 6.086 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.276e-05/0.2626, allocations: 100 kB / 1.228 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.927e-05/0.2626, allocations: 19.81 kB / 1.228 GB, free: 5.965 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.422e-05/0.2627, allocations: 29.7 kB / 1.228 GB, free: 5.93 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.2628, allocations: 314.8 kB / 1.228 GB, free: 5.613 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.566e-05/0.2629, allocations: 31.97 kB / 1.228 GB, free: 5.582 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.76e-05/0.263, allocations: 41.7 kB / 1.228 GB, free: 5.535 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000182/0.2632, allocations: 89.91 kB / 1.228 GB, free: 5.441 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.2632, allocations: 4.188 kB / 1.228 GB, free: 5.438 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002223/0.2634, allocations: 113.5 kB / 1.229 GB, free: 5.32 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.2635, allocations: 8.047 kB / 1.229 GB, free: 5.312 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.196e-06/0.2635, allocations: 3.938 kB / 1.229 GB, free: 5.309 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.029e-05/0.2635, allocations: 3.938 kB / 1.229 GB, free: 5.305 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001188/0.2636, allocations: 19.98 kB / 1.229 GB, free: 5.285 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.968e-06/0.2636, allocations: 0 / 1.229 GB, free: 5.285 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.664e-05/0.2637, allocations: 11.92 kB / 1.229 GB, free: 5.273 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.946e-06/0.2637, allocations: 8.031 kB / 1.229 GB, free: 5.266 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 7.882e-05/0.2638, allocations: 113.8 kB / 1.229 GB, free: 5.145 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.915e-05/0.2638, allocations: 7.953 kB / 1.229 GB, free: 5.137 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002773/0.2641, allocations: 125.9 kB / 1.229 GB, free: 5.004 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.2641, allocations: 4 kB / 1.229 GB, free: 5 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.2641, allocations: 4 kB / 1.229 GB, free: 4.996 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.2641, allocations: 4 kB / 1.229 GB, free: 4.992 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001854/0.2643, allocations: 185.6 kB / 1.229 GB, free: 4.762 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.2643, allocations: 0 / 1.229 GB, free: 4.762 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001025/0.2644, allocations: 19.98 kB / 1.229 GB, free: 4.742 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.2644, allocations: 0 / 1.229 GB, free: 4.742 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/0.2645, allocations: 11.92 kB / 1.229 GB, free: 4.73 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.2645, allocations: 0 / 1.229 GB, free: 4.73 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.2645, allocations: 0 / 1.229 GB, free: 4.73 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002607/0.2647, allocations: 203.4 kB / 1.229 GB, free: 4.516 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.442e-05/0.2648, allocations: 89 kB / 1.229 GB, free: 4.41 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.721e-05/0.2648, allocations: 7.938 kB / 1.229 GB, free: 4.402 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.042e-05/0.2649, allocations: 7.984 kB / 1.229 GB, free: 4.395 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.772e-05/0.2649, allocations: 0 / 1.229 GB, free: 4.395 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.46e-06/0.2649, allocations: 4 kB / 1.229 GB, free: 4.391 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.548e-05/0.265, allocations: 95.64 kB / 1.229 GB, free: 4.297 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.265, allocations: 0 / 1.229 GB, free: 4.297 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002275/0.2652, allocations: 28 kB / 1.229 GB, free: 4.27 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.0006009/0.2658, allocations: 0.7557 MB / 1.23 GB, free: 3.488 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002131/0.2661, allocations: 87.83 kB / 1.23 GB, free: 3.402 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.2661, allocations: 0 / 1.23 GB, free: 3.402 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.515e-05/0.2662, allocations: 48.38 kB / 1.23 GB, free: 3.355 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002253/0.2664, allocations: 4 kB / 1.23 GB, free: 3.352 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004918/0.2669, allocations: 259.6 kB / 1.231 GB, free: 3.059 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002749/0.2672, allocations: 0.6922 MB / 1.231 GB, free: 2.34 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.457e-05/0.2673, allocations: 15.95 kB / 1.231 GB, free: 2.324 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.154e-05/0.2673, allocations: 19.44 kB / 1.231 GB, free: 2.309 MB / 0.9825 GB Notification: Performance of SimCode: time 2.5e-07/0.2673, allocations: 4 kB / 1.231 GB, free: 2.305 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.451/1.718, allocations: 2.252 MB / 1.234 GB, free: 200 kB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.66/13.38, allocations: 4.438 kB / 1.234 GB, free: 196 kB / 0.9825 GB (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber_fmu --startTime=0 --stopTime=50 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber.fmu > Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches