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.001304/0.001304, allocations: 111.2 kB / 16.38 MB, free: 6.012 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.001469/0.001469, allocations: 190.8 kB / 17.31 MB, free: 5.621 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.361/1.361, allocations: 222.9 MB / 241 MB, free: 15 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.548/2.548, allocations: 442.6 MB / 0.7166 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 63.66 kB / 0.8774 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2671/0.2683, allocations: 153 MB / 1.027 GB, free: 2.016 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.002707/0.2711, allocations: 1.619 MB / 1.028 GB, free: 396 kB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.003339/0.2744, allocations: 3.252 MB / 1.032 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.275e-05/0.2745, allocations: 4 kB / 1.032 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.815e-05/0.2746, allocations: 3.938 kB / 1.032 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.915e-05/0.2746, allocations: 19.84 kB / 1.032 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004124/0.275, allocations: 119.5 kB / 1.032 GB, free: 12.97 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001058/0.2752, allocations: 75.77 kB / 1.032 GB, free: 12.9 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.85e-05/0.2752, allocations: 12.17 kB / 1.032 GB, free: 12.89 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.974e-05/0.2754, allocations: 55.77 kB / 1.032 GB, free: 12.83 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.5e-05/0.2754, allocations: 35.84 kB / 1.032 GB, free: 12.8 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.53e-05/0.2755, allocations: 4 kB / 1.032 GB, free: 12.79 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002585/0.2757, allocations: 99.78 kB / 1.032 GB, free: 12.7 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.884e-05/0.2758, allocations: 19.97 kB / 1.032 GB, free: 12.68 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.038e-05/0.2758, allocations: 31.8 kB / 1.032 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002101/0.276, allocations: 123.6 kB / 1.032 GB, free: 12.52 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.276, allocations: 0 / 1.032 GB, free: 12.52 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2761, allocations: 3.938 kB / 1.032 GB, free: 12.52 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.2761, allocations: 4 kB / 1.032 GB, free: 12.52 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.0005238/0.2766, allocations: 387.2 kB / 1.032 GB, free: 12.09 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.436e-05/0.2766, allocations: 8.031 kB / 1.032 GB, free: 12.08 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.678e-05/0.2767, allocations: 8.844 kB / 1.033 GB, free: 12.07 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001176/0.2768, allocations: 176.2 kB / 1.033 GB, free: 11.86 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.2768, allocations: 8.375 kB / 1.033 GB, free: 11.86 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.398e-05/0.2768, allocations: 384 / 1.033 GB, free: 11.86 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002015/0.277, allocations: 89.52 kB / 1.033 GB, free: 11.76 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.2771, allocations: 0 / 1.033 GB, free: 11.76 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.301e-05/0.2771, allocations: 8 kB / 1.033 GB, free: 11.75 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.2771, allocations: 0 / 1.033 GB, free: 11.75 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001891/0.2773, allocations: 71.94 kB / 1.033 GB, free: 11.68 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004433/0.2777, allocations: 324.7 kB / 1.033 GB, free: 11.32 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002176/0.278, allocations: 94.55 kB / 1.033 GB, free: 11.21 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.844e-05/0.2781, allocations: 44.83 kB / 1.033 GB, free: 11.17 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00076/0.2788, allocations: 0.7528 MB / 1.034 GB, free: 10.3 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.136e-05/0.2789, allocations: 34.56 kB / 1.034 GB, free: 10.25 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 1.423e-06/0.2789, allocations: 0 / 1.034 GB, free: 10.25 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.0003842/0.2793, allocations: 141.5 kB / 1.034 GB, free: 10.11 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.494e-05/0.2793, allocations: 55.39 kB / 1.034 GB, free: 10.04 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.214e-05/0.2794, allocations: 121.9 kB / 1.034 GB, free: 9.914 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.388e-05/0.2794, allocations: 29.7 kB / 1.034 GB, free: 9.879 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.606e-05/0.2795, allocations: 88.08 kB / 1.034 GB, free: 9.789 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.2e-05/0.2795, allocations: 31.55 kB / 1.034 GB, free: 9.758 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.42e-05/0.2796, allocations: 25.7 kB / 1.035 GB, free: 9.727 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.2797, allocations: 314.8 kB / 1.035 GB, free: 9.41 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.752e-05/0.2798, allocations: 32.02 kB / 1.035 GB, free: 9.379 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001016/0.2799, allocations: 49.69 kB / 1.035 GB, free: 9.324 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001729/0.28, allocations: 77.98 kB / 1.035 GB, free: 9.242 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.2801, allocations: 0 / 1.035 GB, free: 9.242 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002356/0.2803, allocations: 113.5 kB / 1.035 GB, free: 9.125 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.2803, allocations: 4 kB / 1.035 GB, free: 9.121 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.2803, allocations: 4.219 kB / 1.035 GB, free: 9.117 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.2804, allocations: 0 / 1.035 GB, free: 9.117 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001319/0.2805, allocations: 31.86 kB / 1.035 GB, free: 9.086 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.648e-06/0.2805, allocations: 0 / 1.035 GB, free: 9.086 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.373e-05/0.2806, allocations: 15.98 kB / 1.035 GB, free: 9.07 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.899e-06/0.2806, allocations: 4 kB / 1.035 GB, free: 9.066 MB / 0.8106 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.107e-05/0.2807, allocations: 117.8 kB / 1.035 GB, free: 8.941 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.291e-05/0.2807, allocations: 7.906 kB / 1.035 GB, free: 8.934 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002776/0.281, allocations: 122 kB / 1.035 GB, free: 8.812 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.281, allocations: 7.922 kB / 1.035 GB, free: 8.805 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.281, allocations: 4 kB / 1.035 GB, free: 8.801 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.131e-05/0.2811, allocations: 81.02 kB / 1.035 GB, free: 8.703 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.844e-05/0.2811, allocations: 3.984 kB / 1.035 GB, free: 8.699 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.421e-05/0.2812, allocations: 4 kB / 1.035 GB, free: 8.695 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.024e-05/0.2812, allocations: 7.984 kB / 1.035 GB, free: 8.688 MB / 0.8106 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002904/0.2815, allocations: 196.8 kB / 1.036 GB, free: 8.488 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002732/0.2818, allocations: 278.6 kB / 1.036 GB, free: 8.199 MB / 0.8106 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.494e-05/0.2819, allocations: 35.98 kB / 1.036 GB, free: 8.164 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.478e-05/0.282, allocations: 95.27 kB / 1.036 GB, free: 8.07 MB / 0.8106 GB Notification: Performance of Backend: time 1.653e-06/0.282, allocations: 0 / 1.036 GB, free: 8.07 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0005344/0.2825, allocations: 168.4 kB / 1.036 GB, free: 7.898 MB / 0.8106 GB Notification: Performance of SimCode: time 0.0005259/0.2831, allocations: 0.6396 MB / 1.037 GB, free: 7.207 MB / 0.8106 GB Notification: Performance of Templates: time 0.003868/0.2869, allocations: 1.508 MB / 1.038 GB, free: 5.707 MB / 0.8106 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/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