Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008816/0.0008816, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.868/0.868, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.736/1.736, allocations: 377.8 MB / 0.6221 GB, free: 8.668 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,fileNamePrefix="Buildings_12_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,fileNamePrefix="Buildings_12_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.614e-06/1.614e-06, allocations: 0 / 0.981 GB, free: 2.539 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.603e-05/1.764e-05, allocations: 2.281 kB / 0.981 GB, free: 2.535 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.001931/0.001948, allocations: 1.614 MB / 0.9826 GB, free: 0.9141 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.002684/0.004632, allocations: 3.106 MB / 0.9856 GB, free: 13.8 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.834e-05/0.004691, allocations: 0 / 0.9856 GB, free: 13.8 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 3.093e-05/0.004722, allocations: 7.922 kB / 0.9856 GB, free: 13.79 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 6.627e-05/0.004788, allocations: 15.8 kB / 0.9856 GB, free: 13.77 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004628/0.005251, allocations: 143.3 kB / 0.9858 GB, free: 13.63 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0001075/0.005358, allocations: 95.62 kB / 0.9859 GB, free: 13.54 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 8.419e-05/0.005443, allocations: 4 kB / 0.9859 GB, free: 13.54 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000126/0.005569, allocations: 51.89 kB / 0.9859 GB, free: 13.48 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 6.691e-05/0.005635, allocations: 27.95 kB / 0.9859 GB, free: 13.46 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 1.561e-05/0.005651, allocations: 11.94 kB / 0.986 GB, free: 13.45 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001733/0.005824, allocations: 107.7 kB / 0.9861 GB, free: 13.34 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 1.585e-05/0.00584, allocations: 11.92 kB / 0.9861 GB, free: 13.33 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 2.562e-05/0.005866, allocations: 15.98 kB / 0.9861 GB, free: 13.31 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001917/0.006057, allocations: 143.5 kB / 0.9862 GB, free: 13.17 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.00606, allocations: 0 / 0.9862 GB, free: 13.17 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.192e-06/0.006061, allocations: 0 / 0.9862 GB, free: 13.17 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.008e-06/0.006065, allocations: 4 kB / 0.9862 GB, free: 13.17 MB / 0.948 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.0004198/0.006485, allocations: 313.9 kB / 0.9865 GB, free: 12.83 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.006526, allocations: 8.031 kB / 0.9865 GB, free: 12.82 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.363e-05/0.00656, allocations: 38.75 kB / 0.9866 GB, free: 12.78 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001259/0.006686, allocations: 36.8 kB / 0.9866 GB, free: 12.74 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001705/0.006856, allocations: 129.7 kB / 0.9867 GB, free: 12.59 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.006868, allocations: 12.31 kB / 0.9867 GB, free: 12.58 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.059e-05/0.006878, allocations: 4.375 kB / 0.9867 GB, free: 12.57 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001565/0.007035, allocations: 74.22 kB / 0.9868 GB, free: 12.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.007043, allocations: 192 / 0.9868 GB, free: 12.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.007056, allocations: 7.938 kB / 0.9868 GB, free: 12.49 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.007062, allocations: 7.984 kB / 0.9868 GB, free: 12.48 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001278/0.00719, allocations: 79.81 kB / 0.9869 GB, free: 12.4 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003533/0.007543, allocations: 291.8 kB / 0.9872 GB, free: 12.07 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001535/0.007697, allocations: 86.47 kB / 0.9873 GB, free: 11.98 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.036e-05/0.007757, allocations: 40.84 kB / 0.9873 GB, free: 11.94 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004089/0.008166, allocations: 352.5 kB / 0.9876 GB, free: 11.57 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.907e-05/0.008185, allocations: 30.56 kB / 0.9877 GB, free: 11.54 MB / 0.948 GB Notification: Performance of pre-optimization done (n=8): time 1.102e-06/0.008186, allocations: 4 kB / 0.9877 GB, free: 11.53 MB / 0.948 GB Notification: Performance of matching and sorting (n=8): time 0.000269/0.008455, allocations: 133.6 kB / 0.9878 GB, free: 11.39 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.06e-05/0.008486, allocations: 51.41 kB / 0.9879 GB, free: 11.33 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.604e-05/0.008562, allocations: 131.1 kB / 0.988 GB, free: 11.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.454e-05/0.008576, allocations: 29.7 kB / 0.988 GB, free: 11.16 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.838e-05/0.008625, allocations: 96.08 kB / 0.9881 GB, free: 11.06 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.902e-05/0.008644, allocations: 27.75 kB / 0.9881 GB, free: 11.04 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.308e-05/0.008677, allocations: 21.7 kB / 0.9881 GB, free: 11.01 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.357e-05/0.00876, allocations: 318.9 kB / 0.9885 GB, free: 10.69 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.913e-05/0.00881, allocations: 35.91 kB / 0.9885 GB, free: 10.65 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.593e-05/0.008865, allocations: 41.7 kB / 0.9885 GB, free: 10.61 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000108/0.008973, allocations: 77.69 kB / 0.9886 GB, free: 10.52 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.008975, allocations: 0 / 0.9886 GB, free: 10.52 MB / 0.948 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001371/0.009112, allocations: 117.8 kB / 0.9887 GB, free: 10.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.009124, allocations: 4 kB / 0.9887 GB, free: 10.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.009129, allocations: 0 / 0.9887 GB, free: 10.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.009141, allocations: 4 kB / 0.9887 GB, free: 10.39 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.764e-05/0.009219, allocations: 16.09 kB / 0.9887 GB, free: 10.38 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.009225, allocations: 12.05 kB / 0.9887 GB, free: 10.37 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.615e-05/0.009261, allocations: 19.86 kB / 0.9888 GB, free: 10.35 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.009268, allocations: 3.984 kB / 0.9888 GB, free: 10.34 MB / 0.948 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 6.167e-05/0.009329, allocations: 118 kB / 0.9889 GB, free: 10.22 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.556e-05/0.009345, allocations: 7.953 kB / 0.9889 GB, free: 10.21 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001766/0.009521, allocations: 126 kB / 0.989 GB, free: 10.08 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.063e-06/0.009523, allocations: 0 / 0.989 GB, free: 10.08 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.009528, allocations: 0 / 0.989 GB, free: 10.08 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.009532, allocations: 7.938 kB / 0.989 GB, free: 10.07 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001234/0.009656, allocations: 152.7 kB / 0.9892 GB, free: 9.883 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.009657, allocations: 4 kB / 0.9892 GB, free: 9.879 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.848e-05/0.009706, allocations: 19.92 kB / 0.9892 GB, free: 9.859 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.009707, allocations: 0 / 0.9892 GB, free: 9.859 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.009714, allocations: 0 / 0.9892 GB, free: 9.859 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.009717, allocations: 4 kB / 0.9892 GB, free: 9.855 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.009719, allocations: 4 kB / 0.9892 GB, free: 9.852 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001561/0.009875, allocations: 199.4 kB / 0.9894 GB, free: 9.641 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.404e-05/0.009889, allocations: 11.95 kB / 0.9894 GB, free: 9.629 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.311e-05/0.009902, allocations: 4 kB / 0.9894 GB, free: 9.625 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.525e-05/0.009947, allocations: 7.984 kB / 0.9894 GB, free: 9.617 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.528e-05/0.009983, allocations: 7.984 kB / 0.9894 GB, free: 9.609 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.548e-06/0.009987, allocations: 3.938 kB / 0.9894 GB, free: 9.605 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.104e-05/0.01003, allocations: 102.9 kB / 0.9895 GB, free: 9.508 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.01003, allocations: 0 / 0.9895 GB, free: 9.508 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001719/0.0102, allocations: 23.89 kB / 0.9895 GB, free: 9.484 MB / 0.948 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.0004061/0.01061, allocations: 0.7553 MB / 0.9903 GB, free: 8.703 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001482/0.01075, allocations: 71.89 kB / 0.9903 GB, free: 8.633 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.01076, allocations: 0 / 0.9903 GB, free: 8.633 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 5.217e-05/0.01081, allocations: 35.98 kB / 0.9904 GB, free: 8.598 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000199/0.01101, allocations: 22.83 kB / 0.9904 GB, free: 8.578 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001114/0.01212, allocations: 1.519 MB / 0.9919 GB, free: 6.969 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.5e-05/0.01218, allocations: 81.91 kB / 0.992 GB, free: 6.871 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 4.076e-05/0.01222, allocations: 12.53 kB / 0.992 GB, free: 6.859 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.388e-05/0.01226, allocations: 24.48 kB / 0.992 GB, free: 6.832 MB / 0.948 GB Notification: Performance of SimCode: time 4.61e-07/0.01226, allocations: 0 / 0.992 GB, free: 6.832 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01484/0.0271, allocations: 2.99 MB / 0.9949 GB, free: 3.977 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.878/6.905, allocations: 8.438 kB / 0.9949 GB, free: 3.973 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber_fmu --startTime=0 --stopTime=50 --stepSize=0.02 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber.fmu > Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.910144423134625]