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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001716/0.001716, allocations: 105.9 kB / 16.36 MB, free: 6.289 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.001789/0.001789, allocations: 193.4 kB / 17.29 MB, free: 5.863 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.308/1.308, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.059/2.059, allocations: 390.3 MB / 0.6655 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 70.2 kB / 0.814 GB, free: 32.73 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2112/0.2124, allocations: 140.4 MB / 0.9511 GB, free: 8.074 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.002287/0.2147, allocations: 1.609 MB / 0.9527 GB, free: 6.457 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003012/0.2177, allocations: 3.26 MB / 0.9559 GB, free: 3.184 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.835e-05/0.2178, allocations: 0 / 0.9559 GB, free: 3.184 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.989e-05/0.2178, allocations: 11.86 kB / 0.9559 GB, free: 3.172 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.627e-05/0.2179, allocations: 19.86 kB / 0.9559 GB, free: 3.152 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003945/0.2183, allocations: 119.5 kB / 0.956 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.494e-05/0.2184, allocations: 75.72 kB / 0.9561 GB, free: 2.961 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 7.669e-05/0.2185, allocations: 16.17 kB / 0.9561 GB, free: 2.945 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.981e-05/0.2186, allocations: 31.92 kB / 0.9561 GB, free: 2.914 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 8.209e-05/0.2187, allocations: 51.75 kB / 0.9562 GB, free: 2.863 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.368e-05/0.2187, allocations: 4 kB / 0.9562 GB, free: 2.859 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002386/0.2189, allocations: 95.86 kB / 0.9563 GB, free: 2.766 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.175e-05/0.219, allocations: 19.97 kB / 0.9563 GB, free: 2.746 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.596e-05/0.219, allocations: 31.8 kB / 0.9563 GB, free: 2.715 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001999/0.2192, allocations: 127.6 kB / 0.9564 GB, free: 2.59 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.2192, allocations: 0 / 0.9564 GB, free: 2.59 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.512e-06/0.2192, allocations: 3.938 kB / 0.9565 GB, free: 2.586 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.2192, allocations: 0 / 0.9565 GB, free: 2.586 MB / 0.7325 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.0004749/0.2197, allocations: 387.2 kB / 0.9568 GB, free: 2.16 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.178e-05/0.2197, allocations: 8.031 kB / 0.9568 GB, free: 2.152 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.837e-05/0.2198, allocations: 8.844 kB / 0.9568 GB, free: 2.145 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.891e-05/0.2199, allocations: 180.2 kB / 0.957 GB, free: 1.93 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.2199, allocations: 8.125 kB / 0.957 GB, free: 1.922 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.622e-05/0.2199, allocations: 7.984 kB / 0.957 GB, free: 1.914 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001774/0.2201, allocations: 77.59 kB / 0.9571 GB, free: 1.832 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.751e-06/0.2201, allocations: 4 kB / 0.9571 GB, free: 1.828 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.2201, allocations: 4 kB / 0.9571 GB, free: 1.824 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.2202, allocations: 4 kB / 0.9571 GB, free: 1.82 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001707/0.2203, allocations: 71.94 kB / 0.9572 GB, free: 1.75 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004025/0.2207, allocations: 312.8 kB / 0.9575 GB, free: 1.395 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001975/0.2209, allocations: 102.5 kB / 0.9576 GB, free: 1.285 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.952e-05/0.221, allocations: 44.84 kB / 0.9576 GB, free: 1.238 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006855/0.2217, allocations: 0.7605 MB / 0.9584 GB, free: 368 kB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.758e-05/0.2218, allocations: 30.56 kB / 0.9584 GB, free: 328 kB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 1.082e-06/0.2218, allocations: 0 / 0.9584 GB, free: 328 kB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.0003502/0.2221, allocations: 141.8 kB / 0.9585 GB, free: 180 kB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.888e-05/0.2222, allocations: 55.41 kB / 0.9586 GB, free: 112 kB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.581e-05/0.2223, allocations: 113.9 kB / 0.9587 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 1.307e-05/0.2223, allocations: 29.7 kB / 0.9587 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 4.813e-05/0.2223, allocations: 99.92 kB / 0.9588 GB, free: 15.85 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 1.938e-05/0.2224, allocations: 27.56 kB / 0.9588 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.898e-05/0.2224, allocations: 21.7 kB / 0.9589 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.2225, allocations: 318.8 kB / 0.9592 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.066e-05/0.2226, allocations: 31.97 kB / 0.9592 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.12e-05/0.2227, allocations: 41.7 kB / 0.9592 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001627/0.2229, allocations: 85.92 kB / 0.9593 GB, free: 15.31 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2229, allocations: 0 / 0.9593 GB, free: 15.31 MB / 0.7481 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002018/0.2231, allocations: 101.7 kB / 0.9594 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.2231, allocations: 11.94 kB / 0.9594 GB, free: 15.19 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.2231, allocations: 192 / 0.9594 GB, free: 15.19 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/0.2231, allocations: 7.969 kB / 0.9594 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001193/0.2232, allocations: 23.92 kB / 0.9595 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.2233, allocations: 3.984 kB / 0.9595 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.665e-05/0.2233, allocations: 11.91 kB / 0.9595 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.918e-06/0.2233, allocations: 4 kB / 0.9595 GB, free: 15.14 MB / 0.7481 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.263e-05/0.2234, allocations: 119.8 kB / 0.9596 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.873e-05/0.2235, allocations: 7.844 kB / 0.9596 GB, free: 15.01 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000258/0.2237, allocations: 129.9 kB / 0.9597 GB, free: 14.87 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.2237, allocations: 0 / 0.9597 GB, free: 14.87 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.2237, allocations: 4 kB / 0.9597 GB, free: 14.87 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.2237, allocations: 0 / 0.9597 GB, free: 14.87 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001657/0.2239, allocations: 189.6 kB / 0.9599 GB, free: 14.63 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.2239, allocations: 3.938 kB / 0.9599 GB, free: 14.63 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001039/0.224, allocations: 15.98 kB / 0.9599 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.147e-06/0.224, allocations: 7.922 kB / 0.9599 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.2241, allocations: 0 / 0.9599 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.2241, allocations: 4 kB / 0.9599 GB, free: 14.6 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.2241, allocations: 4 kB / 0.9599 GB, free: 14.6 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002319/0.2243, allocations: 207.3 kB / 0.9601 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 3.879e-05/0.2243, allocations: 84.95 kB / 0.9602 GB, free: 14.28 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.999e-05/0.2244, allocations: 7.938 kB / 0.9602 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.079e-05/0.2245, allocations: 3.984 kB / 0.9602 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.329e-05/0.2245, allocations: 12 kB / 0.9602 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.293e-06/0.2245, allocations: 4 kB / 0.9602 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 3.974e-05/0.2246, allocations: 91.7 kB / 0.9603 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2246, allocations: 0 / 0.9603 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002406/0.2248, allocations: 27.98 kB / 0.9604 GB, free: 14.13 MB / 0.7481 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.0001522/0.225, allocations: 111.2 kB / 0.9605 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002027/0.2252, allocations: 83.89 kB / 0.9605 GB, free: 13.93 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.2252, allocations: 0 / 0.9605 GB, free: 13.93 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 9.342e-05/0.2253, allocations: 43.97 kB / 0.9606 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002452/0.2255, allocations: 6.172 kB / 0.9606 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00035/0.2259, allocations: 217.9 kB / 0.9608 GB, free: 13.64 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002066/0.2261, allocations: 0.6885 MB / 0.9615 GB, free: 12.93 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 4.736e-05/0.2262, allocations: 8.531 kB / 0.9615 GB, free: 12.92 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.896e-05/0.2262, allocations: 15.44 kB / 0.9615 GB, free: 12.91 MB / 0.7481 GB Notification: Performance of SimCode: time 2.41e-07/0.2262, allocations: 4 kB / 0.9615 GB, free: 12.91 MB / 0.7481 GB Notification: Performance of Templates: time 0.4013/0.6275, allocations: 1.008 MB / 0.9625 GB, free: 11.91 MB / 0.7481 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 -s cvode -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