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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001965/0.001965, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002468/0.002468, allocations: 192.7 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.583/1.583, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.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.854/2.854, allocations: 476.7 MB / 0.7646 GB, free: 9.871 MB / 0.6231 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.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.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: Performance of FrontEnd - loaded program: time 0.002173/0.002173, allocations: 63.89 kB / 1.11 GB, free: 6.289 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9014/0.9036, allocations: 168.8 MB / 1.274 GB, free: 4.184 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002539/0.9061, allocations: 1.28 MB / 1.276 GB, free: 2.895 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002571/0.9087, allocations: 1.545 MB / 1.277 GB, free: 1.344 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.114e-05/0.9087, allocations: 0 / 1.277 GB, free: 1.344 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.711e-05/0.9087, allocations: 3.938 kB / 1.277 GB, free: 1.34 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002048/0.9089, allocations: 15.92 kB / 1.277 GB, free: 1.324 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006562/0.9096, allocations: 224.7 kB / 1.277 GB, free: 1.109 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.859e-05/0.9097, allocations: 19.94 kB / 1.277 GB, free: 1.09 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.986e-05/0.9097, allocations: 7.984 kB / 1.277 GB, free: 1.082 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.521e-05/0.9098, allocations: 19.92 kB / 1.277 GB, free: 1.062 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001186/0.9099, allocations: 19.92 kB / 1.277 GB, free: 1.043 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.23e-05/0.9099, allocations: 0 / 1.277 GB, free: 1.043 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003168/0.9103, allocations: 167.9 kB / 1.278 GB, free: 0.8789 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.325e-05/0.9103, allocations: 3.938 kB / 1.278 GB, free: 0.875 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.045e-05/0.9103, allocations: 15.92 kB / 1.278 GB, free: 0.8594 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002825/0.9106, allocations: 150 kB / 1.278 GB, free: 0.7227 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.9106, allocations: 0 / 1.278 GB, free: 0.7227 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.333e-06/0.9106, allocations: 0 / 1.278 GB, free: 0.7227 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.9106, allocations: 4 kB / 1.278 GB, free: 0.7188 MB / 0.9669 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.0004279/0.911, allocations: 297.9 kB / 1.278 GB, free: 408 kB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.9111, allocations: 8.031 kB / 1.278 GB, free: 400 kB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.788e-05/0.9112, allocations: 80.22 kB / 1.278 GB, free: 320 kB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001604/0.9113, allocations: 177.8 kB / 1.278 GB, free: 116 kB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.809e-05/0.9114, allocations: 158.9 kB / 1.278 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.638e-05/0.9115, allocations: 158.7 kB / 1.279 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.663e-05/0.9116, allocations: 108.9 kB / 1.279 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.87e-05/0.9116, allocations: 75.28 kB / 1.279 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.768e-05/0.9117, allocations: 150.6 kB / 1.279 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.942e-05/0.9117, allocations: 154.5 kB / 1.279 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.841e-05/0.9118, allocations: 150.6 kB / 1.279 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003437/0.9122, allocations: 440.9 kB / 1.28 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.725e-05/0.9123, allocations: 169.1 kB / 1.28 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.144e-05/0.9123, allocations: 88.08 kB / 1.28 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.196e-05/0.9123, allocations: 75.28 kB / 1.28 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.159e-05/0.9124, allocations: 109.8 kB / 1.28 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.9124, allocations: 0 / 1.28 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 8.425e-05/0.9125, allocations: 29.7 kB / 1.28 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.89e-05/0.9126, allocations: 130.7 kB / 1.28 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001117/0.9127, allocations: 101.8 kB / 1.28 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.532e-05/0.9127, allocations: 29.7 kB / 1.28 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.907e-05/0.9127, allocations: 88.02 kB / 1.28 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.933e-06/0.9127, allocations: 0 / 1.28 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.362e-05/0.9128, allocations: 29.7 kB / 1.28 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.9129, allocations: 310.8 kB / 1.281 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.151e-05/0.9129, allocations: 0 / 1.281 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.18e-05/0.913, allocations: 30.81 kB / 1.281 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.912e-05/0.913, allocations: 26.58 kB / 1.281 GB, free: 13.4 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.772e-06/0.913, allocations: 7.938 kB / 1.281 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001372/0.9132, allocations: 53.56 kB / 1.281 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.9132, allocations: 4 kB / 1.281 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.257e-06/0.9132, allocations: 0 / 1.281 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.9132, allocations: 0 / 1.281 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.857e-05/0.9133, allocations: 8 kB / 1.281 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.9133, allocations: 0 / 1.281 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001682/0.9135, allocations: 20.03 kB / 1.281 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.207e-05/0.9135, allocations: 4 kB / 1.281 GB, free: 13.3 MB / 0.9825 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.0001212/0.9136, allocations: 187.2 kB / 1.281 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.133e-05/0.9137, allocations: 108.9 kB / 1.281 GB, free: 13 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.546e-05/0.9137, allocations: 116.1 kB / 1.281 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.067e-05/0.9138, allocations: 180.3 kB / 1.281 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.062e-05/0.9139, allocations: 184.2 kB / 1.282 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.408e-05/0.914, allocations: 180.3 kB / 1.282 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000266/0.9142, allocations: 384.2 kB / 1.282 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.34e-05/0.9143, allocations: 105 kB / 1.282 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.625e-05/0.9143, allocations: 101 kB / 1.282 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.252e-05/0.9144, allocations: 184.1 kB / 1.282 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.134e-05/0.9145, allocations: 184.2 kB / 1.283 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.615e-05/0.9146, allocations: 184.2 kB / 1.283 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.333e-05/0.9147, allocations: 180.3 kB / 1.283 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001756/0.9148, allocations: 303.7 kB / 1.283 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.577e-05/0.9149, allocations: 113 kB / 1.283 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.909e-05/0.915, allocations: 184.2 kB / 1.284 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.9151, allocations: 101 kB / 1.284 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.818e-05/0.9152, allocations: 176.3 kB / 1.284 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.615e-05/0.9152, allocations: 104.9 kB / 1.284 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.267e-05/0.9153, allocations: 87.27 kB / 1.284 GB, free: 9.828 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.9153, allocations: 4 kB / 1.284 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003561/0.9156, allocations: 51.8 kB / 1.284 GB, free: 9.773 MB / 0.9825 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.00072/0.9164, allocations: 346.1 kB / 1.284 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001059/0.9165, allocations: 11.94 kB / 1.284 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.9165, allocations: 0 / 1.284 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.383e-06/0.9165, allocations: 0 / 1.284 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004203/0.9169, allocations: 463.8 kB / 1.285 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002895/0.9172, allocations: 169.5 kB / 1.285 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003085/0.9175, allocations: 0.6729 MB / 1.286 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.579e-05/0.9175, allocations: 0 / 1.286 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.229e-05/0.9175, allocations: 15.42 kB / 1.286 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of SimCode: time 3.61e-07/0.9175, allocations: 8 kB / 1.286 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of Templates: time 0.005074/0.9226, allocations: 1.611 MB / 1.287 GB, free: 6.484 MB / 0.9825 GB " [Timeout remaining time 299] 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 -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/jenkins/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: 9.151741664856672]