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.002007/0.002007, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 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.002071/0.002071, allocations: 165.7 kB / 23.55 MB, free: 0.8867 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 1.502/1.502, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.836/2.836, allocations: 359 MB / 0.6048 GB, free: 10.96 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0.7656 kB / 0.7864 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.942e-05/3.088e-05, allocations: 11.23 kB / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002692/0.002723, allocations: 1.304 MB / 0.7877 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002769/0.005492, allocations: 1.538 MB / 0.7892 GB, free: 9.961 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.546e-05/0.005528, allocations: 3.938 kB / 0.7892 GB, free: 9.957 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.947e-05/0.005547, allocations: 3.938 kB / 0.7892 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.000204/0.005751, allocations: 12.75 kB / 0.7892 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007108/0.006462, allocations: 218.5 kB / 0.7894 GB, free: 9.73 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.794e-05/0.00654, allocations: 17.78 kB / 0.7894 GB, free: 9.715 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.976e-05/0.00658, allocations: 7.969 kB / 0.7894 GB, free: 9.707 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001537/0.006734, allocations: 23.98 kB / 0.7894 GB, free: 9.684 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.239e-05/0.006806, allocations: 11.92 kB / 0.7895 GB, free: 9.672 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.423e-05/0.00682, allocations: 4 kB / 0.7895 GB, free: 9.668 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003539/0.007174, allocations: 156.2 kB / 0.7896 GB, free: 9.516 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.098e-05/0.007185, allocations: 1.438 kB / 0.7896 GB, free: 9.516 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.328e-05/0.007218, allocations: 15.92 kB / 0.7896 GB, free: 9.5 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003284/0.007547, allocations: 159.6 kB / 0.7898 GB, free: 9.344 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.007549, allocations: 0 / 0.7898 GB, free: 9.344 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.61e-07/0.00755, allocations: 1.156 kB / 0.7898 GB, free: 9.344 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.007554, allocations: 0 / 0.7898 GB, free: 9.344 MB / 0.7448 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.0004364/0.00799, allocations: 290 kB / 0.7901 GB, free: 9.031 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.008029, allocations: 13.41 kB / 0.7901 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.785e-05/0.008117, allocations: 76.22 kB / 0.7901 GB, free: 8.945 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002125/0.008329, allocations: 197 kB / 0.7903 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.917e-05/0.008429, allocations: 152.7 kB / 0.7905 GB, free: 8.578 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.898e-05/0.008528, allocations: 154.9 kB / 0.7906 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.666e-05/0.008624, allocations: 105.5 kB / 0.7907 GB, free: 8.316 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.275e-05/0.008677, allocations: 83.22 kB / 0.7908 GB, free: 8.234 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.434e-05/0.008771, allocations: 154.6 kB / 0.7909 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.885e-05/0.00887, allocations: 155.7 kB / 0.7911 GB, free: 7.93 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.855e-05/0.008969, allocations: 150.6 kB / 0.7912 GB, free: 7.781 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006494/0.009618, allocations: 405.6 kB / 0.7916 GB, free: 7.355 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001354/0.009754, allocations: 173.6 kB / 0.7918 GB, free: 7.176 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.337e-05/0.009807, allocations: 82.08 kB / 0.7919 GB, free: 7.094 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.208e-05/0.009859, allocations: 75.28 kB / 0.7919 GB, free: 7.02 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.293e-05/0.009952, allocations: 113.8 kB / 0.792 GB, free: 6.898 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 3.537e-06/0.009955, allocations: 3.984 kB / 0.7921 GB, free: 6.895 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 9.918e-05/0.01005, allocations: 29.64 kB / 0.7921 GB, free: 6.859 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.802e-05/0.01015, allocations: 137.2 kB / 0.7922 GB, free: 6.715 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001392/0.01029, allocations: 101.8 kB / 0.7923 GB, free: 6.605 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.729e-05/0.01032, allocations: 29.7 kB / 0.7923 GB, free: 6.57 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.543e-05/0.01038, allocations: 80.14 kB / 0.7924 GB, free: 6.488 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.014e-06/0.01039, allocations: 0 / 0.7924 GB, free: 6.488 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.725e-05/0.01043, allocations: 29.64 kB / 0.7924 GB, free: 6.453 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001969/0.01063, allocations: 314.8 kB / 0.7927 GB, free: 6.137 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.426e-05/0.01065, allocations: 0.7188 kB / 0.7927 GB, free: 6.137 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001166/0.01076, allocations: 103.7 kB / 0.7928 GB, free: 6.008 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.147e-05/0.01082, allocations: 32.7 kB / 0.7929 GB, free: 5.969 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.01083, allocations: 0 / 0.7929 GB, free: 5.969 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001648/0.01099, allocations: 50.16 kB / 0.7929 GB, free: 5.914 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.01101, allocations: 8.531 kB / 0.7929 GB, free: 5.906 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.01101, allocations: 0 / 0.7929 GB, free: 5.906 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.133e-05/0.01103, allocations: 4.781 kB / 0.7929 GB, free: 5.902 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.252e-05/0.01111, allocations: 4 kB / 0.7929 GB, free: 5.898 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.01112, allocations: 4.844 kB / 0.7929 GB, free: 5.895 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001621/0.01128, allocations: 11.94 kB / 0.793 GB, free: 5.883 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.078e-05/0.01129, allocations: 0.8438 kB / 0.793 GB, free: 5.883 MB / 0.7448 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.0001502/0.01144, allocations: 194.3 kB / 0.7931 GB, free: 5.684 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.343e-05/0.01153, allocations: 108.9 kB / 0.7932 GB, free: 5.57 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.877e-05/0.01161, allocations: 108.1 kB / 0.7933 GB, free: 5.457 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000108/0.01172, allocations: 184.1 kB / 0.7935 GB, free: 5.27 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001161/0.01183, allocations: 177.1 kB / 0.7937 GB, free: 5.09 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001065/0.01194, allocations: 180.3 kB / 0.7939 GB, free: 4.906 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002901/0.01223, allocations: 362 kB / 0.7942 GB, free: 4.516 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.101e-05/0.01229, allocations: 101 kB / 0.7943 GB, free: 4.41 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.083e-05/0.01235, allocations: 104.9 kB / 0.7944 GB, free: 4.301 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001058/0.01246, allocations: 181.6 kB / 0.7946 GB, free: 4.117 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001182/0.01258, allocations: 184.2 kB / 0.7948 GB, free: 3.93 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001004/0.01268, allocations: 180.2 kB / 0.7949 GB, free: 3.746 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001205/0.0128, allocations: 188.5 kB / 0.7951 GB, free: 3.555 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000214/0.01301, allocations: 305.3 kB / 0.7954 GB, free: 3.234 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.842e-05/0.01308, allocations: 105 kB / 0.7955 GB, free: 3.125 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000132/0.01321, allocations: 188.2 kB / 0.7957 GB, free: 2.934 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.01332, allocations: 101 kB / 0.7958 GB, free: 2.828 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001204/0.01344, allocations: 191 kB / 0.796 GB, free: 2.637 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.899e-05/0.0135, allocations: 105 kB / 0.7961 GB, free: 2.527 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.572e-05/0.01357, allocations: 83.28 kB / 0.7961 GB, free: 2.445 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.01357, allocations: 0 / 0.7961 GB, free: 2.445 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003708/0.01394, allocations: 47.8 kB / 0.7962 GB, free: 2.398 MB / 0.7448 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.0008053/0.01475, allocations: 357.7 kB / 0.7965 GB, free: 2.09 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.272e-05/0.01483, allocations: 12.59 kB / 0.7965 GB, free: 2.078 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.01483, allocations: 0 / 0.7965 GB, free: 2.078 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.793e-06/0.01483, allocations: 0.7188 kB / 0.7965 GB, free: 2.078 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004509/0.01528, allocations: 462.6 kB / 0.797 GB, free: 1.625 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003041/0.01559, allocations: 172 kB / 0.7971 GB, free: 1.43 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.278e-05/0.01567, allocations: 59.34 kB / 0.7972 GB, free: 1.352 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.881e-05/0.0157, allocations: 3.938 kB / 0.7972 GB, free: 1.348 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.777e-05/0.01573, allocations: 16.5 kB / 0.7972 GB, free: 1.332 MB / 0.7448 GB Notification: Performance of SimCode: time 7.72e-07/0.01573, allocations: 0 / 0.7972 GB, free: 1.332 MB / 0.7448 GB Notification: Performance of Templates: time 0.005281/0.02101, allocations: 1.66 MB / 0.7988 GB, free: 15.7 MB / 0.7605 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 -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: 7.884481435990892]