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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.007316/0.007316, allocations: 100.3 kB / 15.73 MB, free: 5.996 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.001758/0.001758, allocations: 192.7 kB / 16.67 MB, free: 5.918 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.314/1.314, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.498/2.498, allocations: 461.9 MB / 0.7348 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00141/0.00141, allocations: 67.84 kB / 1.054 GB, free: 8.191 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7695/0.7709, allocations: 157.4 MB / 1.207 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.002903/0.7739, allocations: 1.619 MB / 1.209 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003837/0.7777, allocations: 3.244 MB / 1.212 GB, free: 8.684 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.65e-05/0.7778, allocations: 0 / 1.212 GB, free: 8.684 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.093e-05/0.7779, allocations: 7.922 kB / 1.212 GB, free: 8.676 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 9.562e-05/0.778, allocations: 15.86 kB / 1.212 GB, free: 8.66 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005516/0.7786, allocations: 119.5 kB / 1.212 GB, free: 8.543 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001248/0.7787, allocations: 75.72 kB / 1.212 GB, free: 8.469 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.867e-05/0.7788, allocations: 16.17 kB / 1.212 GB, free: 8.453 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001247/0.779, allocations: 39.84 kB / 1.212 GB, free: 8.414 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001038/0.7791, allocations: 39.83 kB / 1.212 GB, free: 8.375 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.651e-05/0.7791, allocations: 8 kB / 1.212 GB, free: 8.367 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003236/0.7794, allocations: 99.8 kB / 1.212 GB, free: 8.27 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.68e-05/0.7795, allocations: 19.91 kB / 1.212 GB, free: 8.25 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.81e-05/0.7795, allocations: 31.86 kB / 1.212 GB, free: 8.219 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002761/0.7798, allocations: 122 kB / 1.213 GB, free: 8.102 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.7798, allocations: 0 / 1.213 GB, free: 8.102 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.683e-06/0.7798, allocations: 0 / 1.213 GB, free: 8.102 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.7798, allocations: 3.938 kB / 1.213 GB, free: 8.098 MB / 0.9356 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.0005918/0.7804, allocations: 399.2 kB / 1.213 GB, free: 7.66 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.7805, allocations: 8.031 kB / 1.213 GB, free: 7.652 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.898e-05/0.7805, allocations: 34.73 kB / 1.213 GB, free: 7.609 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.961e-05/0.7806, allocations: 8.844 kB / 1.213 GB, free: 7.602 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001162/0.7807, allocations: 176.2 kB / 1.213 GB, free: 7.391 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.7807, allocations: 8.375 kB / 1.213 GB, free: 7.383 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.875e-05/0.7807, allocations: 4.125 kB / 1.213 GB, free: 7.379 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002102/0.781, allocations: 85.62 kB / 1.213 GB, free: 7.289 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.781, allocations: 4 kB / 1.213 GB, free: 7.285 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.781, allocations: 4 kB / 1.213 GB, free: 7.281 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.781, allocations: 0 / 1.213 GB, free: 7.281 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001846/0.7812, allocations: 71.94 kB / 1.213 GB, free: 7.211 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004827/0.7817, allocations: 332.5 kB / 1.214 GB, free: 6.836 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002213/0.7819, allocations: 94.55 kB / 1.214 GB, free: 6.734 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.468e-05/0.782, allocations: 44.83 kB / 1.214 GB, free: 6.688 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007695/0.7828, allocations: 0.7529 MB / 1.215 GB, free: 5.816 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.679e-05/0.7828, allocations: 38.56 kB / 1.215 GB, free: 5.77 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=8): time 1.212e-06/0.7828, allocations: 0 / 1.215 GB, free: 5.77 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8): time 0.0003765/0.7832, allocations: 137.5 kB / 1.215 GB, free: 5.629 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.268e-05/0.7833, allocations: 51.41 kB / 1.215 GB, free: 5.566 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.351e-05/0.7834, allocations: 125.8 kB / 1.215 GB, free: 5.434 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.456e-05/0.7834, allocations: 29.7 kB / 1.215 GB, free: 5.398 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.456e-05/0.7835, allocations: 88.05 kB / 1.215 GB, free: 5.309 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.282e-05/0.7835, allocations: 27.64 kB / 1.215 GB, free: 5.281 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.61e-05/0.7835, allocations: 21.72 kB / 1.215 GB, free: 5.254 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.7836, allocations: 318.8 kB / 1.215 GB, free: 4.934 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.367e-05/0.7837, allocations: 31.92 kB / 1.215 GB, free: 4.902 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.994e-05/0.7838, allocations: 49.69 kB / 1.215 GB, free: 4.848 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001586/0.784, allocations: 81.98 kB / 1.216 GB, free: 4.762 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.784, allocations: 0 / 1.216 GB, free: 4.762 MB / 0.9356 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002294/0.7842, allocations: 109.5 kB / 1.216 GB, free: 4.648 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.7843, allocations: 4 kB / 1.216 GB, free: 4.645 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.7843, allocations: 192 / 1.216 GB, free: 4.645 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/0.7843, allocations: 11.97 kB / 1.216 GB, free: 4.633 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001379/0.7845, allocations: 27.92 kB / 1.216 GB, free: 4.605 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.7845, allocations: 4 kB / 1.216 GB, free: 4.602 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.45e-05/0.7846, allocations: 4.109 kB / 1.216 GB, free: 4.598 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.7846, allocations: 7.922 kB / 1.216 GB, free: 4.59 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 8.941e-05/0.7847, allocations: 121.7 kB / 1.216 GB, free: 4.461 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.414e-05/0.7847, allocations: 7.906 kB / 1.216 GB, free: 4.453 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003192/0.785, allocations: 129.9 kB / 1.216 GB, free: 4.32 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.785, allocations: 0 / 1.216 GB, free: 4.32 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.785, allocations: 0 / 1.216 GB, free: 4.32 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.7851, allocations: 0 / 1.216 GB, free: 4.32 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002042/0.7853, allocations: 189.5 kB / 1.216 GB, free: 4.086 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.7853, allocations: 0 / 1.216 GB, free: 4.086 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001103/0.7854, allocations: 19.92 kB / 1.216 GB, free: 4.066 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.616e-06/0.7854, allocations: 0 / 1.216 GB, free: 4.066 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.7854, allocations: 11.94 kB / 1.216 GB, free: 4.055 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.7854, allocations: 4 kB / 1.216 GB, free: 4.051 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.7854, allocations: 0 / 1.216 GB, free: 4.051 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002541/0.7857, allocations: 195.5 kB / 1.216 GB, free: 3.844 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.681e-05/0.7857, allocations: 89 kB / 1.216 GB, free: 3.738 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.088e-05/0.7858, allocations: 3.938 kB / 1.216 GB, free: 3.734 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.621e-05/0.7859, allocations: 8 kB / 1.216 GB, free: 3.727 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.851e-05/0.7859, allocations: 11.98 kB / 1.216 GB, free: 3.715 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.112e-06/0.7859, allocations: 0 / 1.216 GB, free: 3.715 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.487e-05/0.786, allocations: 91.27 kB / 1.217 GB, free: 3.625 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.786, allocations: 0 / 1.217 GB, free: 3.625 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002559/0.7863, allocations: 24 kB / 1.217 GB, free: 3.602 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.0006697/0.787, allocations: 0.7513 MB / 1.217 GB, free: 2.824 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002439/0.7872, allocations: 88.12 kB / 1.217 GB, free: 2.738 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.7872, allocations: 4 kB / 1.217 GB, free: 2.734 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.873e-05/0.7873, allocations: 39.92 kB / 1.217 GB, free: 2.695 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003433/0.7877, allocations: 20.28 kB / 1.217 GB, free: 2.676 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006336/0.7883, allocations: 247.6 kB / 1.218 GB, free: 2.395 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000249/0.7886, allocations: 0.6922 MB / 1.218 GB, free: 1.676 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 5.743e-05/0.7886, allocations: 8 kB / 1.218 GB, free: 1.668 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.482e-05/0.7887, allocations: 23.42 kB / 1.218 GB, free: 1.645 MB / 0.9356 GB Notification: Performance of SimCode: time 4.71e-07/0.7887, allocations: 0 / 1.218 GB, free: 1.645 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02062/0.8093, allocations: 2.281 MB / 1.221 GB, free: 15.51 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.24/8.049, allocations: 16.28 kB / 1.221 GB, free: 15.49 MB / 0.9512 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=50 --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