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.001905/0.001905, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.002403/0.002403, allocations: 161.6 kB / 23.54 MB, free: 0.8906 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.501/1.501, allocations: 177.1 MB / 203.9 MB, free: 5.59 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 2.865/2.865, allocations: 377.8 MB / 0.6232 GB, free: 8.52 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.803e-06/1.803e-06, allocations: 0 / 0.8108 GB, free: 2.09 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.191e-05/3.371e-05, allocations: 6.25 kB / 0.8108 GB, free: 2.082 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.003179/0.003213, allocations: 1.3 MB / 0.8121 GB, free: 0.793 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.003084/0.006297, allocations: 1.546 MB / 0.8136 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.162e-05/0.006338, allocations: 0 / 0.8136 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.119e-05/0.006359, allocations: 1.594 kB / 0.8136 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.000259/0.006618, allocations: 19.91 kB / 0.8136 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008238/0.007442, allocations: 211 kB / 0.8138 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 9.329e-05/0.007535, allocations: 23.92 kB / 0.8138 GB, free: 15 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 4.053e-05/0.007576, allocations: 4 kB / 0.8138 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000219/0.007795, allocations: 33.05 kB / 0.8139 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 8.26e-05/0.007878, allocations: 4 kB / 0.8139 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.652e-05/0.007894, allocations: 0 / 0.8139 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003792/0.008273, allocations: 153.1 kB / 0.814 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.25e-05/0.008296, allocations: 7.984 kB / 0.814 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.936e-05/0.008325, allocations: 7.938 kB / 0.814 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.000426/0.008751, allocations: 163.5 kB / 0.8142 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 8.125e-06/0.008759, allocations: 9.719 kB / 0.8142 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.452e-06/0.008761, allocations: 3.938 kB / 0.8142 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.008766, allocations: 3.938 kB / 0.8142 GB, free: 14.62 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.0005013/0.009268, allocations: 286 kB / 0.8145 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.009311, allocations: 9.375 kB / 0.8145 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.764e-05/0.009408, allocations: 76.22 kB / 0.8146 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002225/0.009631, allocations: 185 kB / 0.8147 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001092/0.00974, allocations: 162.9 kB / 0.8149 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.675e-05/0.009837, allocations: 151.5 kB / 0.815 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.668e-05/0.009934, allocations: 107.5 kB / 0.8151 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.772e-05/0.009981, allocations: 79.22 kB / 0.8152 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.099e-05/0.01007, allocations: 150.6 kB / 0.8154 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.663e-05/0.01016, allocations: 150.6 kB / 0.8155 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.268e-05/0.01025, allocations: 154.5 kB / 0.8157 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004168/0.01067, allocations: 411.9 kB / 0.8161 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001337/0.0108, allocations: 173.2 kB / 0.8162 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.845e-05/0.01086, allocations: 80.14 kB / 0.8163 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 5.019e-05/0.01091, allocations: 79.28 kB / 0.8164 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.98e-05/0.01099, allocations: 109.8 kB / 0.8165 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 9.01e-07/0.01099, allocations: 0 / 0.8165 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 0.0001114/0.0111, allocations: 34.36 kB / 0.8165 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.518e-05/0.0112, allocations: 130.6 kB / 0.8166 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001531/0.01135, allocations: 106.4 kB / 0.8167 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.706e-05/0.01138, allocations: 25.7 kB / 0.8168 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.468e-05/0.01144, allocations: 85.8 kB / 0.8168 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.795e-06/0.01145, allocations: 0 / 0.8168 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.195e-05/0.01152, allocations: 25.7 kB / 0.8169 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001885/0.01171, allocations: 310.8 kB / 0.8172 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.826e-05/0.01172, allocations: 5.156 kB / 0.8172 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001203/0.01184, allocations: 107.6 kB / 0.8173 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.258e-05/0.0119, allocations: 23.58 kB / 0.8173 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.0119, allocations: 0.8438 kB / 0.8173 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001724/0.01207, allocations: 50.47 kB / 0.8173 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.01209, allocations: 8 kB / 0.8173 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.0121, allocations: 1.719 kB / 0.8173 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.472e-05/0.01212, allocations: 4.078 kB / 0.8174 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.457e-05/0.01221, allocations: 11.94 kB / 0.8174 GB, free: 11.19 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.01221, allocations: 0 / 0.8174 GB, free: 11.19 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001612/0.01237, allocations: 16.73 kB / 0.8174 GB, free: 11.17 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.512e-05/0.01239, allocations: 4 kB / 0.8174 GB, free: 11.17 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.0001632/0.01255, allocations: 191.3 kB / 0.8176 GB, free: 10.97 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.752e-05/0.01264, allocations: 105 kB / 0.8177 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.712e-05/0.01272, allocations: 112.1 kB / 0.8178 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001066/0.01282, allocations: 184.2 kB / 0.8179 GB, free: 10.56 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001063/0.01293, allocations: 180.3 kB / 0.8181 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.927e-05/0.01303, allocations: 180.2 kB / 0.8183 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002925/0.01332, allocations: 359 kB / 0.8186 GB, free: 9.809 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.784e-05/0.0134, allocations: 104.9 kB / 0.8187 GB, free: 9.699 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003329/0.01373, allocations: 105 kB / 0.8188 GB, free: 9.59 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001066/0.01384, allocations: 180.2 kB / 0.819 GB, free: 9.406 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001091/0.01395, allocations: 180.2 kB / 0.8192 GB, free: 9.223 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001092/0.01406, allocations: 180.8 kB / 0.8194 GB, free: 9.039 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001106/0.01417, allocations: 188.1 kB / 0.8195 GB, free: 8.848 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00023/0.0144, allocations: 304.9 kB / 0.8198 GB, free: 8.527 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.172e-05/0.01447, allocations: 109 kB / 0.8199 GB, free: 8.414 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001138/0.01458, allocations: 176.5 kB / 0.8201 GB, free: 8.234 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/0.01469, allocations: 113.7 kB / 0.8202 GB, free: 8.117 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001225/0.01481, allocations: 188.2 kB / 0.8204 GB, free: 7.926 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.645e-05/0.01488, allocations: 106.6 kB / 0.8205 GB, free: 7.816 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 7.27e-05/0.01495, allocations: 83.27 kB / 0.8206 GB, free: 7.734 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.01495, allocations: 0 / 0.8206 GB, free: 7.734 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004132/0.01536, allocations: 51.86 kB / 0.8206 GB, free: 7.684 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.0009899/0.01635, allocations: 367.7 kB / 0.821 GB, free: 7.371 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 9.944e-05/0.01645, allocations: 4 kB / 0.821 GB, free: 7.367 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.01646, allocations: 0 / 0.821 GB, free: 7.367 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 9.247e-06/0.01646, allocations: 7.938 kB / 0.821 GB, free: 7.359 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005248/0.01699, allocations: 453.6 kB / 0.8214 GB, free: 6.914 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003954/0.01738, allocations: 174.2 kB / 0.8216 GB, free: 6.719 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.721e-05/0.01746, allocations: 59.22 kB / 0.8216 GB, free: 6.641 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.727e-05/0.0175, allocations: 11.88 kB / 0.8216 GB, free: 6.629 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.948e-05/0.01754, allocations: 12.48 kB / 0.8217 GB, free: 6.617 MB / 0.7761 GB Notification: Performance of SimCode: time 7.41e-07/0.01754, allocations: 1.031 kB / 0.8217 GB, free: 6.617 MB / 0.7761 GB Notification: Performance of Templates: time 0.005551/0.02309, allocations: 1.657 MB / 0.8233 GB, free: 4.996 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=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: 7.909017390920781]