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.001475/0.001475, allocations: 110.6 kB / 16.37 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.001545/0.001545, allocations: 190.1 kB / 17.31 MB, free: 5.613 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.685/1.685, 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.187/2.187, allocations: 390.3 MB / 0.6655 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001247, allocations: 66.72 kB / 0.814 GB, free: 32.7 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2435/0.2447, allocations: 140.4 MB / 0.9511 GB, free: 8.062 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.002593/0.2473, allocations: 1.605 MB / 0.9527 GB, free: 6.449 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003434/0.2508, allocations: 3.26 MB / 0.9559 GB, free: 3.176 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.767e-05/0.2509, allocations: 4 kB / 0.9559 GB, free: 3.172 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.116e-05/0.2509, allocations: 3.938 kB / 0.9559 GB, free: 3.168 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.817e-05/0.251, allocations: 15.84 kB / 0.9559 GB, free: 3.152 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004143/0.2514, allocations: 119.5 kB / 0.956 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.898e-05/0.2515, allocations: 79.72 kB / 0.9561 GB, free: 2.957 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 8.824e-05/0.2516, allocations: 12.17 kB / 0.9561 GB, free: 2.945 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001035/0.2517, allocations: 39.84 kB / 0.9561 GB, free: 2.906 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 8.297e-05/0.2518, allocations: 35.84 kB / 0.9562 GB, free: 2.871 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.404e-05/0.2518, allocations: 4 kB / 0.9562 GB, free: 2.867 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002555/0.2521, allocations: 103.8 kB / 0.9563 GB, free: 2.766 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.286e-05/0.2521, allocations: 23.91 kB / 0.9563 GB, free: 2.742 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.04e-05/0.2522, allocations: 31.86 kB / 0.9563 GB, free: 2.711 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002211/0.2524, allocations: 127.6 kB / 0.9565 GB, free: 2.586 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.2524, allocations: 0 / 0.9565 GB, free: 2.586 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.302e-06/0.2524, allocations: 0 / 0.9565 GB, free: 2.586 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.508e-06/0.2524, 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.0005325/0.253, allocations: 387.2 kB / 0.9568 GB, free: 2.16 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.086e-05/0.253, allocations: 8.031 kB / 0.9568 GB, free: 2.152 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.611e-05/0.2531, allocations: 8.844 kB / 0.9568 GB, free: 2.145 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001226/0.2532, allocations: 184.1 kB / 0.957 GB, free: 1.926 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.2532, allocations: 8.125 kB / 0.957 GB, free: 1.918 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.748e-05/0.2532, allocations: 7.984 kB / 0.957 GB, free: 1.91 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001889/0.2534, allocations: 77.66 kB / 0.9571 GB, free: 1.828 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.2534, allocations: 0 / 0.9571 GB, free: 1.828 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.2535, allocations: 0 / 0.9571 GB, free: 1.828 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.2535, allocations: 3.984 kB / 0.9571 GB, free: 1.824 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001848/0.2537, allocations: 75.94 kB / 0.9572 GB, free: 1.75 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004518/0.2541, allocations: 328.7 kB / 0.9575 GB, free: 1.379 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002065/0.2543, allocations: 90.53 kB / 0.9576 GB, free: 1.281 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001038/0.2544, allocations: 44.84 kB / 0.9576 GB, free: 1.234 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007814/0.2552, allocations: 0.7645 MB / 0.9584 GB, free: 360 kB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.803e-05/0.2553, allocations: 34.55 kB / 0.9584 GB, free: 316 kB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 1.302e-06/0.2553, allocations: 0 / 0.9584 GB, free: 316 kB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.0003837/0.2557, allocations: 137.6 kB / 0.9585 GB, free: 172 kB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.292e-05/0.2557, allocations: 51.41 kB / 0.9586 GB, free: 108 kB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.2558, allocations: 121.8 kB / 0.9587 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 1.457e-05/0.2558, allocations: 25.7 kB / 0.9587 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 5.927e-05/0.2559, allocations: 99.98 kB / 0.9588 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 2.055e-05/0.2559, allocations: 23.55 kB / 0.9588 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.463e-05/0.256, allocations: 29.7 kB / 0.9589 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 9.659e-05/0.2561, allocations: 314.8 kB / 0.9592 GB, free: 15.47 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.694e-05/0.2562, allocations: 36 kB / 0.9592 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.68e-05/0.2563, allocations: 45.7 kB / 0.9593 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001808/0.2565, allocations: 73.69 kB / 0.9593 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.2565, allocations: 0 / 0.9593 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002207/0.2567, allocations: 113.6 kB / 0.9594 GB, free: 15.19 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.2567, allocations: 7.938 kB / 0.9594 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.2567, allocations: 112 / 0.9594 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.2568, allocations: 7.938 kB / 0.9594 GB, free: 15.17 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001394/0.2569, allocations: 15.98 kB / 0.9595 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.2569, allocations: 4 kB / 0.9595 GB, free: 15.15 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.543e-05/0.257, allocations: 11.89 kB / 0.9595 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.257, allocations: 0 / 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.927e-05/0.2571, allocations: 127.8 kB / 0.9596 GB, free: 15.01 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.389e-05/0.2571, allocations: 11.84 kB / 0.9596 GB, free: 15 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002885/0.2574, allocations: 126 kB / 0.9597 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.2574, allocations: 0 / 0.9597 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.2575, allocations: 0 / 0.9597 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.2575, allocations: 0 / 0.9597 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001859/0.2577, allocations: 185.6 kB / 0.9599 GB, free: 14.63 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.2577, allocations: 4 kB / 0.9599 GB, free: 14.63 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001084/0.2578, allocations: 20.11 kB / 0.9599 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.2578, allocations: 7.938 kB / 0.9599 GB, free: 14.6 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.198e-06/0.2578, allocations: 3.938 kB / 0.9599 GB, free: 14.6 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.2578, allocations: 3.984 kB / 0.9599 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.2578, allocations: 0 / 0.9599 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002543/0.2581, allocations: 203.9 kB / 0.9601 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 4.031e-05/0.2581, allocations: 88.95 kB / 0.9602 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.83e-05/0.2582, allocations: 7.938 kB / 0.9602 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.805e-05/0.2583, allocations: 4 kB / 0.9602 GB, free: 14.26 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.099e-05/0.2583, allocations: 7.984 kB / 0.9602 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.2583, allocations: 0 / 0.9602 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 5.309e-05/0.2584, allocations: 91.27 kB / 0.9603 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2584, allocations: 4 kB / 0.9603 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002542/0.2586, allocations: 24 kB / 0.9604 GB, free: 14.14 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.0001853/0.2588, allocations: 126.9 kB / 0.9605 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002377/0.2591, allocations: 80.02 kB / 0.9606 GB, free: 13.93 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.2591, allocations: 0 / 0.9606 GB, free: 13.93 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 9.426e-05/0.2592, allocations: 39.92 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.0002922/0.2595, allocations: 20.05 kB / 0.9606 GB, free: 13.87 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004164/0.2599, allocations: 209.9 kB / 0.9608 GB, free: 13.64 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002397/0.2602, allocations: 0.6885 MB / 0.9615 GB, free: 12.92 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 5.837e-05/0.2602, allocations: 15.97 kB / 0.9615 GB, free: 12.91 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.109e-05/0.2603, allocations: 11.44 kB / 0.9615 GB, free: 12.9 MB / 0.7481 GB Notification: Performance of SimCode: time 2.41e-07/0.2603, allocations: 0 / 0.9615 GB, free: 12.9 MB / 0.7481 GB Notification: Performance of Templates: time 0.00334/0.2636, allocations: 1.013 MB / 0.9625 GB, free: 11.89 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 gbode -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