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.001103/0.001103, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.009616/0.009617, allocations: 169.6 kB / 16.26 MB, free: 6.676 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.438/1.438, allocations: 223.3 MB / 240.3 MB, free: 5.363 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.556/2.556, allocations: 390.9 MB / 0.6663 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005472/0.0005472, allocations: 8 kB / 0.816 GB, free: 13.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7816/0.7822, allocations: 142.4 MB / 0.955 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.001097/0.7833, allocations: 1 MB / 0.956 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001799/0.7852, allocations: 1.41 MB / 0.9574 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.729e-05/0.7852, allocations: 0 / 0.9574 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.341e-05/0.7852, allocations: 3.938 kB / 0.9574 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001667/0.7854, allocations: 12.05 kB / 0.9574 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005314/0.7859, allocations: 184.4 kB / 0.9576 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.202e-05/0.786, allocations: 28.66 kB / 0.9576 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.634e-05/0.786, allocations: 1.188 kB / 0.9576 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.347e-05/0.7861, allocations: 16.02 kB / 0.9576 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001063/0.7862, allocations: 17.73 kB / 0.9576 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.059e-05/0.7862, allocations: 1.188 kB / 0.9576 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002171/0.7865, allocations: 145.4 kB / 0.9578 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.378e-05/0.7865, allocations: 5.688 kB / 0.9578 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.633e-05/0.7865, allocations: 33.84 kB / 0.9578 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002281/0.7868, allocations: 145.6 kB / 0.958 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.7868, allocations: 0 / 0.958 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.645e-06/0.7868, allocations: 3.984 kB / 0.958 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.7868, allocations: 1.438 kB / 0.958 GB, free: 5.539 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.000324/0.7871, allocations: 368.5 kB / 0.9583 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.7872, allocations: 8.812 kB / 0.9583 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.748e-05/0.7872, allocations: 77.16 kB / 0.9584 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001514/0.7874, allocations: 241.9 kB / 0.9586 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.55e-05/0.7874, allocations: 152.4 kB / 0.9588 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.128e-05/0.7875, allocations: 161.7 kB / 0.9589 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.391e-05/0.7875, allocations: 112.9 kB / 0.959 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.713e-05/0.7876, allocations: 75.28 kB / 0.9591 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.788e-05/0.7876, allocations: 152.2 kB / 0.9593 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.35e-05/0.7876, allocations: 150.6 kB / 0.9594 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.481e-05/0.7877, allocations: 154.5 kB / 0.9595 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002004/0.7879, allocations: 458.2 kB / 0.96 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.587e-05/0.7879, allocations: 167.5 kB / 0.9601 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.773e-05/0.788, allocations: 88.08 kB / 0.9602 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.047e-05/0.788, allocations: 75.28 kB / 0.9603 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.54e-05/0.788, allocations: 115.3 kB / 0.9604 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.788, allocations: 3.938 kB / 0.9604 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 7.348e-05/0.7881, allocations: 32.12 kB / 0.9604 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.17e-05/0.7881, allocations: 130.6 kB / 0.9606 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.963e-05/0.7882, allocations: 109.1 kB / 0.9607 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.088e-06/0.7882, allocations: 25.7 kB / 0.9607 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.534e-05/0.7883, allocations: 85.64 kB / 0.9608 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.745e-06/0.7883, allocations: 0 / 0.9608 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.075e-05/0.7883, allocations: 11.31 kB / 0.9608 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.437e-05/0.7884, allocations: 316.6 kB / 0.9611 GB, free: 2.168 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.186e-05/0.7884, allocations: 1.75 kB / 0.9611 GB, free: 2.168 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.768e-05/0.7884, allocations: 29.84 kB / 0.9611 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.507e-05/0.7885, allocations: 26.31 kB / 0.9611 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.7885, allocations: 5.875 kB / 0.9612 GB, free: 2.102 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001115/0.7886, allocations: 54.12 kB / 0.9612 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.7886, allocations: 5.375 kB / 0.9612 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.7886, allocations: 0 / 0.9612 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.7886, allocations: 1.781 kB / 0.9612 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.475e-05/0.7887, allocations: 5.406 kB / 0.9612 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.7887, allocations: 0 / 0.9612 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001452/0.7889, allocations: 11.52 kB / 0.9612 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/0.7889, allocations: 7.656 kB / 0.9612 GB, free: 2.043 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 5.695e-05/0.7889, allocations: 188.7 kB / 0.9614 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.668e-05/0.789, allocations: 104.9 kB / 0.9615 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.566e-05/0.789, allocations: 117.7 kB / 0.9616 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.538e-05/0.789, allocations: 180.2 kB / 0.9618 GB, free: 1.438 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.693e-05/0.7891, allocations: 178.1 kB / 0.962 GB, free: 1.258 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.529e-05/0.7891, allocations: 186.2 kB / 0.9621 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001325/0.7892, allocations: 407.5 kB / 0.9625 GB, free: 0.6172 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.697e-05/0.7893, allocations: 101 kB / 0.9626 GB, free: 0.5117 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.505e-05/0.7893, allocations: 107.1 kB / 0.9627 GB, free: 412 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.347e-05/0.7893, allocations: 180.2 kB / 0.9629 GB, free: 224 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.572e-05/0.7893, allocations: 185.8 kB / 0.9631 GB, free: 32 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.452e-05/0.7894, allocations: 180.2 kB / 0.9633 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.562e-05/0.7895, allocations: 185.7 kB / 0.9634 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001328/0.7896, allocations: 307.7 kB / 0.9637 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.694e-05/0.7897, allocations: 183.4 kB / 0.9639 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.83e-05/0.7898, allocations: 189.6 kB / 0.9641 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.409e-05/0.7899, allocations: 109.1 kB / 0.9642 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.008e-05/0.79, allocations: 181.6 kB / 0.9644 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.037e-05/0.79, allocations: 102.1 kB / 0.9645 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.412e-05/0.7901, allocations: 87.56 kB / 0.9645 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7901, allocations: 0 / 0.9645 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003257/0.7904, allocations: 47.42 kB / 0.9646 GB, free: 14.45 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.0006082/0.791, allocations: 356.4 kB / 0.9649 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 9.207e-05/0.7911, allocations: 6.875 kB / 0.9649 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.7911, allocations: 0 / 0.9649 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.292e-06/0.7912, allocations: 0 / 0.9649 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004204/0.7916, allocations: 0.5341 MB / 0.9654 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002798/0.7919, allocations: 178.2 kB / 0.9656 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002465/0.7921, allocations: 0.6758 MB / 0.9663 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.391e-05/0.7922, allocations: 1.375 kB / 0.9663 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.677e-05/0.7922, allocations: 10.19 kB / 0.9663 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of SimCode: time 3.01e-07/0.7922, allocations: 3.938 kB / 0.9663 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of Templates: time 0.004185/0.7964, allocations: 1.594 MB / 0.9679 GB, free: 11.93 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