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.001664/0.001663, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001843/0.001843, allocations: 190.9 kB / 16.66 MB, free: 6.582 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.5/1.5, allocations: 222.9 MB / 240.4 MB, free: 4.352 MB / 190.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.493/2.493, allocations: 390.2 MB / 0.6648 GB, free: 216 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 67.09 kB / 0.9509 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3325/0.3337, allocations: 140.4 MB / 1.088 GB, free: 1.555 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002474/0.3362, allocations: 1.279 MB / 1.089 GB, free: 276 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002241/0.3385, allocations: 1.446 MB / 1.091 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.124e-05/0.3386, allocations: 0 / 1.091 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.993e-05/0.3386, allocations: 0 / 1.091 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002123/0.3388, allocations: 11.94 kB / 1.091 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006396/0.3395, allocations: 214.4 kB / 1.091 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.878e-05/0.3396, allocations: 23.92 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.698e-05/0.3396, allocations: 7.984 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.468e-05/0.3397, allocations: 15.88 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001161/0.3398, allocations: 15.97 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.459e-05/0.3398, allocations: 8 kB / 1.091 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002824/0.3401, allocations: 159.8 kB / 1.091 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.656e-05/0.3402, allocations: 11.97 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.644e-05/0.3402, allocations: 7.938 kB / 1.091 GB, free: 14.35 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002618/0.3405, allocations: 147.6 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.3405, allocations: 0 / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3405, allocations: 0 / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.3405, allocations: 4 kB / 1.091 GB, free: 14.2 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.0004609/0.3409, allocations: 359.1 kB / 1.092 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.341, allocations: 16.03 kB / 1.092 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.543e-05/0.3411, allocations: 84.17 kB / 1.092 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001786/0.3413, allocations: 247.6 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.74e-05/0.3413, allocations: 154.9 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.13e-05/0.3414, allocations: 162.6 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.584e-05/0.3415, allocations: 101 kB / 1.092 GB, free: 13.01 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.299e-05/0.3415, allocations: 79.28 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.622e-05/0.3416, allocations: 154.6 kB / 1.092 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.837e-05/0.3416, allocations: 150.6 kB / 1.093 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.752e-05/0.3417, allocations: 150.6 kB / 1.093 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002846/0.342, allocations: 457.8 kB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.941e-05/0.3421, allocations: 181.1 kB / 1.093 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.637e-05/0.3421, allocations: 84.08 kB / 1.093 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.549e-05/0.3422, allocations: 79.28 kB / 1.094 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.461e-05/0.3422, allocations: 105.8 kB / 1.094 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.3422, allocations: 0 / 1.094 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 9.818e-05/0.3423, allocations: 37.62 kB / 1.094 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.563e-05/0.3424, allocations: 130.7 kB / 1.094 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001107/0.3425, allocations: 101.9 kB / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.566e-05/0.3425, allocations: 29.7 kB / 1.094 GB, free: 11.19 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.72e-05/0.3426, allocations: 88.11 kB / 1.094 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.505e-06/0.3426, allocations: 0 / 1.094 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.76e-05/0.3426, allocations: 21.72 kB / 1.094 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.3427, allocations: 314.8 kB / 1.094 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.384e-05/0.3428, allocations: 7.984 kB / 1.094 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.365e-05/0.3428, allocations: 22.58 kB / 1.094 GB, free: 10.72 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.593e-05/0.3429, allocations: 26.52 kB / 1.094 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.3429, allocations: 0 / 1.094 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001388/0.343, allocations: 65.52 kB / 1.094 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.343, allocations: 4 kB / 1.094 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.3431, allocations: 144 / 1.094 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.3431, allocations: 4 kB / 1.094 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.002e-05/0.3431, allocations: 11.97 kB / 1.094 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.3432, allocations: 0 / 1.094 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001503/0.3433, allocations: 4 kB / 1.094 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.318e-05/0.3433, allocations: 4 kB / 1.094 GB, free: 10.59 MB / 0.8575 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.0001069/0.3434, allocations: 193.2 kB / 1.095 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.375e-05/0.3435, allocations: 116.8 kB / 1.095 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.862e-05/0.3436, allocations: 104.1 kB / 1.095 GB, free: 10.16 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.072e-05/0.3436, allocations: 180.2 kB / 1.095 GB, free: 9.973 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.7e-05/0.3437, allocations: 176.3 kB / 1.095 GB, free: 9.793 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.174e-05/0.3438, allocations: 184.2 kB / 1.095 GB, free: 9.605 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002218/0.344, allocations: 409.1 kB / 1.096 GB, free: 9.148 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.611e-05/0.344, allocations: 105 kB / 1.096 GB, free: 9.039 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.559e-05/0.3441, allocations: 108.9 kB / 1.096 GB, free: 8.926 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.058e-05/0.3441, allocations: 176.3 kB / 1.096 GB, free: 8.746 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.178e-05/0.3442, allocations: 184.2 kB / 1.096 GB, free: 8.559 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.201e-05/0.3443, allocations: 188.2 kB / 1.096 GB, free: 8.367 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.443e-05/0.3444, allocations: 180.3 kB / 1.097 GB, free: 8.184 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001336/0.3445, allocations: 311.7 kB / 1.097 GB, free: 7.855 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 8.776e-05/0.3446, allocations: 182 kB / 1.097 GB, free: 7.652 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.978e-05/0.3447, allocations: 176.3 kB / 1.097 GB, free: 7.473 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.789e-05/0.3448, allocations: 113 kB / 1.097 GB, free: 7.355 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.43e-05/0.3448, allocations: 180.2 kB / 1.098 GB, free: 7.172 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.649e-05/0.3449, allocations: 101.2 kB / 1.098 GB, free: 7.066 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.168e-05/0.3449, allocations: 87.28 kB / 1.098 GB, free: 6.98 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.3449, allocations: 0 / 1.098 GB, free: 6.98 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003276/0.3453, allocations: 55.8 kB / 1.098 GB, free: 6.926 MB / 0.8575 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.0006509/0.3459, allocations: 339.8 kB / 1.098 GB, free: 6.621 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001032/0.346, allocations: 19.92 kB / 1.098 GB, free: 6.602 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.346, allocations: 0 / 1.098 GB, free: 6.602 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.122e-06/0.3461, allocations: 0 / 1.098 GB, free: 6.602 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004174/0.3465, allocations: 460.8 kB / 1.099 GB, free: 6.148 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002806/0.3468, allocations: 173.6 kB / 1.099 GB, free: 5.953 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002642/0.347, allocations: 0.6768 MB / 1.099 GB, free: 5.25 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.036e-05/0.3471, allocations: 0 / 1.099 GB, free: 5.25 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.689e-05/0.3471, allocations: 15.38 kB / 1.099 GB, free: 5.234 MB / 0.8575 GB Notification: Performance of SimCode: time 1.9e-07/0.3471, allocations: 0 / 1.099 GB, free: 5.234 MB / 0.8575 GB Notification: Performance of Templates: time 0.004471/0.3516, allocations: 1.602 MB / 1.101 GB, free: 3.648 MB / 0.8575 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