Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001922/0.001922, allocations: 104 kB / 15.6 MB, free: 148 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.002185/0.002185, allocations: 196.4 kB / 16.53 MB, free: 6.625 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.529/1.529, allocations: 222.9 MB / 240.2 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.896/2.896, allocations: 437 MB / 0.7104 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001969/0.001969, allocations: 71.88 kB / 0.8692 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7502/0.7522, allocations: 151.6 MB / 1.017 GB, free: 2.43 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002772/0.755, allocations: 1.266 MB / 1.019 GB, free: 1.152 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002604/0.7577, allocations: 1.429 MB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.977e-05/0.7577, allocations: 0 / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.451e-05/0.7578, allocations: 0 / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.000204/0.758, allocations: 23.92 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007409/0.7587, allocations: 208.6 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.734e-05/0.7588, allocations: 27.92 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.562e-05/0.7589, allocations: 4 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.832e-05/0.7589, allocations: 11.98 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000118/0.7591, allocations: 17.81 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.072e-05/0.7591, allocations: 0 / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003153/0.7594, allocations: 151.8 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.576e-05/0.7594, allocations: 7.984 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.37e-05/0.7595, allocations: 15.92 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003104/0.7598, allocations: 143.7 kB / 1.021 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.7598, allocations: 3.938 kB / 1.021 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.362e-06/0.7598, allocations: 4 kB / 1.021 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.7598, allocations: 0 / 1.021 GB, free: 15.11 MB / 0.7794 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.0004381/0.7603, allocations: 365.4 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.7603, allocations: 12.03 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.158e-05/0.7604, allocations: 76.22 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002214/0.7606, allocations: 243.7 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.648e-05/0.7607, allocations: 158.9 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.313e-05/0.7608, allocations: 158.7 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.694e-05/0.7609, allocations: 105 kB / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.962e-05/0.7609, allocations: 75.28 kB / 1.022 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.785e-05/0.761, allocations: 150.6 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.415e-05/0.7611, allocations: 158.4 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.404e-05/0.7611, allocations: 150.6 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003639/0.7615, allocations: 461.9 kB / 1.023 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 9.425e-05/0.7616, allocations: 165.1 kB / 1.023 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.315e-05/0.7617, allocations: 92.06 kB / 1.023 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.732e-05/0.7617, allocations: 75.28 kB / 1.023 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.025e-05/0.7618, allocations: 113.8 kB / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.7618, allocations: 0 / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 0.0001005/0.7619, allocations: 29.61 kB / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.192e-05/0.762, allocations: 134.7 kB / 1.023 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001171/0.7621, allocations: 101.8 kB / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.232e-05/0.7621, allocations: 29.7 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.464e-05/0.7622, allocations: 80.14 kB / 1.023 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.024e-06/0.7622, allocations: 4 kB / 1.023 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.932e-05/0.7622, allocations: 17.72 kB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.7624, allocations: 318.9 kB / 1.024 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.457e-05/0.7624, allocations: 4 kB / 1.024 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.765e-05/0.7625, allocations: 38.48 kB / 1.024 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.091e-05/0.7625, allocations: 26.58 kB / 1.024 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.7625, allocations: 0 / 1.024 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001355/0.7627, allocations: 49.58 kB / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.7627, allocations: 7.984 kB / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.7627, allocations: 3.984 kB / 1.024 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.7627, allocations: 0 / 1.024 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.904e-05/0.7628, allocations: 11.94 kB / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.7628, allocations: 0 / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001592/0.763, allocations: 16.08 kB / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/0.763, allocations: 0 / 1.024 GB, free: 11.5 MB / 0.7794 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.0001275/0.7631, allocations: 185.1 kB / 1.024 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.994e-05/0.7632, allocations: 108.8 kB / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.865e-05/0.7633, allocations: 120 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.22e-05/0.7634, allocations: 180.2 kB / 1.024 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.178e-05/0.7635, allocations: 184.3 kB / 1.025 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.389e-05/0.7635, allocations: 184.2 kB / 1.025 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002815/0.7638, allocations: 405.2 kB / 1.025 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.549e-05/0.7639, allocations: 108.9 kB / 1.025 GB, free: 9.949 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.357e-05/0.7639, allocations: 105.2 kB / 1.025 GB, free: 9.84 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.111e-05/0.764, allocations: 180.3 kB / 1.025 GB, free: 9.656 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.732e-05/0.7641, allocations: 184.2 kB / 1.026 GB, free: 9.469 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.58e-05/0.7642, allocations: 180.2 kB / 1.026 GB, free: 9.285 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.452e-05/0.7643, allocations: 188.2 kB / 1.026 GB, free: 9.094 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001884/0.7645, allocations: 307.7 kB / 1.026 GB, free: 8.77 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000109/0.7646, allocations: 182.1 kB / 1.026 GB, free: 8.566 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.704e-05/0.7647, allocations: 184.3 kB / 1.027 GB, free: 8.379 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.222e-05/0.7648, allocations: 104.9 kB / 1.027 GB, free: 8.27 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.39e-05/0.7649, allocations: 180.3 kB / 1.027 GB, free: 8.086 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.653e-05/0.7649, allocations: 104.9 kB / 1.027 GB, free: 7.977 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.905e-05/0.765, allocations: 91.27 kB / 1.027 GB, free: 7.887 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.765, allocations: 0 / 1.027 GB, free: 7.887 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003699/0.7654, allocations: 51.98 kB / 1.027 GB, free: 7.836 MB / 0.7794 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.0007259/0.7661, allocations: 335 kB / 1.027 GB, free: 7.539 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 9.431e-05/0.7662, allocations: 8 kB / 1.027 GB, free: 7.531 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.7662, allocations: 0 / 1.027 GB, free: 7.531 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.344e-06/0.7662, allocations: 0 / 1.027 GB, free: 7.531 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004115/0.7667, allocations: 471.7 kB / 1.028 GB, free: 7.066 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002811/0.767, allocations: 177.4 kB / 1.028 GB, free: 6.867 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002941/0.7673, allocations: 0.669 MB / 1.029 GB, free: 6.172 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.356e-05/0.7673, allocations: 7.938 kB / 1.029 GB, free: 6.164 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.854e-05/0.7673, allocations: 11.44 kB / 1.029 GB, free: 6.152 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.7673, allocations: 0 / 1.029 GB, free: 6.152 MB / 0.7794 GB Notification: Performance of Templates: time 0.004653/0.772, allocations: 1.627 MB / 1.03 GB, free: 4.543 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & ./Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches