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.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.001773/0.001773, allocations: 105.8 kB / 18.84 MB, free: 3.043 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.001911/0.001911, allocations: 190.3 kB / 22.1 MB, free: 5.152 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.482/1.482, allocations: 225.6 MB / 250.8 MB, free: 13.05 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.232/3.232, allocations: 495.8 MB / 0.783 GB, free: 33.56 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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_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 0.001995/0.001995, allocations: 65.67 kB / 1.137 GB, free: 33.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4068/0.4088, allocations: 173.6 MB / 1.307 GB, free: 1.812 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.00304/0.4119, allocations: 1.289 MB / 1.308 GB, free: 0.5117 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002838/0.4147, allocations: 1.536 MB / 1.31 GB, free: 14.97 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.065e-05/0.4147, allocations: 3.938 kB / 1.31 GB, free: 14.96 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.432e-05/0.4148, allocations: 3.938 kB / 1.31 GB, free: 14.96 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0002167/0.415, allocations: 11.94 kB / 1.31 GB, free: 14.95 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008/0.4158, allocations: 223.8 kB / 1.31 GB, free: 14.73 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 9.582e-05/0.4159, allocations: 23.92 kB / 1.31 GB, free: 14.71 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.619e-05/0.4159, allocations: 3.984 kB / 1.31 GB, free: 14.71 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 9.862e-05/0.416, allocations: 16 kB / 1.31 GB, free: 14.69 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001508/0.4162, allocations: 23.78 kB / 1.31 GB, free: 14.67 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.485e-05/0.4162, allocations: 4 kB / 1.31 GB, free: 14.66 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003844/0.4166, allocations: 155.9 kB / 1.31 GB, free: 14.51 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.857e-05/0.4166, allocations: 7.984 kB / 1.31 GB, free: 14.5 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.561e-05/0.4166, allocations: 8 kB / 1.31 GB, free: 14.5 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0003585/0.417, allocations: 147.5 kB / 1.31 GB, free: 14.35 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.417, allocations: 0 / 1.31 GB, free: 14.35 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.483e-06/0.417, allocations: 0 / 1.31 GB, free: 14.35 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.417, allocations: 0 / 1.31 GB, free: 14.35 MB / 1.014 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.0004606/0.4175, allocations: 305.8 kB / 1.31 GB, free: 14.02 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.4175, allocations: 8.031 kB / 1.31 GB, free: 14.02 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.793e-05/0.4176, allocations: 80.22 kB / 1.31 GB, free: 13.94 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001776/0.4178, allocations: 181.8 kB / 1.311 GB, free: 13.73 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.533e-05/0.4179, allocations: 150.9 kB / 1.311 GB, free: 13.59 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.729e-05/0.4179, allocations: 162.7 kB / 1.311 GB, free: 13.43 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.775e-05/0.418, allocations: 109 kB / 1.311 GB, free: 13.31 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.605e-05/0.4181, allocations: 79.28 kB / 1.311 GB, free: 13.23 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.227e-05/0.4182, allocations: 154.5 kB / 1.311 GB, free: 13.08 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.692e-05/0.4182, allocations: 150.6 kB / 1.311 GB, free: 12.93 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.625e-05/0.4183, allocations: 150.6 kB / 1.312 GB, free: 12.79 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003785/0.4187, allocations: 429 kB / 1.312 GB, free: 12.32 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000121/0.4188, allocations: 173.1 kB / 1.312 GB, free: 12.14 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.814e-05/0.4188, allocations: 88.08 kB / 1.312 GB, free: 12.05 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 5.223e-05/0.4189, allocations: 79.22 kB / 1.312 GB, free: 11.98 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.982e-05/0.419, allocations: 105.8 kB / 1.312 GB, free: 11.86 MB / 1.014 GB Notification: Performance of pre-optimization done (n=0): time 1.513e-06/0.419, allocations: 4 kB / 1.312 GB, free: 11.86 MB / 1.014 GB Notification: Performance of matching and sorting (n=0): time 9.547e-05/0.4191, allocations: 33.64 kB / 1.312 GB, free: 11.82 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.305e-05/0.4191, allocations: 126.7 kB / 1.313 GB, free: 11.68 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001205/0.4193, allocations: 105.8 kB / 1.313 GB, free: 11.57 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.897e-05/0.4193, allocations: 25.7 kB / 1.313 GB, free: 11.54 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 5.244e-05/0.4193, allocations: 84.14 kB / 1.313 GB, free: 11.45 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.184e-06/0.4193, allocations: 0 / 1.313 GB, free: 11.45 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.596e-05/0.4194, allocations: 25.7 kB / 1.313 GB, free: 11.42 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001567/0.4195, allocations: 314.8 kB / 1.313 GB, free: 11.11 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.471e-05/0.4196, allocations: 0 / 1.313 GB, free: 11.11 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.534e-05/0.4196, allocations: 34.5 kB / 1.313 GB, free: 11.06 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.85e-05/0.4197, allocations: 18.58 kB / 1.313 GB, free: 11.04 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.4197, allocations: 4 kB / 1.313 GB, free: 11.03 MB / 1.014 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001534/0.4198, allocations: 57.56 kB / 1.313 GB, free: 10.97 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.4198, allocations: 4 kB / 1.313 GB, free: 10.96 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.4198, allocations: 3.938 kB / 1.313 GB, free: 10.96 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.4199, allocations: 4 kB / 1.313 GB, free: 10.96 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.531e-05/0.4199, allocations: 7.938 kB / 1.313 GB, free: 10.95 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.437e-06/0.42, allocations: 3.984 kB / 1.313 GB, free: 10.95 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001625/0.4201, allocations: 7.953 kB / 1.313 GB, free: 10.94 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.227e-05/0.4201, allocations: 4.094 kB / 1.313 GB, free: 10.93 MB / 1.014 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.0001286/0.4203, allocations: 189.1 kB / 1.313 GB, free: 10.74 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.585e-05/0.4203, allocations: 112.9 kB / 1.314 GB, free: 10.62 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.187e-05/0.4204, allocations: 108.1 kB / 1.314 GB, free: 10.51 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.137e-05/0.4205, allocations: 180.3 kB / 1.314 GB, free: 10.32 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.192e-05/0.4206, allocations: 180.3 kB / 1.314 GB, free: 10.14 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.613e-05/0.4207, allocations: 188.2 kB / 1.314 GB, free: 9.949 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000301/0.421, allocations: 380.2 kB / 1.315 GB, free: 9.527 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-05/0.421, allocations: 104.9 kB / 1.315 GB, free: 9.418 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.96e-05/0.4211, allocations: 105 kB / 1.315 GB, free: 9.309 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.531e-05/0.4212, allocations: 184.2 kB / 1.315 GB, free: 9.121 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.014e-05/0.4213, allocations: 184.3 kB / 1.315 GB, free: 8.934 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.552e-05/0.4213, allocations: 176.5 kB / 1.315 GB, free: 8.754 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.705e-05/0.4214, allocations: 180.2 kB / 1.315 GB, free: 8.57 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001871/0.4216, allocations: 315.7 kB / 1.316 GB, free: 8.238 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 6.64e-05/0.4217, allocations: 101.1 kB / 1.316 GB, free: 8.133 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.418e-05/0.4218, allocations: 188.2 kB / 1.316 GB, free: 7.941 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.271e-05/0.4219, allocations: 108.9 kB / 1.316 GB, free: 7.828 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.857e-05/0.422, allocations: 184.2 kB / 1.316 GB, free: 7.641 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.197e-05/0.422, allocations: 108.9 kB / 1.316 GB, free: 7.527 MB / 1.014 GB Notification: Performance of sorting global known variables: time 6.104e-05/0.4221, allocations: 83.28 kB / 1.316 GB, free: 7.445 MB / 1.014 GB Notification: Performance of sort global known variables: time 6.1e-08/0.4221, allocations: 0 / 1.316 GB, free: 7.445 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003487/0.4224, allocations: 51.8 kB / 1.317 GB, free: 7.395 MB / 1.014 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.0007364/0.4232, allocations: 342.6 kB / 1.317 GB, free: 7.09 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.000103/0.4233, allocations: 11.94 kB / 1.317 GB, free: 7.078 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.4233, allocations: 0 / 1.317 GB, free: 7.078 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 4.378e-06/0.4233, allocations: 3.938 kB / 1.317 GB, free: 7.074 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004241/0.4237, allocations: 467.8 kB / 1.317 GB, free: 6.613 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003109/0.424, allocations: 173.4 kB / 1.317 GB, free: 6.418 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003542/0.4244, allocations: 0.6768 MB / 1.318 GB, free: 5.715 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.621e-05/0.4244, allocations: 0 / 1.318 GB, free: 5.715 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.31e-05/0.4244, allocations: 11.44 kB / 1.318 GB, free: 5.703 MB / 1.014 GB Notification: Performance of SimCode: time 7.51e-07/0.4244, allocations: 0 / 1.318 GB, free: 5.703 MB / 1.014 GB Notification: Performance of Templates: time 0.004986/0.4294, allocations: 1.608 MB / 1.32 GB, free: 4.113 MB / 1.014 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: 9.247814791277051]