Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001915/0.001915, allocations: 81.42 kB / 19.18 MB, free: 2.527 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.002358/0.002358, allocations: 163.6 kB / 22.46 MB, free: 5.359 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.47/1.47, allocations: 177.2 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] 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 2.829/2.829, allocations: 377.8 MB / 0.6221 GB, free: 12.56 MB / 0.5919 GB " [Timeout remaining time 176] 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: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|latitude|longitude|timeZone",fileNamePrefix="Buildings_12_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_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 0.9814 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.661e-05/4.792e-05, allocations: 2.281 kB / 0.9814 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002297/0.002345, allocations: 1.286 MB / 0.9827 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002444/0.004788, allocations: 1.539 MB / 0.9842 GB, free: 9.078 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.282e-05/0.004821, allocations: 0 / 0.9842 GB, free: 9.078 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.875e-05/0.00484, allocations: 3.938 kB / 0.9842 GB, free: 9.074 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0002471/0.005087, allocations: 11.98 kB / 0.9842 GB, free: 9.062 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006335/0.00572, allocations: 219.2 kB / 0.9844 GB, free: 8.852 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.005e-05/0.0058, allocations: 27.91 kB / 0.9844 GB, free: 8.824 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.334e-05/0.005844, allocations: 4 kB / 0.9845 GB, free: 8.82 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001604/0.006004, allocations: 35.84 kB / 0.9845 GB, free: 8.785 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.426e-05/0.006078, allocations: 7.938 kB / 0.9845 GB, free: 8.777 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.522e-05/0.006094, allocations: 0 / 0.9845 GB, free: 8.777 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002956/0.006389, allocations: 155.7 kB / 0.9846 GB, free: 8.625 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.931e-05/0.006409, allocations: 4 kB / 0.9846 GB, free: 8.621 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.424e-05/0.006433, allocations: 7.984 kB / 0.9847 GB, free: 8.613 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003177/0.006751, allocations: 171.5 kB / 0.9848 GB, free: 8.445 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.006753, allocations: 0 / 0.9848 GB, free: 8.445 MB / 0.9356 GB Notification: Performance of FrontEnd: time 7.32e-07/0.006754, allocations: 0 / 0.9848 GB, free: 8.445 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.714e-06/0.006762, allocations: 3.984 kB / 0.9848 GB, free: 8.441 MB / 0.9356 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.0003877/0.007149, allocations: 290 kB / 0.9851 GB, free: 8.129 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.007191, allocations: 12.03 kB / 0.9851 GB, free: 8.117 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.033e-05/0.007271, allocations: 84.19 kB / 0.9852 GB, free: 8.035 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001573/0.007428, allocations: 181.1 kB / 0.9854 GB, free: 7.832 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.186e-05/0.0075, allocations: 162.9 kB / 0.9855 GB, free: 7.672 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.5e-05/0.007575, allocations: 150.9 kB / 0.9857 GB, free: 7.523 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.147e-05/0.007647, allocations: 105.5 kB / 0.9858 GB, free: 7.414 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.687e-05/0.007684, allocations: 79.22 kB / 0.9858 GB, free: 7.336 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.26e-05/0.007746, allocations: 150.6 kB / 0.986 GB, free: 7.188 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.41e-05/0.00782, allocations: 150.6 kB / 0.9861 GB, free: 7.039 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.361e-05/0.007884, allocations: 154.5 kB / 0.9863 GB, free: 6.887 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002903/0.008174, allocations: 421.5 kB / 0.9867 GB, free: 6.445 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 9.84e-05/0.008273, allocations: 169.1 kB / 0.9868 GB, free: 6.27 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.715e-05/0.00831, allocations: 80.14 kB / 0.9869 GB, free: 6.188 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.39e-05/0.008344, allocations: 79.28 kB / 0.987 GB, free: 6.109 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.411e-05/0.008398, allocations: 105.8 kB / 0.9871 GB, free: 5.996 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 8.81e-07/0.008399, allocations: 0 / 0.9871 GB, free: 5.996 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 8.706e-05/0.008486, allocations: 37.58 kB / 0.9871 GB, free: 5.953 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.615e-05/0.008562, allocations: 130.7 kB / 0.9872 GB, free: 5.812 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.008667, allocations: 101.9 kB / 0.9873 GB, free: 5.703 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.008686, allocations: 25.7 kB / 0.9874 GB, free: 5.672 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.337e-05/0.008739, allocations: 92.11 kB / 0.9875 GB, free: 5.578 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.843e-06/0.008741, allocations: 4 kB / 0.9875 GB, free: 5.574 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.049e-05/0.008781, allocations: 21.72 kB / 0.9875 GB, free: 5.547 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.008915, allocations: 310.8 kB / 0.9878 GB, free: 5.234 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.485e-05/0.00893, allocations: 4 kB / 0.9878 GB, free: 5.23 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.552e-05/0.009026, allocations: 103.7 kB / 0.9879 GB, free: 5.102 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.418e-05/0.00907, allocations: 26.52 kB / 0.9879 GB, free: 5.066 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.009072, allocations: 0 / 0.9879 GB, free: 5.066 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001306/0.009202, allocations: 53.62 kB / 0.988 GB, free: 5.008 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.009216, allocations: 8 kB / 0.988 GB, free: 5 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.00922, allocations: 0 / 0.988 GB, free: 5 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.009236, allocations: 7.875 kB / 0.988 GB, free: 4.992 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.716e-05/0.009303, allocations: 7.984 kB / 0.988 GB, free: 4.984 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.00931, allocations: 4 kB / 0.988 GB, free: 4.98 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001484/0.009458, allocations: 7.953 kB / 0.988 GB, free: 4.973 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.493e-05/0.009473, allocations: 4 kB / 0.988 GB, free: 4.969 MB / 0.9356 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.0001116/0.009584, allocations: 193 kB / 0.9882 GB, free: 4.77 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.786e-05/0.009652, allocations: 109 kB / 0.9883 GB, free: 4.656 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.912e-05/0.009701, allocations: 108.1 kB / 0.9884 GB, free: 4.547 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.823e-05/0.00978, allocations: 188.1 kB / 0.9886 GB, free: 4.355 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.164e-05/0.009861, allocations: 180.5 kB / 0.9887 GB, free: 4.172 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.86e-05/0.00994, allocations: 180.2 kB / 0.9889 GB, free: 3.988 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002318/0.01017, allocations: 356.8 kB / 0.9893 GB, free: 3.602 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.932e-05/0.01022, allocations: 105 kB / 0.9894 GB, free: 3.492 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.657e-05/0.01027, allocations: 112.8 kB / 0.9895 GB, free: 3.375 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.686e-05/0.01034, allocations: 180.3 kB / 0.9896 GB, free: 3.191 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.053e-05/0.01043, allocations: 176.3 kB / 0.9898 GB, free: 3.012 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.39e-05/0.0105, allocations: 188.2 kB / 0.99 GB, free: 2.82 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.143e-05/0.01058, allocations: 184.2 kB / 0.9902 GB, free: 2.633 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001615/0.01074, allocations: 307.8 kB / 0.9904 GB, free: 2.309 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.01e-05/0.01079, allocations: 101 kB / 0.9905 GB, free: 2.203 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.135e-05/0.01088, allocations: 184.2 kB / 0.9907 GB, free: 2.016 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.078e-05/0.01097, allocations: 101 kB / 0.9908 GB, free: 1.91 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.227e-05/0.01107, allocations: 192.1 kB / 0.991 GB, free: 1.715 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.643e-05/0.01111, allocations: 105.1 kB / 0.9911 GB, free: 1.605 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.704e-05/0.01116, allocations: 79.28 kB / 0.9912 GB, free: 1.527 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.01116, allocations: 0 / 0.9912 GB, free: 1.527 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003084/0.01147, allocations: 47.86 kB / 0.9912 GB, free: 1.48 MB / 0.9356 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.0006822/0.01215, allocations: 373 kB / 0.9916 GB, free: 1.156 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 8.11e-05/0.01223, allocations: 15.94 kB / 0.9916 GB, free: 1.141 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.01223, allocations: 3.938 kB / 0.9916 GB, free: 1.137 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.303e-06/0.01223, allocations: 0 / 0.9916 GB, free: 1.137 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003869/0.01262, allocations: 459.7 kB / 0.992 GB, free: 0.6836 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002498/0.01287, allocations: 174.2 kB / 0.9922 GB, free: 500 kB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.394e-05/0.01293, allocations: 63.47 kB / 0.9923 GB, free: 416 kB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.049e-05/0.01295, allocations: 4 kB / 0.9923 GB, free: 412 kB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.747e-05/0.01296, allocations: 12.5 kB / 0.9923 GB, free: 400 kB / 0.9356 GB Notification: Performance of SimCode: time 4.21e-07/0.01296, allocations: 0 / 0.9923 GB, free: 400 kB / 0.9356 GB Notification: Performance of Templates: time 0.004708/0.01767, allocations: 1.631 MB / 0.9939 GB, free: 14.78 MB / 0.9512 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & ./Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 7.995834395289421]