Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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=5000,variableFilter="time|latitude|longitude|timeZone",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|latitude|longitude|timeZone",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005217/0.005217, allocations: 102.3 kB / 15.73 MB, free: 5.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 196.3 kB / 16.67 MB, free: 5.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.452/1.452, allocations: 222.9 MB / 240.4 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.321/2.321, allocations: 390.2 MB / 0.6648 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001438/0.001438, allocations: 63.91 kB / 0.9508 GB, free: 7.68 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.005/1.006, allocations: 140.4 MB / 1.088 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002661/1.009, allocations: 1.267 MB / 1.089 GB, free: 4.645 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002484/1.011, allocations: 1.443 MB / 1.091 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.268e-05/1.011, allocations: 0 / 1.091 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.145e-05/1.011, allocations: 0 / 1.091 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002321/1.012, allocations: 13.62 kB / 1.091 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006934/1.012, allocations: 221.7 kB / 1.091 GB, free: 3.531 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.908e-05/1.013, allocations: 32.17 kB / 1.091 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.032e-05/1.013, allocations: 6.125 kB / 1.091 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.277e-05/1.013, allocations: 11.72 kB / 1.091 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000134/1.013, allocations: 14.11 kB / 1.091 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.171e-05/1.013, allocations: 1.188 kB / 1.091 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000367/1.013, allocations: 164.2 kB / 1.091 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.827e-05/1.013, allocations: 10.42 kB / 1.091 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.956e-05/1.013, allocations: 6.438 kB / 1.091 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003213/1.014, allocations: 150.2 kB / 1.091 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/1.014, allocations: 0.8438 kB / 1.091 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.924e-06/1.014, allocations: 0 / 1.091 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.566e-06/1.014, allocations: 4.719 kB / 1.091 GB, free: 3.387 MB / 0.8575 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.0003772/1.014, allocations: 366.5 kB / 1.092 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/1.014, allocations: 8.562 kB / 1.092 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.218e-05/1.014, allocations: 82.12 kB / 1.092 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001309/1.014, allocations: 243.6 kB / 1.092 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.552e-05/1.014, allocations: 152.3 kB / 1.092 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.142e-05/1.014, allocations: 157.9 kB / 1.092 GB, free: 2.359 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.023e-05/1.014, allocations: 106.1 kB / 1.092 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/1.014, allocations: 75.28 kB / 1.092 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.977e-05/1.014, allocations: 155.1 kB / 1.092 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.269e-05/1.014, allocations: 151.7 kB / 1.093 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.553e-05/1.015, allocations: 155.5 kB / 1.093 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002215/1.015, allocations: 454.8 kB / 1.093 GB, free: 1.238 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.271e-05/1.015, allocations: 166.4 kB / 1.093 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.852e-05/1.015, allocations: 84.95 kB / 1.093 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.812e-05/1.015, allocations: 80.08 kB / 1.094 GB, free: 0.9023 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.912e-05/1.015, allocations: 115 kB / 1.094 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/1.015, allocations: 0 / 1.094 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 8.023e-05/1.015, allocations: 32.75 kB / 1.094 GB, free: 0.7461 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.999e-05/1.015, allocations: 128.7 kB / 1.094 GB, free: 0.6094 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001067/1.015, allocations: 106 kB / 1.094 GB, free: 0.5039 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.211e-05/1.015, allocations: 26.42 kB / 1.094 GB, free: 484 kB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.366e-05/1.015, allocations: 86.36 kB / 1.094 GB, free: 396 kB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.635e-06/1.015, allocations: 0.7812 kB / 1.094 GB, free: 396 kB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.431e-05/1.015, allocations: 25.73 kB / 1.094 GB, free: 372 kB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.854e-05/1.015, allocations: 316.4 kB / 1.094 GB, free: 16.05 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.774e-05/1.015, allocations: 2.812 kB / 1.094 GB, free: 16.05 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.841e-05/1.015, allocations: 35.92 kB / 1.094 GB, free: 16.01 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.925e-05/1.015, allocations: 28.05 kB / 1.094 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/1.015, allocations: 1.391 kB / 1.094 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001407/1.016, allocations: 53.67 kB / 1.094 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/1.016, allocations: 5.312 kB / 1.094 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/1.016, allocations: 1.406 kB / 1.094 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/1.016, allocations: 0.9688 kB / 1.094 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.418e-05/1.016, allocations: 5.578 kB / 1.094 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/1.016, allocations: 5.672 kB / 1.094 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001618/1.016, allocations: 18.61 kB / 1.094 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.348e-05/1.016, allocations: 2.875 kB / 1.094 GB, free: 15.92 MB / 0.8731 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.0001186/1.016, allocations: 191 kB / 1.095 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.565e-05/1.016, allocations: 106.4 kB / 1.095 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.836e-05/1.016, allocations: 114.3 kB / 1.095 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-05/1.016, allocations: 178.2 kB / 1.095 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.506e-05/1.016, allocations: 181.9 kB / 1.095 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.028e-05/1.016, allocations: 182 kB / 1.095 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002712/1.017, allocations: 407 kB / 1.096 GB, free: 14.51 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.731e-05/1.017, allocations: 106.3 kB / 1.096 GB, free: 14.4 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.604e-05/1.017, allocations: 102.3 kB / 1.096 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.88e-05/1.017, allocations: 178.5 kB / 1.096 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.926e-05/1.017, allocations: 189.8 kB / 1.096 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.003e-05/1.017, allocations: 177.8 kB / 1.096 GB, free: 13.74 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.469e-05/1.017, allocations: 182.2 kB / 1.097 GB, free: 13.56 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001516/1.017, allocations: 309.8 kB / 1.097 GB, free: 13.24 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 8.531e-05/1.017, allocations: 188.2 kB / 1.097 GB, free: 13.03 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.392e-05/1.018, allocations: 178.3 kB / 1.097 GB, free: 12.85 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.452e-05/1.018, allocations: 107.1 kB / 1.097 GB, free: 12.74 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.731e-05/1.018, allocations: 177.9 kB / 1.098 GB, free: 12.56 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.84e-05/1.018, allocations: 102.8 kB / 1.098 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 5.368e-05/1.018, allocations: 89.19 kB / 1.098 GB, free: 12.38 MB / 0.8731 GB Notification: Performance of sort global known variables: time 4.71e-07/1.018, allocations: 4 kB / 1.098 GB, free: 12.37 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004215/1.018, allocations: 54.06 kB / 1.098 GB, free: 12.36 MB / 0.8731 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.0006932/1.019, allocations: 338.5 kB / 1.098 GB, free: 12.14 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001243/1.019, allocations: 11.94 kB / 1.098 GB, free: 12.14 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/1.019, allocations: 0.9688 kB / 1.098 GB, free: 12.14 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 2.124e-06/1.019, allocations: 0 / 1.098 GB, free: 12.14 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004135/1.02, allocations: 472.9 kB / 1.099 GB, free: 11.68 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003102/1.02, allocations: 175.5 kB / 1.099 GB, free: 11.5 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002784/1.02, allocations: 0.6732 MB / 1.099 GB, free: 10.8 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.088e-05/1.02, allocations: 2.547 kB / 1.099 GB, free: 10.8 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.798e-05/1.02, allocations: 8.969 kB / 1.099 GB, free: 10.79 MB / 0.8731 GB Notification: Performance of SimCode: time 2.51e-07/1.02, allocations: 4.875 kB / 1.099 GB, free: 10.79 MB / 0.8731 GB Notification: Performance of Templates: time 0.005291/1.025, allocations: 1.602 MB / 1.101 GB, free: 10.6 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches