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.001033/0.001033, allocations: 87.58 kB / 20.45 MB, free: 4.105 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.001195/0.001195, allocations: 165 kB / 23.82 MB, free: 0.7383 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 0.9946/0.9946, allocations: 177.1 MB / 204.2 MB, free: 5.648 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.897/1.897, allocations: 377.8 MB / 0.6236 GB, free: 8.574 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 2.284e-06/2.284e-06, allocations: 0 / 0.8115 GB, free: 1.723 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.103e-05/3.331e-05, allocations: 2.312 kB / 0.8116 GB, free: 1.719 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.003008/0.003041, allocations: 1.317 MB / 0.8128 GB, free: 424 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002804/0.005845, allocations: 1.583 MB / 0.8144 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.808e-05/0.005883, allocations: 8.906 kB / 0.8144 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.392e-05/0.005907, allocations: 0 / 0.8144 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.000258/0.006165, allocations: 12.67 kB / 0.8144 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007202/0.006886, allocations: 222.5 kB / 0.8146 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 7.559e-05/0.006961, allocations: 24.73 kB / 0.8146 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.643e-05/0.006998, allocations: 0 / 0.8146 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000181/0.007179, allocations: 37.09 kB / 0.8147 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 7.596e-05/0.007255, allocations: 10.28 kB / 0.8147 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.054e-05/0.007275, allocations: 4 kB / 0.8147 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003321/0.007607, allocations: 145.8 kB / 0.8148 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.572e-05/0.007623, allocations: 8 kB / 0.8148 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.161e-05/0.007655, allocations: 15.91 kB / 0.8149 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003391/0.007994, allocations: 159.6 kB / 0.815 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.007997, allocations: 0 / 0.815 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.382e-06/0.007999, allocations: 0 / 0.815 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.541e-06/0.008004, allocations: 0.9688 kB / 0.815 GB, free: 14.2 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.0003929/0.008397, allocations: 395.9 kB / 0.8154 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.00844, allocations: 13.69 kB / 0.8154 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.17e-05/0.008522, allocations: 132.4 kB / 0.8155 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000158/0.00868, allocations: 227.8 kB / 0.8157 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.112e-05/0.008761, allocations: 242.7 kB / 0.816 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.246e-05/0.008854, allocations: 248.3 kB / 0.8162 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.319e-05/0.008927, allocations: 145.5 kB / 0.8163 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.356e-05/0.008971, allocations: 127.1 kB / 0.8165 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.247e-05/0.009043, allocations: 238.4 kB / 0.8167 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.195e-05/0.009115, allocations: 238.4 kB / 0.8169 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.253e-05/0.009187, allocations: 240 kB / 0.8171 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003304/0.009518, allocations: 0.5797 MB / 0.8177 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001127/0.009631, allocations: 261.4 kB / 0.818 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.992e-05/0.00968, allocations: 134.9 kB / 0.8181 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.557e-05/0.009716, allocations: 120.1 kB / 0.8182 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.367e-05/0.00977, allocations: 156.6 kB / 0.8184 GB, free: 10.63 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 1.103e-06/0.009771, allocations: 1.656 kB / 0.8184 GB, free: 10.63 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 8.196e-05/0.009853, allocations: 37.58 kB / 0.8184 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.693e-05/0.00992, allocations: 174.6 kB / 0.8186 GB, free: 10.4 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001239/0.01004, allocations: 157.9 kB / 0.8187 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.584e-05/0.01006, allocations: 30.3 kB / 0.8187 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.17e-05/0.01011, allocations: 130.9 kB / 0.8189 GB, free: 10.06 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.224e-06/0.01011, allocations: 0.6875 kB / 0.8189 GB, free: 10.06 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.041e-05/0.01016, allocations: 27.38 kB / 0.8189 GB, free: 10.03 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001499/0.01031, allocations: 0.489 MB / 0.8194 GB, free: 9.527 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.687e-05/0.01033, allocations: 3.984 kB / 0.8194 GB, free: 9.523 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.894e-05/0.01041, allocations: 109.5 kB / 0.8195 GB, free: 9.387 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.201e-05/0.01046, allocations: 36.91 kB / 0.8195 GB, free: 9.34 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.01047, allocations: 4 kB / 0.8195 GB, free: 9.336 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001468/0.01061, allocations: 54.77 kB / 0.8196 GB, free: 9.277 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.01063, allocations: 4 kB / 0.8196 GB, free: 9.273 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.01063, allocations: 0 / 0.8196 GB, free: 9.273 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.01065, allocations: 8.469 kB / 0.8196 GB, free: 9.266 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.536e-05/0.01073, allocations: 11.98 kB / 0.8196 GB, free: 9.254 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.01073, allocations: 0.8438 kB / 0.8196 GB, free: 9.254 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001082/0.01084, allocations: 7.938 kB / 0.8196 GB, free: 9.246 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.078e-05/0.01085, allocations: 4.812 kB / 0.8196 GB, free: 9.242 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.0001112/0.01096, allocations: 276.6 kB / 0.8199 GB, free: 8.961 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.099e-05/0.01104, allocations: 156.9 kB / 0.82 GB, free: 8.801 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.953e-05/0.0111, allocations: 148 kB / 0.8202 GB, free: 8.652 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-05/0.01118, allocations: 273.3 kB / 0.8204 GB, free: 8.379 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.762e-05/0.01126, allocations: 268.1 kB / 0.8207 GB, free: 8.109 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.663e-05/0.01134, allocations: 268 kB / 0.8209 GB, free: 7.84 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002373/0.01157, allocations: 499.9 kB / 0.8214 GB, free: 7.309 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.566e-05/0.01162, allocations: 145.6 kB / 0.8215 GB, free: 7.16 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.835e-05/0.01167, allocations: 154.8 kB / 0.8217 GB, free: 7.004 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.232e-05/0.01175, allocations: 268.2 kB / 0.822 GB, free: 6.734 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.845e-05/0.01184, allocations: 268.1 kB / 0.8222 GB, free: 6.465 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.436e-05/0.01193, allocations: 276.1 kB / 0.8225 GB, free: 6.188 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.901e-05/0.01201, allocations: 268 kB / 0.8227 GB, free: 5.918 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001704/0.01218, allocations: 447.9 kB / 0.8232 GB, free: 5.453 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.129e-05/0.01223, allocations: 153.6 kB / 0.8233 GB, free: 5.297 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.523e-05/0.01232, allocations: 268.1 kB / 0.8236 GB, free: 5.027 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.097e-05/0.01241, allocations: 148.3 kB / 0.8237 GB, free: 4.879 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.122e-05/0.01249, allocations: 279.9 kB / 0.824 GB, free: 4.598 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.303e-05/0.01253, allocations: 145.2 kB / 0.8241 GB, free: 4.449 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.274e-05/0.01259, allocations: 123.2 kB / 0.8242 GB, free: 4.328 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9e-08/0.01259, allocations: 0 / 0.8242 GB, free: 4.328 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003783/0.01296, allocations: 59.73 kB / 0.8243 GB, free: 4.27 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.0007028/0.01367, allocations: 409 kB / 0.8247 GB, free: 3.914 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 9.927e-05/0.01377, allocations: 17.47 kB / 0.8247 GB, free: 3.895 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.01377, allocations: 0 / 0.8247 GB, free: 3.895 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.333e-06/0.01377, allocations: 4 kB / 0.8247 GB, free: 3.891 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004235/0.01419, allocations: 0.7095 MB / 0.8254 GB, free: 3.18 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005897/0.01478, allocations: 237.6 kB / 0.8256 GB, free: 2.918 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.214e-05/0.01482, allocations: 51.36 kB / 0.8257 GB, free: 2.848 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.638e-05/0.01485, allocations: 0 / 0.8257 GB, free: 2.848 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.941e-05/0.01487, allocations: 12.5 kB / 0.8257 GB, free: 2.836 MB / 0.7761 GB Notification: Performance of SimCode: time 8.22e-07/0.01487, allocations: 0 / 0.8257 GB, free: 2.836 MB / 0.7761 GB Notification: Performance of Templates: time 0.004854/0.01972, allocations: 1.663 MB / 0.8273 GB, free: 1.207 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.18680901825428]