Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001642/0.001642, allocations: 107.8 kB / 16.41 MB, free: 6.492 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.001723/0.001723, allocations: 185.5 kB / 17.34 MB, free: 5.727 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.368/1.368, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.497/2.497, allocations: 437 MB / 0.7112 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0015/0.0015, allocations: 68.09 kB / 1.019 GB, free: 9.348 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8521/0.8536, allocations: 151.6 MB / 1.167 GB, free: 3.805 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.003021/0.8567, allocations: 1.608 MB / 1.169 GB, free: 2.188 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.004121/0.8608, allocations: 3.26 MB / 1.172 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.465e-05/0.861, allocations: 0 / 1.172 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 3.781e-05/0.861, allocations: 7.938 kB / 1.172 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 9.125e-05/0.8611, allocations: 7.875 kB / 1.172 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005617/0.8617, allocations: 123.5 kB / 1.172 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0001351/0.8618, allocations: 79.7 kB / 1.172 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.8619, allocations: 20.17 kB / 1.172 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001191/0.8621, allocations: 43.83 kB / 1.172 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001003/0.8622, allocations: 35.84 kB / 1.172 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.684e-05/0.8622, allocations: 4 kB / 1.172 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003213/0.8625, allocations: 111.8 kB / 1.172 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 2.295e-05/0.8626, allocations: 15.92 kB / 1.173 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 4.189e-05/0.8626, allocations: 27.86 kB / 1.173 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0002578/0.8629, allocations: 120.2 kB / 1.173 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.8629, allocations: 3.938 kB / 1.173 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.633e-06/0.8629, allocations: 4 kB / 1.173 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.8629, allocations: 0 / 1.173 GB, free: 14.32 MB / 0.9044 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.0006074/0.8635, allocations: 391.1 kB / 1.173 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.8636, allocations: 8.922 kB / 1.173 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.865e-05/0.8636, allocations: 12.83 kB / 1.173 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00014/0.8638, allocations: 176.2 kB / 1.173 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.8638, allocations: 384 / 1.173 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.816e-05/0.8638, allocations: 8.375 kB / 1.173 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000237/0.8641, allocations: 85.58 kB / 1.173 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.8641, allocations: 0 / 1.173 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.8641, allocations: 0 / 1.173 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.8641, allocations: 4 kB / 1.173 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001975/0.8643, allocations: 67.95 kB / 1.173 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005325/0.8649, allocations: 340.6 kB / 1.174 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002409/0.8651, allocations: 86.55 kB / 1.174 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001042/0.8652, allocations: 48.83 kB / 1.174 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008707/0.8661, allocations: 0.7528 MB / 1.175 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.259e-05/0.8661, allocations: 30.84 kB / 1.175 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=8): time 3.627e-06/0.8662, allocations: 0 / 1.175 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of matching and sorting (n=8): time 0.0004174/0.8666, allocations: 145.7 kB / 1.175 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.646e-05/0.8666, allocations: 59.41 kB / 1.175 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/0.8667, allocations: 121.8 kB / 1.175 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/0.8668, allocations: 29.7 kB / 1.175 GB, free: 11.67 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.225e-05/0.8668, allocations: 92.09 kB / 1.175 GB, free: 11.58 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.763e-05/0.8669, allocations: 31.73 kB / 1.175 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.512e-05/0.8669, allocations: 17.72 kB / 1.175 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.8671, allocations: 322.8 kB / 1.175 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.613e-05/0.8672, allocations: 23.98 kB / 1.175 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.735e-05/0.8673, allocations: 57.62 kB / 1.175 GB, free: 11.11 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001761/0.8674, allocations: 73.69 kB / 1.176 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.8675, allocations: 0 / 1.176 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002515/0.8677, allocations: 117.5 kB / 1.176 GB, free: 10.91 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.8677, allocations: 12.22 kB / 1.176 GB, free: 10.9 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.8678, allocations: 0 / 1.176 GB, free: 10.9 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.8678, allocations: 7.875 kB / 1.176 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001346/0.8679, allocations: 19.98 kB / 1.176 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.8679, allocations: 0 / 1.176 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.337e-05/0.868, allocations: 7.938 kB / 1.176 GB, free: 10.87 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.192e-05/0.868, allocations: 4 kB / 1.176 GB, free: 10.86 MB / 0.9044 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.746e-05/0.8681, allocations: 124 kB / 1.176 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.422e-05/0.8682, allocations: 11.95 kB / 1.176 GB, free: 10.72 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000295/0.8685, allocations: 114 kB / 1.176 GB, free: 10.6 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.8685, allocations: 3.938 kB / 1.176 GB, free: 10.6 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.8685, allocations: 4 kB / 1.176 GB, free: 10.59 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.8685, allocations: 3.984 kB / 1.176 GB, free: 10.59 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000205/0.8687, allocations: 197.5 kB / 1.176 GB, free: 10.35 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.8687, allocations: 0 / 1.176 GB, free: 10.35 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001057/0.8688, allocations: 15.98 kB / 1.176 GB, free: 10.33 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.8689, allocations: 4 kB / 1.176 GB, free: 10.33 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.8689, allocations: 0 / 1.176 GB, free: 10.33 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.8689, allocations: 3.938 kB / 1.176 GB, free: 10.32 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.8689, allocations: 7.938 kB / 1.176 GB, free: 10.32 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002738/0.8692, allocations: 195.5 kB / 1.176 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.508e-05/0.8692, allocations: 81.06 kB / 1.176 GB, free: 10.01 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.201e-05/0.8693, allocations: 15.98 kB / 1.176 GB, free: 9.996 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.572e-05/0.8694, allocations: 3.938 kB / 1.176 GB, free: 9.992 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.565e-05/0.8694, allocations: 7.984 kB / 1.176 GB, free: 9.984 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.8694, allocations: 4 kB / 1.176 GB, free: 9.98 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.218e-05/0.8695, allocations: 95.27 kB / 1.177 GB, free: 9.887 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8695, allocations: 0 / 1.177 GB, free: 9.887 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002552/0.8698, allocations: 19.94 kB / 1.177 GB, free: 9.867 MB / 0.9044 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.0002312/0.87, allocations: 123.2 kB / 1.177 GB, free: 9.738 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002483/0.8703, allocations: 83.88 kB / 1.177 GB, free: 9.656 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.8703, allocations: 0 / 1.177 GB, free: 9.656 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001054/0.8704, allocations: 40.39 kB / 1.177 GB, free: 9.617 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003139/0.8707, allocations: 11.94 kB / 1.177 GB, free: 9.605 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004712/0.8712, allocations: 242 kB / 1.177 GB, free: 9.336 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002799/0.8715, allocations: 0.6885 MB / 1.178 GB, free: 8.621 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.211e-05/0.8715, allocations: 11.44 kB / 1.178 GB, free: 8.609 MB / 0.9044 GB Notification: Performance of SimCode: time 3.71e-07/0.8715, allocations: 0 / 1.178 GB, free: 8.609 MB / 0.9044 GB Notification: Performance of Templates: time 0.003024/0.8746, allocations: 1.266 MB / 1.179 GB, free: 7.352 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.makefile (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.sim & ./Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches