Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001363/0.001363, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.502/1.502, allocations: 225.6 MB / 249.4 MB, free: 3.152 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.894/2.894, allocations: 476.7 MB / 0.7628 GB, free: 15.16 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_11_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_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002613/0.002613, allocations: 63.89 kB / 1.107 GB, free: 4.574 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.128/1.13, allocations: 168.7 MB / 1.272 GB, free: 7.902 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.00278/1.133, allocations: 1.292 MB / 1.273 GB, free: 7.008 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002523/1.136, allocations: 1.517 MB / 1.275 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.383e-05/1.136, allocations: 0 / 1.275 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.312e-05/1.136, allocations: 0 / 1.275 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002231/1.136, allocations: 18.05 kB / 1.275 GB, free: 5.945 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006285/1.136, allocations: 219 kB / 1.275 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.134e-05/1.137, allocations: 23.83 kB / 1.275 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.727e-05/1.137, allocations: 5.688 kB / 1.275 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.873e-05/1.137, allocations: 16.31 kB / 1.275 GB, free: 5.828 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001239/1.137, allocations: 15.38 kB / 1.275 GB, free: 5.82 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.238e-05/1.137, allocations: 0.9062 kB / 1.275 GB, free: 5.82 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003174/1.137, allocations: 175.6 kB / 1.275 GB, free: 5.758 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.258e-05/1.137, allocations: 2.25 kB / 1.275 GB, free: 5.758 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.808e-05/1.137, allocations: 15.19 kB / 1.275 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002693/1.137, allocations: 146.9 kB / 1.275 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/1.137, allocations: 1.641 kB / 1.275 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.153e-06/1.137, allocations: 0.6562 kB / 1.275 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.551e-06/1.137, allocations: 0 / 1.275 GB, free: 5.707 MB / 0.9981 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.0003421/1.138, allocations: 370.1 kB / 1.276 GB, free: 5.324 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.294e-05/1.138, allocations: 9.625 kB / 1.276 GB, free: 5.324 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.756e-05/1.138, allocations: 85.91 kB / 1.276 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001283/1.138, allocations: 243.7 kB / 1.276 GB, free: 4.969 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.185e-05/1.138, allocations: 152.4 kB / 1.276 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.19e-05/1.138, allocations: 157.6 kB / 1.276 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.077e-05/1.138, allocations: 101.8 kB / 1.276 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/1.138, allocations: 79.22 kB / 1.276 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.567e-05/1.138, allocations: 159.3 kB / 1.277 GB, free: 4.328 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.021e-05/1.138, allocations: 150.6 kB / 1.277 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.162e-05/1.138, allocations: 155.3 kB / 1.277 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002036/1.138, allocations: 450.8 kB / 1.277 GB, free: 3.547 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.598e-05/1.139, allocations: 172.3 kB / 1.278 GB, free: 3.371 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.788e-05/1.139, allocations: 84.92 kB / 1.278 GB, free: 3.285 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.142e-05/1.139, allocations: 75.28 kB / 1.278 GB, free: 3.211 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/1.139, allocations: 114.6 kB / 1.278 GB, free: 3.09 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/1.139, allocations: 0.875 kB / 1.278 GB, free: 3.09 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 7.207e-05/1.139, allocations: 27.52 kB / 1.278 GB, free: 3.059 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.121e-05/1.139, allocations: 132.5 kB / 1.278 GB, free: 2.918 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.213e-05/1.139, allocations: 102.9 kB / 1.278 GB, free: 2.816 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.628e-06/1.139, allocations: 26.67 kB / 1.278 GB, free: 2.785 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.677e-05/1.139, allocations: 83.36 kB / 1.278 GB, free: 2.703 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.623e-06/1.139, allocations: 0.8125 kB / 1.278 GB, free: 2.703 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.408e-05/1.139, allocations: 20.7 kB / 1.278 GB, free: 2.684 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.972e-05/1.139, allocations: 316.5 kB / 1.278 GB, free: 2.367 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.19e-05/1.139, allocations: 2.516 kB / 1.278 GB, free: 2.367 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.702e-05/1.139, allocations: 29.08 kB / 1.278 GB, free: 2.34 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.837e-05/1.139, allocations: 27.98 kB / 1.279 GB, free: 2.309 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/1.139, allocations: 0 / 1.279 GB, free: 2.309 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001308/1.139, allocations: 54.36 kB / 1.279 GB, free: 2.266 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/1.139, allocations: 9.312 kB / 1.279 GB, free: 2.262 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/1.139, allocations: 1.062 kB / 1.279 GB, free: 2.262 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/1.139, allocations: 4.828 kB / 1.279 GB, free: 2.258 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.195e-05/1.139, allocations: 9.938 kB / 1.279 GB, free: 2.254 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.453e-06/1.139, allocations: 5.938 kB / 1.279 GB, free: 2.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001566/1.139, allocations: 13.09 kB / 1.279 GB, free: 2.242 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.334e-05/1.139, allocations: 3.656 kB / 1.279 GB, free: 2.242 MB / 0.9981 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.206e-05/1.139, allocations: 192.2 kB / 1.279 GB, free: 2.047 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.11e-05/1.14, allocations: 111.4 kB / 1.279 GB, free: 1.934 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.901e-05/1.14, allocations: 106.6 kB / 1.279 GB, free: 1.824 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-05/1.14, allocations: 185.3 kB / 1.279 GB, free: 1.637 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.86e-05/1.14, allocations: 180.4 kB / 1.279 GB, free: 1.457 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.38e-05/1.14, allocations: 185.1 kB / 1.28 GB, free: 1.27 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003617/1.14, allocations: 409.7 kB / 1.28 GB, free: 16.82 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.747e-05/1.14, allocations: 108.3 kB / 1.28 GB, free: 16.71 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.079e-05/1.14, allocations: 105.8 kB / 1.28 GB, free: 16.6 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.556e-05/1.14, allocations: 177.9 kB / 1.28 GB, free: 16.42 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.353e-05/1.14, allocations: 185 kB / 1.28 GB, free: 16.23 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.75e-05/1.14, allocations: 178.2 kB / 1.281 GB, free: 16.05 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001638/1.141, allocations: 187.5 kB / 1.281 GB, free: 15.86 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001844/1.141, allocations: 304 kB / 1.281 GB, free: 15.55 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001084/1.141, allocations: 184.7 kB / 1.281 GB, free: 15.34 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001238/1.141, allocations: 179.3 kB / 1.281 GB, free: 15.16 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.83e-05/1.141, allocations: 109.8 kB / 1.282 GB, free: 15.05 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000126/1.141, allocations: 178.6 kB / 1.282 GB, free: 14.87 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.93e-05/1.141, allocations: 102 kB / 1.282 GB, free: 14.77 MB / 1.014 GB Notification: Performance of sorting global known variables: time 5.44e-05/1.141, allocations: 84.84 kB / 1.282 GB, free: 14.69 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/1.141, allocations: 0 / 1.282 GB, free: 14.69 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003911/1.142, allocations: 54.91 kB / 1.282 GB, free: 14.67 MB / 1.014 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.0007292/1.142, allocations: 346.2 kB / 1.282 GB, free: 14.45 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.000112/1.143, allocations: 13.06 kB / 1.282 GB, free: 14.45 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/1.143, allocations: 0 / 1.282 GB, free: 14.45 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.162e-06/1.143, allocations: 0.875 kB / 1.282 GB, free: 14.45 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004495/1.143, allocations: 465.9 kB / 1.283 GB, free: 13.99 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003384/1.143, allocations: 187.9 kB / 1.283 GB, free: 13.8 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003549/1.144, allocations: 0.6738 MB / 1.284 GB, free: 13.11 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.702e-05/1.144, allocations: 2.172 kB / 1.284 GB, free: 13.11 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.586e-05/1.144, allocations: 9.25 kB / 1.284 GB, free: 13.1 MB / 1.014 GB Notification: Performance of SimCode: time 3.81e-07/1.144, allocations: 0 / 1.284 GB, free: 13.1 MB / 1.014 GB Notification: Performance of Templates: time 0.005071/1.149, allocations: 1.61 MB / 1.285 GB, free: 12.91 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.makefile [Timeout 300] (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & ./Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.520370295271277]