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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rayleighNumber.Ra|rayleighNumber.Gr|rayleighNumber.Pr",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rayleighNumber.Ra|rayleighNumber.Gr|rayleighNumber.Pr",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009955/0.0009957, allocations: 86.25 kB / 15.06 MB, free: 1.09 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.001061/0.001061, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.349/1.349, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.688/2.688, allocations: 462.6 MB / 0.736 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002988/0.0002988, allocations: 10.84 kB / 0.9021 GB, free: 36.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2414/0.2417, allocations: 159.6 MB / 1.058 GB, free: 5.41 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.001571/0.2434, allocations: 1.308 MB / 1.059 GB, free: 4.09 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003219/0.2466, allocations: 3.052 MB / 1.062 GB, free: 1.027 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.491e-05/0.2467, allocations: 0 / 1.062 GB, free: 1.027 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.941e-05/0.2467, allocations: 3.984 kB / 1.062 GB, free: 1.023 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.058e-05/0.2468, allocations: 15.86 kB / 1.062 GB, free: 1.008 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003734/0.2471, allocations: 91.61 kB / 1.062 GB, free: 0.918 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.217e-05/0.2472, allocations: 67.77 kB / 1.062 GB, free: 0.8516 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.366e-05/0.2473, allocations: 12.17 kB / 1.062 GB, free: 0.8398 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.76e-05/0.2474, allocations: 35.84 kB / 1.063 GB, free: 0.8047 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.104e-05/0.2475, allocations: 27.91 kB / 1.063 GB, free: 0.7773 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.571e-05/0.2475, allocations: 7.938 kB / 1.063 GB, free: 0.7695 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002233/0.2478, allocations: 79.86 kB / 1.063 GB, free: 0.6914 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.663e-05/0.2478, allocations: 11.94 kB / 1.063 GB, free: 0.6797 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.6e-05/0.2478, allocations: 29.7 kB / 1.063 GB, free: 0.6445 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001415/0.248, allocations: 80.08 kB / 1.063 GB, free: 0.5664 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.248, allocations: 0 / 1.063 GB, free: 0.5664 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.085e-06/0.248, allocations: 0 / 1.063 GB, free: 0.5664 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.296e-06/0.248, allocations: 3.938 kB / 1.063 GB, free: 0.5625 MB / 0.8106 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.000462/0.2485, allocations: 379.2 kB / 1.063 GB, free: 148 kB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.123e-05/0.2485, allocations: 8.031 kB / 1.063 GB, free: 140 kB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.953e-05/0.2485, allocations: 7.906 kB / 1.063 GB, free: 132 kB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001161/0.2487, allocations: 182.8 kB / 1.063 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.2487, allocations: 8 kB / 1.063 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.517e-05/0.2487, allocations: 4 kB / 1.063 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001975/0.2489, allocations: 77.59 kB / 1.063 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.2489, allocations: 11.98 kB / 1.063 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.249, allocations: 4 kB / 1.063 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.249, allocations: 0 / 1.063 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001939/0.2492, allocations: 79.94 kB / 1.063 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004408/0.2496, allocations: 328.7 kB / 1.064 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002108/0.2498, allocations: 98.53 kB / 1.064 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001007/0.2499, allocations: 44.84 kB / 1.064 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007118/0.2507, allocations: 0.7487 MB / 1.065 GB, free: 14.33 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/0.2507, allocations: 42.73 kB / 1.065 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 1.193e-06/0.2507, allocations: 0 / 1.065 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.000398/0.2511, allocations: 157.5 kB / 1.065 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.935e-05/0.2511, allocations: 51.41 kB / 1.065 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.927e-05/0.2512, allocations: 117.8 kB / 1.065 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.675e-05/0.2513, allocations: 25.7 kB / 1.065 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.531e-05/0.2513, allocations: 88.08 kB / 1.065 GB, free: 13.81 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.228e-05/0.2513, allocations: 35.48 kB / 1.065 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.46e-06/0.2513, allocations: 0 / 1.065 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.26e-05/0.2514, allocations: 322.8 kB / 1.065 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.173e-05/0.2515, allocations: 35.98 kB / 1.065 GB, free: 13.42 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.644e-05/0.2516, allocations: 49.62 kB / 1.066 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.203e-05/0.2517, allocations: 36 kB / 1.066 GB, free: 13.33 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.2518, allocations: 4 kB / 1.066 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000237/0.252, allocations: 117.9 kB / 1.066 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.252, allocations: 7.953 kB / 1.066 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.252, allocations: 11.92 kB / 1.066 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.108e-06/0.2521, allocations: 0 / 1.066 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001327/0.2522, allocations: 24.02 kB / 1.066 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.2522, allocations: 112 / 1.066 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.171e-05/0.2523, allocations: 11.94 kB / 1.066 GB, free: 13.15 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.2523, allocations: 0 / 1.066 GB, free: 13.15 MB / 0.8262 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.329e-05/0.2524, allocations: 113.8 kB / 1.066 GB, free: 13.03 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.142e-05/0.2524, allocations: 11.89 kB / 1.066 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000299/0.2527, allocations: 137.9 kB / 1.066 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.2527, allocations: 4 kB / 1.066 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.2527, allocations: 0 / 1.066 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.544e-06/0.2527, allocations: 0 / 1.066 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001797/0.2529, allocations: 185.6 kB / 1.066 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.2529, allocations: 0 / 1.066 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001113/0.2531, allocations: 27.98 kB / 1.066 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.2531, allocations: 0 / 1.066 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.954e-06/0.2531, allocations: 0 / 1.066 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.2531, allocations: 4.141 kB / 1.066 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2531, allocations: 0 / 1.066 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002594/0.2534, allocations: 215.3 kB / 1.066 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.972e-05/0.2534, allocations: 88.95 kB / 1.066 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.601e-05/0.2534, allocations: 0 / 1.066 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.867e-05/0.2535, allocations: 11.98 kB / 1.066 GB, free: 12.26 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.847e-05/0.2536, allocations: 15.92 kB / 1.067 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.795e-06/0.2536, allocations: 4 kB / 1.067 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.735e-05/0.2536, allocations: 91.27 kB / 1.067 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2536, allocations: 0 / 1.067 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002617/0.2539, allocations: 28 kB / 1.067 GB, free: 12.12 MB / 0.8262 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001689/0.2541, allocations: 107.2 kB / 1.067 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002322/0.2543, allocations: 87.95 kB / 1.067 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.2543, allocations: 7.938 kB / 1.067 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.593e-05/0.2544, allocations: 43.97 kB / 1.067 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002947/0.2547, allocations: 8 kB / 1.067 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003879/0.2551, allocations: 244.3 kB / 1.067 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002097/0.2554, allocations: 0.6898 MB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.78e-05/0.2554, allocations: 12.17 kB / 1.068 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.395e-05/0.2555, allocations: 19.42 kB / 1.068 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of SimCode: time 2.71e-07/0.2555, allocations: 0 / 1.068 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of Templates: time 0.003142/0.2586, allocations: 0.9234 MB / 1.069 GB, free: 9.941 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.makefile (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 & ./Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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