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.001616/0.001616, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001911/0.001911, allocations: 194.5 kB / 16.14 MB, free: 6.645 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.515/1.515, allocations: 222.9 MB / 239.8 MB, free: 4.594 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.461/2.461, allocations: 390.2 MB / 0.6642 GB, free: 0.6328 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001454/0.001454, allocations: 63.91 kB / 0.8119 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8696/0.8711, allocations: 140.4 MB / 0.9489 GB, free: 9.176 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.003845/0.875, allocations: 1.324 MB / 0.9502 GB, free: 8.129 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002895/0.8779, allocations: 1.433 MB / 0.9516 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.865e-05/0.878, allocations: 0 / 0.9516 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.286e-05/0.878, allocations: 7.875 kB / 0.9516 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002034/0.8782, allocations: 6.734 kB / 0.9516 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000819/0.8791, allocations: 192 kB / 0.9518 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.118e-05/0.8791, allocations: 21.03 kB / 0.9518 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.486e-05/0.8792, allocations: 5.266 kB / 0.9518 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.234e-05/0.8793, allocations: 16.05 kB / 0.9519 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001271/0.8794, allocations: 9.188 kB / 0.9519 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.672e-05/0.8794, allocations: 1.188 kB / 0.9519 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003884/0.8798, allocations: 156.8 kB / 0.952 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.92e-05/0.8799, allocations: 2.344 kB / 0.952 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.585e-05/0.8799, allocations: 8.391 kB / 0.952 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004812/0.8804, allocations: 149.2 kB / 0.9522 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.8804, allocations: 1.031 kB / 0.9522 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.685e-06/0.8804, allocations: 0 / 0.9522 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.234e-05/0.8804, allocations: 0 / 0.9522 GB, free: 6.695 MB / 0.7169 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.0004173/0.8809, allocations: 369 kB / 0.9525 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.8809, allocations: 9.312 kB / 0.9525 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.258e-05/0.881, allocations: 85.5 kB / 0.9526 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001748/0.8812, allocations: 242.2 kB / 0.9528 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.253e-05/0.8812, allocations: 152 kB / 0.953 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.617e-05/0.8812, allocations: 156.7 kB / 0.9531 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.876e-05/0.8813, allocations: 105.9 kB / 0.9532 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.642e-05/0.8813, allocations: 75.28 kB / 0.9533 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.997e-05/0.8814, allocations: 155.7 kB / 0.9535 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.945e-05/0.8814, allocations: 150.6 kB / 0.9536 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.381e-05/0.8814, allocations: 159.6 kB / 0.9538 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002653/0.8817, allocations: 454.2 kB / 0.9542 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.422e-05/0.8818, allocations: 170 kB / 0.9544 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.374e-05/0.8818, allocations: 84.08 kB / 0.9544 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.951e-05/0.8818, allocations: 80.2 kB / 0.9545 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.925e-05/0.8819, allocations: 107 kB / 0.9546 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.213e-06/0.8819, allocations: 3.938 kB / 0.9546 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 9.002e-05/0.882, allocations: 40.8 kB / 0.9547 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.799e-05/0.882, allocations: 134.6 kB / 0.9548 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/0.8821, allocations: 103.8 kB / 0.9549 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.083e-05/0.8821, allocations: 27.05 kB / 0.9549 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.807e-05/0.8822, allocations: 81.52 kB / 0.955 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.444e-06/0.8822, allocations: 0 / 0.955 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.793e-05/0.8822, allocations: 24.77 kB / 0.955 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.828e-05/0.8823, allocations: 314.9 kB / 0.9553 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.702e-05/0.8823, allocations: 5.812 kB / 0.9553 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.28e-05/0.8824, allocations: 33.19 kB / 0.9553 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.239e-05/0.8824, allocations: 27.48 kB / 0.9554 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.8824, allocations: 1.531 kB / 0.9554 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001338/0.8826, allocations: 49.72 kB / 0.9554 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.8826, allocations: 10.53 kB / 0.9554 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.8826, allocations: 0 / 0.9554 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.8826, allocations: 1.125 kB / 0.9554 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.731e-05/0.8827, allocations: 8.812 kB / 0.9554 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.8827, allocations: 5.078 kB / 0.9554 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001648/0.8829, allocations: 4.25 kB / 0.9554 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.358e-05/0.8829, allocations: 2.969 kB / 0.9555 GB, free: 3.195 MB / 0.7169 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.725e-05/0.883, allocations: 191.6 kB / 0.9556 GB, free: 3 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.193e-05/0.8831, allocations: 114.3 kB / 0.9557 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.399e-05/0.8831, allocations: 109.2 kB / 0.9558 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.327e-05/0.8832, allocations: 180.2 kB / 0.956 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-05/0.8832, allocations: 177.8 kB / 0.9562 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.232e-05/0.8833, allocations: 181.1 kB / 0.9564 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001701/0.8834, allocations: 411.8 kB / 0.9568 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.806e-05/0.8835, allocations: 102.4 kB / 0.9569 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.833e-05/0.8835, allocations: 108.9 kB / 0.957 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-05/0.8835, allocations: 177.7 kB / 0.9571 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.055e-05/0.8836, allocations: 181.6 kB / 0.9573 GB, free: 1.184 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.509e-05/0.8836, allocations: 181.6 kB / 0.9575 GB, free: 1 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.435e-05/0.8836, allocations: 180.3 kB / 0.9576 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.438e-05/0.8837, allocations: 311.9 kB / 0.9579 GB, free: 0.4922 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.193e-05/0.8838, allocations: 191.5 kB / 0.9581 GB, free: 288 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.01e-05/0.8838, allocations: 177.7 kB / 0.9583 GB, free: 104 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.146e-05/0.8839, allocations: 109.2 kB / 0.9584 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.549e-05/0.884, allocations: 185.6 kB / 0.9586 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.463e-05/0.8841, allocations: 102.5 kB / 0.9587 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.538e-05/0.8841, allocations: 87.25 kB / 0.9588 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8841, allocations: 0 / 0.9588 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003859/0.8845, allocations: 54.48 kB / 0.9588 GB, free: 15.59 MB / 0.7325 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.0007164/0.8852, allocations: 337.4 kB / 0.9591 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 9.911e-05/0.8854, allocations: 11.31 kB / 0.9591 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.8854, allocations: 0 / 0.9591 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.623e-06/0.8854, allocations: 0 / 0.9591 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004455/0.8858, allocations: 0.5298 MB / 0.9597 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002968/0.8861, allocations: 184.5 kB / 0.9598 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002963/0.8864, allocations: 0.6753 MB / 0.9605 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.231e-05/0.8865, allocations: 2.062 kB / 0.9605 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.858e-05/0.8865, allocations: 9.594 kB / 0.9605 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of SimCode: time 2.5e-07/0.8865, allocations: 0 / 0.9605 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of Templates: time 0.005534/0.892, allocations: 1.605 MB / 0.9621 GB, free: 13.09 MB / 0.7325 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