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.001443/0.001443, allocations: 71.75 kB / 20.97 MB, free: 3.574 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.00172/0.00172, allocations: 169 kB / 24.28 MB, free: 276 kB / 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.012/1.012, allocations: 177.1 MB / 204.6 MB, free: 5.617 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.912/1.912, allocations: 377.8 MB / 0.6239 GB, free: 8.559 MB / 0.5886 GB " [Timeout remaining time 178] 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.654e-06/1.654e-06, allocations: 0 / 0.8115 GB, free: 2.035 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.276e-05/2.442e-05, allocations: 2.312 kB / 0.8115 GB, free: 2.031 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.00173/0.001754, allocations: 1.325 MB / 0.8128 GB, free: 0.7188 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001616/0.00337, allocations: 1.581 MB / 0.8144 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.963e-05/0.00341, allocations: 0 / 0.8144 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.194e-05/0.003432, allocations: 1.531 kB / 0.8144 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.000224/0.003656, allocations: 19.86 kB / 0.8144 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004928/0.004148, allocations: 214.2 kB / 0.8146 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 6.877e-05/0.004217, allocations: 25.08 kB / 0.8146 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 4.594e-05/0.004263, allocations: 7.984 kB / 0.8146 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001322/0.004395, allocations: 23.92 kB / 0.8147 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 6.45e-05/0.00446, allocations: 16.64 kB / 0.8147 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.362e-05/0.004473, allocations: 0 / 0.8147 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002081/0.004681, allocations: 153.9 kB / 0.8148 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.178e-05/0.004693, allocations: 4 kB / 0.8148 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.995e-05/0.004713, allocations: 7.984 kB / 0.8148 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.000209/0.004922, allocations: 167.5 kB / 0.815 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.816e-06/0.004925, allocations: 4 kB / 0.815 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.12e-07/0.004926, allocations: 0.5312 kB / 0.815 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.077e-06/0.00493, allocations: 0 / 0.815 GB, free: 14.51 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.0003018/0.005232, allocations: 396.6 kB / 0.8154 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.005269, allocations: 8.031 kB / 0.8154 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.751e-05/0.005337, allocations: 128.9 kB / 0.8155 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001413/0.005478, allocations: 233.4 kB / 0.8157 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.081e-05/0.005539, allocations: 242.8 kB / 0.816 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.83e-05/0.005597, allocations: 242.8 kB / 0.8162 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.474e-05/0.005662, allocations: 149.5 kB / 0.8163 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.196e-05/0.005694, allocations: 127.7 kB / 0.8164 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.41e-05/0.005748, allocations: 238.4 kB / 0.8167 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.445e-05/0.005802, allocations: 239.3 kB / 0.8169 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.09e-05/0.005853, allocations: 238.4 kB / 0.8171 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002243/0.006078, allocations: 0.5766 MB / 0.8177 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 8.286e-05/0.006161, allocations: 269.4 kB / 0.818 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.507e-05/0.006196, allocations: 135.4 kB / 0.8181 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.601e-05/0.006222, allocations: 123.2 kB / 0.8182 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.303e-05/0.006265, allocations: 158 kB / 0.8183 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 8.71e-07/0.006265, allocations: 0 / 0.8183 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 6.404e-05/0.00633, allocations: 33.64 kB / 0.8184 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003274/0.006657, allocations: 175.4 kB / 0.8185 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.006758, allocations: 161.9 kB / 0.8187 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.008e-05/0.006768, allocations: 26.64 kB / 0.8187 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.938e-05/0.006807, allocations: 134.9 kB / 0.8189 GB, free: 10.37 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.154e-06/0.006809, allocations: 0 / 0.8189 GB, free: 10.37 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.946e-05/0.006839, allocations: 24.59 kB / 0.8189 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.006946, allocations: 0.4883 MB / 0.8194 GB, free: 9.836 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.042e-05/0.006956, allocations: 4 kB / 0.8194 GB, free: 9.832 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.839e-05/0.007015, allocations: 109.1 kB / 0.8195 GB, free: 9.695 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.932e-05/0.007054, allocations: 37.38 kB / 0.8195 GB, free: 9.648 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.007056, allocations: 0 / 0.8195 GB, free: 9.648 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001118/0.007168, allocations: 57.52 kB / 0.8196 GB, free: 9.586 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.00718, allocations: 10.59 kB / 0.8196 GB, free: 9.578 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.007185, allocations: 3.406 kB / 0.8196 GB, free: 9.578 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.007197, allocations: 7.938 kB / 0.8196 GB, free: 9.57 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.773e-05/0.007255, allocations: 7.984 kB / 0.8196 GB, free: 9.562 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.007259, allocations: 0 / 0.8196 GB, free: 9.562 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.172e-05/0.007341, allocations: 7.938 kB / 0.8196 GB, free: 9.555 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.166e-06/0.007349, allocations: 4 kB / 0.8196 GB, free: 9.551 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 7.939e-05/0.007428, allocations: 275.8 kB / 0.8199 GB, free: 9.27 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.335e-05/0.007472, allocations: 156.8 kB / 0.82 GB, free: 9.109 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.119e-05/0.007513, allocations: 149 kB / 0.8201 GB, free: 8.961 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.676e-05/0.00757, allocations: 272 kB / 0.8204 GB, free: 8.688 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.439e-05/0.007654, allocations: 268 kB / 0.8207 GB, free: 8.418 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.248e-05/0.007717, allocations: 264.6 kB / 0.8209 GB, free: 8.152 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001635/0.00788, allocations: 0.4926 MB / 0.8214 GB, free: 7.617 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.814e-05/0.007918, allocations: 144.9 kB / 0.8215 GB, free: 7.469 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.125e-05/0.007949, allocations: 149.5 kB / 0.8217 GB, free: 7.316 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.047e-05/0.00801, allocations: 273 kB / 0.8219 GB, free: 7.043 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.959e-05/0.008069, allocations: 268.1 kB / 0.8222 GB, free: 6.773 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.056e-05/0.00813, allocations: 276 kB / 0.8225 GB, free: 6.496 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.887e-05/0.008189, allocations: 269.1 kB / 0.8227 GB, free: 6.227 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001327/0.008322, allocations: 444 kB / 0.8231 GB, free: 5.766 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.086e-05/0.008362, allocations: 153.5 kB / 0.8233 GB, free: 5.609 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.1e-05/0.008423, allocations: 268.3 kB / 0.8235 GB, free: 5.34 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.442e-05/0.008478, allocations: 149.5 kB / 0.8237 GB, free: 5.188 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.056e-05/0.008538, allocations: 272 kB / 0.8239 GB, free: 4.914 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.283e-05/0.008571, allocations: 154.2 kB / 0.8241 GB, free: 4.758 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.107e-05/0.008612, allocations: 127.2 kB / 0.8242 GB, free: 4.633 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.008612, allocations: 0 / 0.8242 GB, free: 4.633 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000228/0.00884, allocations: 55.77 kB / 0.8243 GB, free: 4.582 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.0005179/0.009358, allocations: 404.9 kB / 0.8246 GB, free: 4.227 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 9.061e-05/0.009449, allocations: 20.75 kB / 0.8247 GB, free: 4.203 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.009451, allocations: 0 / 0.8247 GB, free: 4.203 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.933e-06/0.009453, allocations: 1.125 kB / 0.8247 GB, free: 4.203 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002824/0.009735, allocations: 0.7062 MB / 0.8254 GB, free: 3.492 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004324/0.01017, allocations: 230.6 kB / 0.8256 GB, free: 3.238 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.929e-05/0.0102, allocations: 51.95 kB / 0.8256 GB, free: 3.168 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.663e-05/0.01022, allocations: 4.594 kB / 0.8256 GB, free: 3.164 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.339e-05/0.01024, allocations: 8.5 kB / 0.8256 GB, free: 3.156 MB / 0.7761 GB Notification: Performance of SimCode: time 6.42e-07/0.01024, allocations: 1.594 kB / 0.8256 GB, free: 3.156 MB / 0.7761 GB Notification: Performance of Templates: time 0.002869/0.01311, allocations: 1.669 MB / 0.8273 GB, free: 1.52 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.1908279152121395]