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.001867/0.001867, allocations: 83.69 kB / 20.24 MB, free: 4.184 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.001994/0.001994, allocations: 161.3 kB / 23.55 MB, free: 0.8711 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.582/1.582, allocations: 177.1 MB / 203.9 MB, free: 5.609 MB / 186.7 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 3.055/3.055, allocations: 377.8 MB / 0.6232 GB, free: 8.527 MB / 0.5886 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.633e-06/1.633e-06, allocations: 0 / 0.8108 GB, free: 2.074 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.965e-05/3.128e-05, allocations: 7.125 kB / 0.8108 GB, free: 2.066 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.00289/0.002921, allocations: 1.313 MB / 0.8121 GB, free: 0.7656 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.00268/0.005601, allocations: 1.558 MB / 0.8136 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.687e-05/0.005648, allocations: 0 / 0.8136 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 1.557e-05/0.005663, allocations: 0 / 0.8136 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0002344/0.005898, allocations: 17.72 kB / 0.8136 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006727/0.00657, allocations: 217.2 kB / 0.8138 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 9.876e-05/0.006669, allocations: 20.41 kB / 0.8139 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.942e-05/0.006708, allocations: 5.312 kB / 0.8139 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001607/0.006869, allocations: 31.95 kB / 0.8139 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 8.227e-05/0.006951, allocations: 7.938 kB / 0.8139 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.699e-05/0.006968, allocations: 0.5312 kB / 0.8139 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003424/0.007311, allocations: 161 kB / 0.8141 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.869e-05/0.007329, allocations: 3.984 kB / 0.8141 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.712e-05/0.007357, allocations: 8 kB / 0.8141 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003455/0.007702, allocations: 167.5 kB / 0.8142 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.007706, allocations: 1.156 kB / 0.8142 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.232e-06/0.007707, allocations: 0 / 0.8142 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.06e-06/0.007712, allocations: 4 kB / 0.8142 GB, free: 14.58 MB / 0.7761 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.0004971/0.00821, allocations: 389.2 kB / 0.8146 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.008252, allocations: 12.03 kB / 0.8146 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001105/0.008363, allocations: 124.1 kB / 0.8147 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002249/0.008588, allocations: 237 kB / 0.815 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001354/0.008723, allocations: 238.8 kB / 0.8152 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001331/0.008856, allocations: 242.8 kB / 0.8154 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001217/0.008978, allocations: 149.5 kB / 0.8156 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.984e-05/0.009048, allocations: 131.8 kB / 0.8157 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001318/0.00918, allocations: 246.3 kB / 0.8159 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001275/0.009307, allocations: 239.7 kB / 0.8162 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001312/0.009439, allocations: 238.4 kB / 0.8164 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004717/0.00991, allocations: 0.5759 MB / 0.8169 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001793/0.01009, allocations: 262.3 kB / 0.8172 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.086e-05/0.01017, allocations: 134.8 kB / 0.8173 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 6.824e-05/0.01024, allocations: 120.4 kB / 0.8174 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.68e-05/0.01034, allocations: 160.6 kB / 0.8176 GB, free: 11.01 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 7.51e-07/0.01034, allocations: 0 / 0.8176 GB, free: 11.01 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 9.222e-05/0.01043, allocations: 34.95 kB / 0.8176 GB, free: 10.97 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001248/0.01055, allocations: 170.6 kB / 0.8178 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000166/0.01072, allocations: 165.9 kB / 0.8179 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.128e-05/0.01074, allocations: 29.7 kB / 0.818 GB, free: 10.57 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.71e-05/0.01083, allocations: 132.6 kB / 0.8181 GB, free: 10.44 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.254e-06/0.01083, allocations: 0 / 0.8181 GB, free: 10.44 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.231e-05/0.01088, allocations: 31.36 kB / 0.8181 GB, free: 10.4 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0005429/0.01143, allocations: 496.1 kB / 0.8186 GB, free: 9.906 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.843e-05/0.01144, allocations: 10.56 kB / 0.8186 GB, free: 9.898 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001168/0.01156, allocations: 108.2 kB / 0.8187 GB, free: 9.762 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.546e-05/0.01162, allocations: 35.06 kB / 0.8187 GB, free: 9.715 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.634e-06/0.01162, allocations: 0 / 0.8187 GB, free: 9.715 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001539/0.01177, allocations: 50.12 kB / 0.8188 GB, free: 9.66 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.01179, allocations: 15.12 kB / 0.8188 GB, free: 9.648 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.0118, allocations: 1.938 kB / 0.8188 GB, free: 9.648 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.01181, allocations: 3.938 kB / 0.8188 GB, free: 9.645 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.341e-05/0.01189, allocations: 4 kB / 0.8188 GB, free: 9.641 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.0119, allocations: 4 kB / 0.8188 GB, free: 9.637 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001214/0.01202, allocations: 7.938 kB / 0.8188 GB, free: 9.629 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.869e-06/0.01203, allocations: 4.906 kB / 0.8188 GB, free: 9.625 MB / 0.7761 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.0001877/0.01221, allocations: 283.7 kB / 0.8191 GB, free: 9.336 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001019/0.01232, allocations: 145.7 kB / 0.8192 GB, free: 9.188 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001051/0.01242, allocations: 160 kB / 0.8194 GB, free: 9.027 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000143/0.01256, allocations: 268.7 kB / 0.8197 GB, free: 8.758 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001462/0.01271, allocations: 268 kB / 0.8199 GB, free: 8.488 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001457/0.01286, allocations: 272.7 kB / 0.8202 GB, free: 8.215 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003453/0.0132, allocations: 0.491 MB / 0.8206 GB, free: 7.684 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.049e-05/0.01328, allocations: 148.8 kB / 0.8208 GB, free: 7.531 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.944e-05/0.01337, allocations: 144.9 kB / 0.8209 GB, free: 7.383 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001488/0.01352, allocations: 276 kB / 0.8212 GB, free: 7.105 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001426/0.01366, allocations: 264.1 kB / 0.8214 GB, free: 6.84 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001562/0.01382, allocations: 276 kB / 0.8217 GB, free: 6.562 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001569/0.01398, allocations: 272 kB / 0.822 GB, free: 6.289 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002833/0.01426, allocations: 440 kB / 0.8224 GB, free: 5.832 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001022/0.01436, allocations: 155.4 kB / 0.8225 GB, free: 5.676 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001612/0.01452, allocations: 272 kB / 0.8228 GB, free: 5.402 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001172/0.01464, allocations: 144.9 kB / 0.8229 GB, free: 5.254 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001495/0.01479, allocations: 268 kB / 0.8232 GB, free: 4.984 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.918e-05/0.01487, allocations: 153.1 kB / 0.8233 GB, free: 4.828 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 8.944e-05/0.01496, allocations: 135.4 kB / 0.8235 GB, free: 4.695 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8.1e-08/0.01496, allocations: 0 / 0.8235 GB, free: 4.695 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003393/0.0153, allocations: 48.8 kB / 0.8235 GB, free: 4.648 MB / 0.7761 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.0009578/0.01625, allocations: 399.6 kB / 0.8239 GB, free: 4.297 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001022/0.01636, allocations: 23.62 kB / 0.8239 GB, free: 4.27 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.502e-06/0.01636, allocations: 0 / 0.8239 GB, free: 4.27 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.282e-06/0.01636, allocations: 0 / 0.8239 GB, free: 4.27 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005536/0.01691, allocations: 0.7053 MB / 0.8246 GB, free: 3.562 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003458/0.01726, allocations: 223 kB / 0.8248 GB, free: 3.316 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.735e-05/0.01733, allocations: 59.22 kB / 0.8249 GB, free: 3.238 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.686e-05/0.01736, allocations: 8.781 kB / 0.8249 GB, free: 3.23 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.076e-05/0.01739, allocations: 12.5 kB / 0.8249 GB, free: 3.219 MB / 0.7761 GB Notification: Performance of SimCode: time 5.11e-07/0.01739, allocations: 1.344 kB / 0.8249 GB, free: 3.219 MB / 0.7761 GB Notification: Performance of Templates: time 0.006337/0.02373, allocations: 1.66 MB / 0.8265 GB, free: 1.598 MB / 0.7761 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1) [Timeout 240] 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: 8.162234460003674]