Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.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.00128/0.00128, allocations: 77.86 kB / 19.76 MB, free: 2.031 MB / 14.72 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.001383/0.001383, allocations: 158.4 kB / 23.01 MB, free: 4.945 MB / 14.72 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 1.504/1.504, allocations: 177.2 MB / 203.4 MB, free: 8.941 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.648/2.648, allocations: 359.1 MB / 0.6044 GB, free: 14.79 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|latitude|longitude|timeZone",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|latitude|longitude|timeZone",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002431/0.002431, allocations: 79.88 kB / 0.9515 GB, free: 12.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3063/0.3087, allocations: 169.9 MB / 1.117 GB, free: 2.488 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002712/0.3114, allocations: 1.296 MB / 1.119 GB, free: 1.184 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002632/0.314, allocations: 1.524 MB / 1.12 GB, free: 15.65 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.302e-05/0.3141, allocations: 0 / 1.12 GB, free: 15.65 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 1.722e-05/0.3141, allocations: 7.938 kB / 1.12 GB, free: 15.64 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.000275/0.3144, allocations: 11.94 kB / 1.12 GB, free: 15.63 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007072/0.3151, allocations: 210.5 kB / 1.12 GB, free: 15.43 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 9.374e-05/0.3152, allocations: 27.92 kB / 1.12 GB, free: 15.4 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 3.83e-05/0.3152, allocations: 3.938 kB / 1.12 GB, free: 15.4 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000131/0.3153, allocations: 23.97 kB / 1.12 GB, free: 15.38 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 6.914e-05/0.3154, allocations: 7.938 kB / 1.12 GB, free: 15.37 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.348e-05/0.3154, allocations: 3.984 kB / 1.12 GB, free: 15.36 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003229/0.3157, allocations: 151.8 kB / 1.121 GB, free: 15.21 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.751e-05/0.3158, allocations: 7.984 kB / 1.121 GB, free: 15.21 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 2.246e-05/0.3158, allocations: 7.984 kB / 1.121 GB, free: 15.2 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0003984/0.3162, allocations: 143.6 kB / 1.121 GB, free: 15.06 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.3162, allocations: 4 kB / 1.121 GB, free: 15.05 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.132e-06/0.3162, allocations: 0 / 1.121 GB, free: 15.05 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.068e-06/0.3162, allocations: 0 / 1.121 GB, free: 15.05 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003865/0.3166, allocations: 293.9 kB / 1.121 GB, free: 14.74 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.3166, allocations: 8.031 kB / 1.121 GB, free: 14.73 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.733e-05/0.3167, allocations: 84.22 kB / 1.121 GB, free: 14.65 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001557/0.3168, allocations: 185.7 kB / 1.121 GB, free: 14.44 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.156e-05/0.3169, allocations: 154.9 kB / 1.121 GB, free: 14.29 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.373e-05/0.317, allocations: 158.7 kB / 1.122 GB, free: 14.13 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.341e-05/0.3171, allocations: 101 kB / 1.122 GB, free: 14.03 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.83e-05/0.3171, allocations: 79.28 kB / 1.122 GB, free: 13.95 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.822e-05/0.3172, allocations: 158.6 kB / 1.122 GB, free: 13.79 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.995e-05/0.3173, allocations: 150.6 kB / 1.122 GB, free: 13.64 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.264e-05/0.3173, allocations: 158.5 kB / 1.122 GB, free: 13.49 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000332/0.3177, allocations: 409.5 kB / 1.123 GB, free: 13.06 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001093/0.3178, allocations: 169.1 kB / 1.123 GB, free: 12.88 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.176e-05/0.3178, allocations: 80.14 kB / 1.123 GB, free: 12.8 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 4.469e-05/0.3179, allocations: 79.28 kB / 1.123 GB, free: 12.72 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.849e-05/0.3179, allocations: 109.8 kB / 1.123 GB, free: 12.61 MB / 1.076 GB Notification: Performance of pre-optimization done (n=0): time 8.32e-07/0.3179, allocations: 0 / 1.123 GB, free: 12.61 MB / 1.076 GB Notification: Performance of matching and sorting (n=0): time 8.347e-05/0.318, allocations: 37.62 kB / 1.123 GB, free: 12.56 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.541e-05/0.3181, allocations: 130.7 kB / 1.123 GB, free: 12.42 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001123/0.3182, allocations: 105.8 kB / 1.123 GB, free: 12.31 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.465e-05/0.3182, allocations: 25.7 kB / 1.123 GB, free: 12.28 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 5.319e-05/0.3183, allocations: 84.12 kB / 1.123 GB, free: 12.19 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.425e-06/0.3183, allocations: 4 kB / 1.123 GB, free: 12.19 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.783e-05/0.3183, allocations: 17.72 kB / 1.123 GB, free: 12.16 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001563/0.3185, allocations: 314.8 kB / 1.124 GB, free: 11.85 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.704e-05/0.3185, allocations: 7.984 kB / 1.124 GB, free: 11.84 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.425e-05/0.3186, allocations: 103.6 kB / 1.124 GB, free: 11.71 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.209e-05/0.3186, allocations: 34.5 kB / 1.124 GB, free: 11.67 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.3186, allocations: 0 / 1.124 GB, free: 11.67 MB / 1.076 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001269/0.3188, allocations: 49.58 kB / 1.124 GB, free: 11.61 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.3188, allocations: 8 kB / 1.124 GB, free: 11.61 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.3188, allocations: 0 / 1.124 GB, free: 11.61 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.3188, allocations: 0 / 1.124 GB, free: 11.61 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.619e-05/0.3189, allocations: 11.98 kB / 1.124 GB, free: 11.59 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.3189, allocations: 0 / 1.124 GB, free: 11.59 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001541/0.319, allocations: 8.094 kB / 1.124 GB, free: 11.59 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.756e-06/0.319, allocations: 0 / 1.124 GB, free: 11.59 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (3): * Single equations (assignments): 3 * 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 0.000187/0.3192, allocations: 197 kB / 1.124 GB, free: 11.38 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.983e-05/0.3193, allocations: 108.9 kB / 1.124 GB, free: 11.27 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.844e-05/0.3193, allocations: 104.1 kB / 1.124 GB, free: 11.16 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.807e-05/0.3194, allocations: 180.3 kB / 1.125 GB, free: 10.97 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.011e-05/0.3195, allocations: 188.2 kB / 1.125 GB, free: 10.78 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001601/0.3197, allocations: 176.3 kB / 1.125 GB, free: 10.6 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002665/0.32, allocations: 356.8 kB / 1.125 GB, free: 10.21 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001214/0.3201, allocations: 101 kB / 1.125 GB, free: 10.11 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.627e-05/0.3201, allocations: 116.9 kB / 1.125 GB, free: 9.988 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.206e-05/0.3202, allocations: 180.2 kB / 1.126 GB, free: 9.805 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.554e-05/0.3203, allocations: 184.2 kB / 1.126 GB, free: 9.617 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.345e-05/0.3204, allocations: 184.5 kB / 1.126 GB, free: 9.43 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.662e-05/0.3205, allocations: 176.3 kB / 1.126 GB, free: 9.25 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000249/0.3207, allocations: 311.7 kB / 1.126 GB, free: 8.922 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 6.546e-05/0.3208, allocations: 112.9 kB / 1.127 GB, free: 8.805 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001419/0.321, allocations: 184.1 kB / 1.127 GB, free: 8.617 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.143e-05/0.321, allocations: 105 kB / 1.127 GB, free: 8.508 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.185e-05/0.3211, allocations: 184.2 kB / 1.127 GB, free: 8.32 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.617e-05/0.3212, allocations: 101 kB / 1.127 GB, free: 8.215 MB / 1.076 GB Notification: Performance of sorting global known variables: time 6.672e-05/0.3212, allocations: 87.28 kB / 1.127 GB, free: 8.129 MB / 1.076 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3212, allocations: 0 / 1.127 GB, free: 8.129 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003617/0.3216, allocations: 59.73 kB / 1.127 GB, free: 8.07 MB / 1.076 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 (0): * Single equations (assignments): 0 * 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.0007749/0.3224, allocations: 343.1 kB / 1.128 GB, free: 7.773 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 8.345e-05/0.3225, allocations: 11.94 kB / 1.128 GB, free: 7.762 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3225, allocations: 0 / 1.128 GB, free: 7.762 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 4.388e-06/0.3225, allocations: 4 kB / 1.128 GB, free: 7.758 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004211/0.3229, allocations: 464 kB / 1.128 GB, free: 7.305 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002816/0.3232, allocations: 185.3 kB / 1.128 GB, free: 7.098 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.525e-05/0.3232, allocations: 59.34 kB / 1.128 GB, free: 7.02 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.317e-05/0.3233, allocations: 0 / 1.128 GB, free: 7.02 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.038e-05/0.3233, allocations: 12.5 kB / 1.128 GB, free: 7.008 MB / 1.076 GB Notification: Performance of SimCode: time 3.21e-07/0.3233, allocations: 0 / 1.128 GB, free: 7.008 MB / 1.076 GB Notification: Performance of Templates: time 0.005052/0.3283, allocations: 1.627 MB / 1.13 GB, free: 5.406 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.makefile [Timeout 300] (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & ./Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.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: 8.329761893022805]