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.001391/0.001391, allocations: 108 kB / 15.6 MB, free: 132 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.001671/0.001671, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.618/1.618, allocations: 222.9 MB / 240.2 MB, free: 4.406 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.604/2.604, allocations: 437 MB / 0.7104 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001456, allocations: 71.89 kB / 0.8692 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7175/0.719, allocations: 151.6 MB / 1.017 GB, free: 2.492 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002519/0.7216, allocations: 1.277 MB / 1.019 GB, free: 1.203 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002109/0.7237, allocations: 1.436 MB / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.351e-05/0.7237, allocations: 0 / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.403e-05/0.7238, allocations: 0 / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001779/0.724, allocations: 15.92 kB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007114/0.7247, allocations: 215.6 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.87e-05/0.7248, allocations: 23.92 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.733e-05/0.7248, allocations: 4 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.717e-05/0.7249, allocations: 19.97 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 9.797e-05/0.725, allocations: 7.938 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.196e-05/0.725, allocations: 3.938 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002789/0.7253, allocations: 159.8 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.228e-05/0.7253, allocations: 0 / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.012e-05/0.7254, allocations: 19.92 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002913/0.7257, allocations: 139.8 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.7257, allocations: 0 / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.252e-06/0.7257, allocations: 0 / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.7257, allocations: 0 / 1.02 GB, free: 15.16 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.0003689/0.7261, allocations: 365.4 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.7261, allocations: 8.031 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.844e-05/0.7262, allocations: 84.16 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001622/0.7264, allocations: 243.7 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.083e-05/0.7264, allocations: 158.9 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.929e-05/0.7265, allocations: 154.7 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.765e-05/0.7265, allocations: 105 kB / 1.022 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.591e-05/0.7266, allocations: 79.22 kB / 1.022 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.283e-05/0.7266, allocations: 150.6 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.56e-05/0.7267, allocations: 158.6 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.834e-05/0.7267, allocations: 158.5 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002757/0.727, allocations: 453.9 kB / 1.023 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.71e-05/0.7271, allocations: 169.1 kB / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.575e-05/0.7271, allocations: 92.08 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.052e-05/0.7271, allocations: 75.28 kB / 1.023 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.244e-05/0.7272, allocations: 109.8 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.7272, allocations: 0 / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 8.61e-05/0.7273, allocations: 33.55 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.507e-05/0.7273, allocations: 130.7 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001144/0.7275, allocations: 101.8 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.475e-05/0.7275, allocations: 29.7 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.1e-05/0.7275, allocations: 84.14 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.715e-06/0.7275, allocations: 0 / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.954e-05/0.7276, allocations: 17.72 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.7277, allocations: 322.9 kB / 1.024 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.643e-05/0.7277, allocations: 4 kB / 1.024 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.62e-05/0.7278, allocations: 26.56 kB / 1.024 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.239e-05/0.7278, allocations: 30.52 kB / 1.024 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.7278, allocations: 0 / 1.024 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001322/0.728, allocations: 53.56 kB / 1.024 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.728, allocations: 8 kB / 1.024 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.728, allocations: 0 / 1.024 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.728, allocations: 96 / 1.024 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.821e-05/0.7281, allocations: 8 kB / 1.024 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.7281, allocations: 7.938 kB / 1.024 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001526/0.7283, allocations: 7.984 kB / 1.024 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.719e-06/0.7283, allocations: 0 / 1.024 GB, free: 11.56 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.0001129/0.7284, allocations: 189.1 kB / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.144e-05/0.7285, allocations: 112.8 kB / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.538e-05/0.7285, allocations: 112.1 kB / 1.024 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.059e-05/0.7286, allocations: 184.2 kB / 1.024 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.724e-05/0.7287, allocations: 180.3 kB / 1.025 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.106e-05/0.7288, allocations: 184.1 kB / 1.025 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002339/0.729, allocations: 409.2 kB / 1.025 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-05/0.729, allocations: 101 kB / 1.025 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.726e-05/0.7291, allocations: 112.9 kB / 1.025 GB, free: 9.891 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.102e-05/0.7291, allocations: 176.3 kB / 1.025 GB, free: 9.711 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.143e-05/0.7292, allocations: 180.2 kB / 1.026 GB, free: 9.527 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.745e-05/0.7293, allocations: 184.2 kB / 1.026 GB, free: 9.34 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.611e-05/0.7293, allocations: 180.5 kB / 1.026 GB, free: 9.156 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001392/0.7295, allocations: 311.7 kB / 1.026 GB, free: 8.828 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.787e-05/0.7296, allocations: 186 kB / 1.026 GB, free: 8.621 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.771e-05/0.7296, allocations: 184.4 kB / 1.027 GB, free: 8.434 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.94e-05/0.7297, allocations: 101 kB / 1.027 GB, free: 8.328 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.478e-05/0.7298, allocations: 188.2 kB / 1.027 GB, free: 8.137 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.564e-05/0.7298, allocations: 105 kB / 1.027 GB, free: 8.027 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.285e-05/0.7299, allocations: 87.27 kB / 1.027 GB, free: 7.941 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7299, allocations: 0 / 1.027 GB, free: 7.941 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003359/0.7302, allocations: 55.98 kB / 1.027 GB, free: 7.887 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.0005756/0.7308, allocations: 332 kB / 1.027 GB, free: 7.594 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 9.402e-05/0.7309, allocations: 12.06 kB / 1.027 GB, free: 7.582 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.7309, allocations: 4.062 kB / 1.027 GB, free: 7.578 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.138e-06/0.7309, allocations: 4 kB / 1.027 GB, free: 7.574 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003396/0.7313, allocations: 460.8 kB / 1.028 GB, free: 7.121 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002395/0.7315, allocations: 181.3 kB / 1.028 GB, free: 6.918 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002155/0.7318, allocations: 0.6768 MB / 1.029 GB, free: 6.215 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.534e-05/0.7318, allocations: 4 kB / 1.029 GB, free: 6.211 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.51e-05/0.7318, allocations: 7.438 kB / 1.029 GB, free: 6.203 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.7318, allocations: 0 / 1.029 GB, free: 6.203 MB / 0.7794 GB Notification: Performance of Templates: time 0.004169/0.736, allocations: 1.617 MB / 1.03 GB, free: 4.605 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=480 -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