Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rayleighNumber.Ra|rayleighNumber.Gr|rayleighNumber.Pr",fileNamePrefix="Buildings_9_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_9_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.00148/0.00148, allocations: 118 kB / 16.42 MB, free: 6.465 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.001443/0.001443, allocations: 189.5 kB / 17.35 MB, free: 5.715 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.405/1.405, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.247/2.247, allocations: 390.3 MB / 0.6655 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 67.91 kB / 0.9516 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7371/0.7384, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.00269/0.7412, allocations: 1.604 MB / 1.09 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003778/0.745, allocations: 3.262 MB / 1.093 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.629e-05/0.7451, allocations: 4.844 kB / 1.093 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.894e-05/0.7452, allocations: 4.734 kB / 1.093 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.608e-05/0.7453, allocations: 20.64 kB / 1.093 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006069/0.7459, allocations: 117.8 kB / 1.094 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001334/0.746, allocations: 73.95 kB / 1.094 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.7461, allocations: 15.88 kB / 1.094 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001378/0.7463, allocations: 45.17 kB / 1.094 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.865e-05/0.7464, allocations: 37.67 kB / 1.094 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.759e-05/0.7464, allocations: 12.75 kB / 1.094 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004182/0.7468, allocations: 95.36 kB / 1.094 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.463e-05/0.7469, allocations: 13.5 kB / 1.094 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.278e-05/0.7469, allocations: 35.3 kB / 1.094 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002741/0.7472, allocations: 123 kB / 1.094 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.7472, allocations: 4 kB / 1.094 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.465e-06/0.7472, allocations: 0.6562 kB / 1.094 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.7473, allocations: 0 / 1.094 GB, free: 1.77 MB / 0.8575 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.000545/0.7478, allocations: 386.6 kB / 1.094 GB, free: 1.391 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.7479, allocations: 13.86 kB / 1.094 GB, free: 1.387 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.888e-05/0.7479, allocations: 8.219 kB / 1.094 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.883e-05/0.748, allocations: 177.5 kB / 1.095 GB, free: 1.176 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.633e-05/0.748, allocations: 10.62 kB / 1.095 GB, free: 1.168 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.608e-05/0.7481, allocations: 7.219 kB / 1.095 GB, free: 1.164 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002221/0.7483, allocations: 82.78 kB / 1.095 GB, free: 1.113 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.7483, allocations: 0.7031 kB / 1.095 GB, free: 1.113 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/0.7483, allocations: 4.688 kB / 1.095 GB, free: 1.109 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.7483, allocations: 1.938 kB / 1.095 GB, free: 1.109 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002074/0.7485, allocations: 72.62 kB / 1.095 GB, free: 1.094 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004678/0.749, allocations: 323.8 kB / 1.095 GB, free: 0.7891 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002445/0.7493, allocations: 98.7 kB / 1.095 GB, free: 0.7305 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001189/0.7494, allocations: 43.95 kB / 1.095 GB, free: 0.7109 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008637/0.7503, allocations: 0.756 MB / 1.096 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.405e-05/0.7503, allocations: 35.62 kB / 1.096 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=8): time 1.393e-06/0.7503, allocations: 0 / 1.096 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of matching and sorting (n=8): time 0.0004902/0.7508, allocations: 137.3 kB / 1.096 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.897e-05/0.7509, allocations: 57.38 kB / 1.096 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001107/0.751, allocations: 118.3 kB / 1.096 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.537e-05/0.751, allocations: 26.56 kB / 1.096 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 7.977e-05/0.7511, allocations: 92.48 kB / 1.096 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.23e-05/0.7511, allocations: 32.94 kB / 1.096 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.182e-05/0.7512, allocations: 22.02 kB / 1.096 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.7513, allocations: 318.9 kB / 1.097 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.91e-05/0.7514, allocations: 37.81 kB / 1.097 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001064/0.7516, allocations: 42.64 kB / 1.097 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002049/0.7518, allocations: 82.16 kB / 1.097 GB, free: 15.08 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.7518, allocations: 0.875 kB / 1.097 GB, free: 15.08 MB / 0.8731 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002693/0.7521, allocations: 111.9 kB / 1.097 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.7521, allocations: 9.188 kB / 1.097 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.7521, allocations: 0.8438 kB / 1.097 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.7521, allocations: 1.531 kB / 1.097 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001501/0.7523, allocations: 22.41 kB / 1.097 GB, free: 15.01 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.341e-05/0.7523, allocations: 1.797 kB / 1.097 GB, free: 15.01 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.033e-05/0.7524, allocations: 9.703 kB / 1.097 GB, free: 15.01 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.227e-05/0.7524, allocations: 7 kB / 1.097 GB, free: 15 MB / 0.8731 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 9.079e-05/0.7525, allocations: 121.5 kB / 1.097 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.728e-05/0.7526, allocations: 11.81 kB / 1.097 GB, free: 14.87 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003431/0.7529, allocations: 122.7 kB / 1.097 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.7529, allocations: 0.75 kB / 1.097 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.7529, allocations: 0.7812 kB / 1.097 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 4.366e-05/0.753, allocations: 83.38 kB / 1.097 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.129e-05/0.753, allocations: 1.547 kB / 1.097 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.7531, allocations: 9.328 kB / 1.097 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.523e-05/0.7532, allocations: 9.797 kB / 1.097 GB, free: 14.69 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003352/0.7535, allocations: 184 kB / 1.098 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003506/0.7539, allocations: 284.8 kB / 1.098 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000106/0.754, allocations: 42.59 kB / 1.098 GB, free: 14.31 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 5.618e-05/0.7541, allocations: 92.3 kB / 1.098 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of Backend: time 6.51e-07/0.7541, allocations: 0 / 1.098 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0006463/0.7547, allocations: 159.7 kB / 1.098 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of SimCode: time 0.0007108/0.7554, allocations: 0.642 MB / 1.099 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of Templates: time 0.005014/0.7605, allocations: 1.52 MB / 1.1 GB, free: 13.33 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches