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.0009783/0.0009783, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001027/0.001027, allocations: 165.6 kB / 24.87 MB, free: 8.891 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.002/1.002, allocations: 177.1 MB / 205.3 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] 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 1.972/1.972, allocations: 377.9 MB / 0.6247 GB, free: 8.402 MB / 0.5886 GB " [Timeout remaining time 177] 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.282e-06/1.282e-06, allocations: 0 / 0.8128 GB, free: 1.434 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.944e-05/2.072e-05, allocations: 3.375 kB / 0.8128 GB, free: 1.43 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.001818/0.001839, allocations: 1.34 MB / 0.8141 GB, free: 100 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001506/0.003345, allocations: 1.575 MB / 0.8156 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.231e-05/0.003377, allocations: 3.938 kB / 0.8156 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 1.636e-05/0.003394, allocations: 0 / 0.8156 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0002121/0.003606, allocations: 19.91 kB / 0.8157 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004275/0.004033, allocations: 215.5 kB / 0.8159 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 5.712e-05/0.00409, allocations: 19.94 kB / 0.8159 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.423e-05/0.004124, allocations: 7.984 kB / 0.8159 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001085/0.004233, allocations: 28.62 kB / 0.8159 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 4.954e-05/0.004283, allocations: 7.938 kB / 0.8159 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 9.227e-06/0.004292, allocations: 0.5312 kB / 0.8159 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002022/0.004494, allocations: 153.4 kB / 0.8161 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.217e-05/0.004506, allocations: 7.984 kB / 0.8161 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.526e-05/0.004521, allocations: 11.92 kB / 0.8161 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001893/0.004711, allocations: 163.6 kB / 0.8162 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.004713, allocations: 0 / 0.8162 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.42e-07/0.004714, allocations: 0.625 kB / 0.8162 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.337e-06/0.004717, allocations: 0.9062 kB / 0.8162 GB, free: 13.9 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.00025/0.004967, allocations: 391.9 kB / 0.8166 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 2.742e-05/0.004995, allocations: 8.031 kB / 0.8166 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.307e-05/0.005048, allocations: 137.6 kB / 0.8168 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001018/0.005149, allocations: 231.8 kB / 0.817 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.26e-05/0.005202, allocations: 242.8 kB / 0.8172 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.606e-05/0.005258, allocations: 244.1 kB / 0.8174 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.469e-05/0.005313, allocations: 149.4 kB / 0.8176 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.368e-05/0.005346, allocations: 123.1 kB / 0.8177 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.406e-05/0.0054, allocations: 240.1 kB / 0.8179 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.466e-05/0.005465, allocations: 242.4 kB / 0.8182 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.349e-05/0.005519, allocations: 246.4 kB / 0.8184 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002095/0.005728, allocations: 0.553 MB / 0.8189 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.628e-05/0.005804, allocations: 265.4 kB / 0.8192 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.374e-05/0.005838, allocations: 141 kB / 0.8193 GB, free: 10.63 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.737e-05/0.005866, allocations: 119.2 kB / 0.8194 GB, free: 10.51 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.119e-05/0.005907, allocations: 152.6 kB / 0.8196 GB, free: 10.35 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 7.52e-07/0.005908, allocations: 0 / 0.8196 GB, free: 10.35 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 4.992e-05/0.005957, allocations: 29.7 kB / 0.8196 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.285e-05/0.00601, allocations: 175.1 kB / 0.8198 GB, free: 10.13 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.247e-05/0.006093, allocations: 165.9 kB / 0.8199 GB, free: 9.953 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.518e-06/0.006102, allocations: 32.2 kB / 0.82 GB, free: 9.918 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.31e-05/0.006145, allocations: 130.9 kB / 0.8201 GB, free: 9.785 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.152e-06/0.006147, allocations: 0 / 0.8201 GB, free: 9.785 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.889e-05/0.006175, allocations: 31.36 kB / 0.8201 GB, free: 9.746 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.006279, allocations: 496.1 kB / 0.8206 GB, free: 9.25 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.821e-06/0.006285, allocations: 0 / 0.8206 GB, free: 9.25 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.822e-05/0.006333, allocations: 112.4 kB / 0.8207 GB, free: 9.109 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.405e-05/0.006367, allocations: 40.7 kB / 0.8207 GB, free: 9.059 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.006369, allocations: 4 kB / 0.8207 GB, free: 9.055 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.887e-05/0.006458, allocations: 54.64 kB / 0.8208 GB, free: 8.996 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 8.806e-06/0.006467, allocations: 5.688 kB / 0.8208 GB, free: 8.992 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.606e-06/0.00647, allocations: 0 / 0.8208 GB, free: 8.992 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.091e-06/0.006477, allocations: 0 / 0.8208 GB, free: 8.992 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.157e-05/0.006518, allocations: 11.94 kB / 0.8208 GB, free: 8.98 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.004e-06/0.00652, allocations: 0 / 0.8208 GB, free: 8.98 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.843e-05/0.006589, allocations: 18.52 kB / 0.8208 GB, free: 8.965 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-06/0.006595, allocations: 0 / 0.8208 GB, free: 8.965 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 8.048e-05/0.006675, allocations: 275.8 kB / 0.8211 GB, free: 8.684 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.46e-05/0.00672, allocations: 148.8 kB / 0.8212 GB, free: 8.531 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.995e-05/0.00676, allocations: 152 kB / 0.8214 GB, free: 8.379 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.052e-05/0.00682, allocations: 268.1 kB / 0.8216 GB, free: 8.109 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-05/0.00688, allocations: 277 kB / 0.8219 GB, free: 7.832 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.587e-05/0.006935, allocations: 268.1 kB / 0.8222 GB, free: 7.562 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001558/0.007091, allocations: 480.5 kB / 0.8226 GB, free: 7.059 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-05/0.00713, allocations: 149.7 kB / 0.8228 GB, free: 6.906 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.144e-05/0.007162, allocations: 144.9 kB / 0.8229 GB, free: 6.758 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.102e-05/0.007223, allocations: 268.5 kB / 0.8232 GB, free: 6.488 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.597e-05/0.007279, allocations: 269 kB / 0.8234 GB, free: 6.219 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.296e-05/0.007342, allocations: 272 kB / 0.8237 GB, free: 5.945 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.139e-05/0.007403, allocations: 272.1 kB / 0.8239 GB, free: 5.672 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001113/0.007515, allocations: 455.6 kB / 0.8244 GB, free: 5.203 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.718e-05/0.007552, allocations: 144.9 kB / 0.8245 GB, free: 5.055 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.246e-05/0.007614, allocations: 276 kB / 0.8248 GB, free: 4.777 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.107e-05/0.007665, allocations: 144.9 kB / 0.8249 GB, free: 4.629 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.11e-05/0.007726, allocations: 268 kB / 0.8252 GB, free: 4.359 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.315e-05/0.007759, allocations: 153.2 kB / 0.8253 GB, free: 4.203 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.438e-05/0.007794, allocations: 127.1 kB / 0.8254 GB, free: 4.078 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.007794, allocations: 0 / 0.8254 GB, free: 4.078 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002107/0.008005, allocations: 55.73 kB / 0.8255 GB, free: 4.023 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.0004541/0.008459, allocations: 401.5 kB / 0.8259 GB, free: 3.672 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 5.885e-05/0.008517, allocations: 23.61 kB / 0.8259 GB, free: 3.645 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.008519, allocations: 0.7812 kB / 0.8259 GB, free: 3.645 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 9.62e-07/0.00852, allocations: 0 / 0.8259 GB, free: 3.645 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003011/0.008821, allocations: 0.7081 MB / 0.8266 GB, free: 2.934 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003379/0.009159, allocations: 228 kB / 0.8268 GB, free: 2.684 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.547e-05/0.009184, allocations: 55.3 kB / 0.8269 GB, free: 2.609 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.072e-05/0.009205, allocations: 9.328 kB / 0.8269 GB, free: 2.602 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.394e-05/0.009239, allocations: 70.2 kB / 0.8269 GB, free: 2.531 MB / 0.7761 GB Notification: Performance of SimCode: time 5.61e-07/0.009239, allocations: 0 / 0.8269 GB, free: 2.531 MB / 0.7761 GB Notification: Performance of Templates: time 0.00304/0.01228, allocations: 1.931 MB / 0.8288 GB, free: 0.625 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.266912328079343]