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.008452/0.008452, allocations: 101.7 kB / 15.73 MB, free: 5.969 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.00167/0.00167, allocations: 194.7 kB / 16.67 MB, free: 5.906 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.448/1.448, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.387/2.387, allocations: 390.2 MB / 0.6648 GB, free: 216 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001238, allocations: 67.47 kB / 0.9509 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3519/0.3531, allocations: 140.4 MB / 1.088 GB, free: 1.52 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002313/0.3555, allocations: 1.278 MB / 1.089 GB, free: 240 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002053/0.3576, allocations: 1.446 MB / 1.091 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.428e-05/0.3576, allocations: 0 / 1.091 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.066e-05/0.3577, allocations: 0 / 1.091 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001868/0.3579, allocations: 15.91 kB / 1.091 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005857/0.3585, allocations: 217.8 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.749e-05/0.3585, allocations: 19.92 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.962e-05/0.3586, allocations: 4 kB / 1.091 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.633e-05/0.3587, allocations: 27.84 kB / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001122/0.3588, allocations: 8 kB / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.161e-05/0.3588, allocations: 0 / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002542/0.3591, allocations: 171.8 kB / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.42e-05/0.3591, allocations: 4 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.538e-05/0.3591, allocations: 7.938 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002477/0.3594, allocations: 151.8 kB / 1.091 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.3594, allocations: 0 / 1.091 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3594, allocations: 0 / 1.091 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.101e-06/0.3594, allocations: 0 / 1.091 GB, free: 14.17 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.0004078/0.3598, allocations: 367.5 kB / 1.092 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.3599, allocations: 8.031 kB / 1.092 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.478e-05/0.3599, allocations: 76.22 kB / 1.092 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001812/0.3601, allocations: 247.6 kB / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.645e-05/0.3602, allocations: 162.8 kB / 1.092 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.189e-05/0.3603, allocations: 158.7 kB / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.195e-05/0.3603, allocations: 105 kB / 1.092 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.655e-05/0.3604, allocations: 75.28 kB / 1.092 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.103e-05/0.3604, allocations: 150.6 kB / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.099e-05/0.3605, allocations: 150.6 kB / 1.093 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.234e-05/0.3605, allocations: 154.6 kB / 1.093 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003148/0.3608, allocations: 461.9 kB / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.046e-05/0.3609, allocations: 181.1 kB / 1.093 GB, free: 11.76 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.179e-05/0.361, allocations: 84.08 kB / 1.093 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.027e-05/0.361, allocations: 79.27 kB / 1.094 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.266e-05/0.3611, allocations: 109.8 kB / 1.094 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.011e-06/0.3611, allocations: 0 / 1.094 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 9.12e-05/0.3612, allocations: 33.64 kB / 1.094 GB, free: 11.44 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.787e-05/0.3612, allocations: 130.7 kB / 1.094 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.928e-05/0.3613, allocations: 105.8 kB / 1.094 GB, free: 11.19 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.857e-05/0.3614, allocations: 25.7 kB / 1.094 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.933e-05/0.3614, allocations: 80.14 kB / 1.094 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.395e-06/0.3614, allocations: 0 / 1.094 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.976e-05/0.3614, allocations: 29.7 kB / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.713e-05/0.3616, allocations: 310.8 kB / 1.094 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.354e-05/0.3616, allocations: 4 kB / 1.094 GB, free: 10.72 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.86e-05/0.3616, allocations: 26.56 kB / 1.094 GB, free: 10.69 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001302/0.3618, allocations: 34.52 kB / 1.094 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.3618, allocations: 0 / 1.094 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001238/0.3619, allocations: 49.56 kB / 1.094 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.3619, allocations: 4 kB / 1.094 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.452e-05/0.3619, allocations: 4 kB / 1.094 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.362, allocations: 0 / 1.094 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.195e-05/0.362, allocations: 4 kB / 1.094 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.362, allocations: 0 / 1.094 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001469/0.3622, allocations: 19.83 kB / 1.094 GB, free: 10.56 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.17e-05/0.3622, allocations: 8.344 kB / 1.094 GB, free: 10.55 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 9.456e-05/0.3623, allocations: 185.1 kB / 1.095 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.114e-05/0.3624, allocations: 108.9 kB / 1.095 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.772e-05/0.3624, allocations: 112 kB / 1.095 GB, free: 10.13 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.716e-05/0.3625, allocations: 188.2 kB / 1.095 GB, free: 9.938 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.836e-05/0.3626, allocations: 184.3 kB / 1.095 GB, free: 9.75 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.518e-05/0.3626, allocations: 176.3 kB / 1.095 GB, free: 9.57 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002213/0.3629, allocations: 413.1 kB / 1.096 GB, free: 9.109 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.985e-05/0.3629, allocations: 101 kB / 1.096 GB, free: 9.004 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.485e-05/0.3629, allocations: 104.9 kB / 1.096 GB, free: 8.895 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.186e-05/0.363, allocations: 176.3 kB / 1.096 GB, free: 8.715 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.757e-05/0.3631, allocations: 184.3 kB / 1.096 GB, free: 8.527 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.754e-05/0.3631, allocations: 184.2 kB / 1.096 GB, free: 8.34 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.324e-05/0.3632, allocations: 184.3 kB / 1.097 GB, free: 8.152 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001351/0.3633, allocations: 303.7 kB / 1.097 GB, free: 7.832 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.234e-05/0.3634, allocations: 190 kB / 1.097 GB, free: 7.621 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.475e-05/0.3635, allocations: 184.3 kB / 1.097 GB, free: 7.434 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.726e-05/0.3636, allocations: 101 kB / 1.097 GB, free: 7.328 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.517e-05/0.3636, allocations: 184.1 kB / 1.098 GB, free: 7.141 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.884e-05/0.3637, allocations: 101 kB / 1.098 GB, free: 7.035 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.073e-05/0.3637, allocations: 91.27 kB / 1.098 GB, free: 6.945 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3637, allocations: 0 / 1.098 GB, free: 6.945 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002923/0.364, allocations: 47.98 kB / 1.098 GB, free: 6.898 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.0005505/0.3646, allocations: 345 kB / 1.098 GB, free: 6.59 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 8.216e-05/0.3647, allocations: 7.938 kB / 1.098 GB, free: 6.582 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3647, allocations: 0 / 1.098 GB, free: 6.582 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.006e-06/0.3647, allocations: 4 kB / 1.098 GB, free: 6.578 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003675/0.3651, allocations: 463.8 kB / 1.099 GB, free: 6.121 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002468/0.3653, allocations: 175.8 kB / 1.099 GB, free: 5.926 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002496/0.3656, allocations: 0.6729 MB / 1.099 GB, free: 5.227 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.465e-05/0.3656, allocations: 0 / 1.099 GB, free: 5.227 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.288e-05/0.3656, allocations: 7.438 kB / 1.099 GB, free: 5.219 MB / 0.8575 GB Notification: Performance of SimCode: time 2.01e-07/0.3656, allocations: 4 kB / 1.099 GB, free: 5.215 MB / 0.8575 GB Notification: Performance of Templates: time 0.003987/0.3696, allocations: 1.616 MB / 1.101 GB, free: 3.613 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