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.0009353/0.0009353, allocations: 91.3 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.00614/0.00614, allocations: 172.4 kB / 16.26 MB, free: 6.613 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.392/1.392, allocations: 223.2 MB / 240.3 MB, free: 5.355 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.687/2.687, allocations: 437.8 MB / 0.7121 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003761/0.0003762, allocations: 15.98 kB / 0.8728 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7266/0.7269, allocations: 153.8 MB / 1.023 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.00157/0.7286, allocations: 0.9916 MB / 1.024 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002362/0.731, allocations: 1.409 MB / 1.025 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.85e-05/0.731, allocations: 4 kB / 1.025 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.164e-05/0.7311, allocations: 3.938 kB / 1.025 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001798/0.7312, allocations: 11.98 kB / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006609/0.7319, allocations: 186.5 kB / 1.026 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.148e-05/0.732, allocations: 27.91 kB / 1.026 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.868e-05/0.732, allocations: 4 kB / 1.026 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.792e-05/0.7321, allocations: 11.98 kB / 1.026 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001417/0.7323, allocations: 17.81 kB / 1.026 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.322e-05/0.7323, allocations: 0 / 1.026 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003185/0.7326, allocations: 147.8 kB / 1.026 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.099e-05/0.7327, allocations: 0 / 1.026 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.194e-05/0.7327, allocations: 41.62 kB / 1.026 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003048/0.733, allocations: 151.8 kB / 1.026 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.733, allocations: 0 / 1.026 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.963e-06/0.733, allocations: 0 / 1.026 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.129e-06/0.733, allocations: 0 / 1.026 GB, free: 12.98 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.0003595/0.7334, allocations: 357.6 kB / 1.026 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.7335, allocations: 8.031 kB / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.412e-05/0.7335, allocations: 76.22 kB / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001695/0.7337, allocations: 251.6 kB / 1.027 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.992e-05/0.7338, allocations: 154.9 kB / 1.027 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.743e-05/0.7338, allocations: 158.7 kB / 1.027 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.504e-05/0.7339, allocations: 101 kB / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.791e-05/0.7339, allocations: 75.28 kB / 1.027 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.832e-05/0.734, allocations: 150.6 kB / 1.027 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.991e-05/0.7341, allocations: 158.5 kB / 1.027 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.83e-05/0.7341, allocations: 158.5 kB / 1.028 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002832/0.7344, allocations: 457.9 kB / 1.028 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.879e-05/0.7345, allocations: 165.1 kB / 1.028 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.435e-05/0.7345, allocations: 84.08 kB / 1.028 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.042e-05/0.7346, allocations: 83.27 kB / 1.028 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.333e-05/0.7346, allocations: 113.8 kB / 1.028 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.7346, allocations: 0 / 1.028 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 8.015e-05/0.7347, allocations: 37.55 kB / 1.028 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.381e-05/0.7348, allocations: 126.7 kB / 1.029 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001099/0.7349, allocations: 109.8 kB / 1.029 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.991e-05/0.7349, allocations: 25.7 kB / 1.029 GB, free: 9.98 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.459e-05/0.735, allocations: 84.14 kB / 1.029 GB, free: 9.895 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.074e-06/0.735, allocations: 0 / 1.029 GB, free: 9.895 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.027e-05/0.735, allocations: 17.72 kB / 1.029 GB, free: 9.871 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.7351, allocations: 310.8 kB / 1.029 GB, free: 9.559 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.358e-05/0.7351, allocations: 0 / 1.029 GB, free: 9.559 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.525e-05/0.7352, allocations: 30.56 kB / 1.029 GB, free: 9.52 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.883e-05/0.7353, allocations: 30.56 kB / 1.029 GB, free: 9.48 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.7353, allocations: 0 / 1.029 GB, free: 9.48 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001311/0.7354, allocations: 57.56 kB / 1.029 GB, free: 9.418 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.7354, allocations: 4 kB / 1.029 GB, free: 9.414 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.7354, allocations: 0 / 1.029 GB, free: 9.414 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.7355, allocations: 4 kB / 1.029 GB, free: 9.41 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.867e-05/0.7355, allocations: 4 kB / 1.029 GB, free: 9.406 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.7355, allocations: 4.094 kB / 1.029 GB, free: 9.402 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001475/0.7357, allocations: 7.984 kB / 1.029 GB, free: 9.395 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/0.7357, allocations: 4 kB / 1.029 GB, free: 9.391 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.0001026/0.7358, allocations: 189.6 kB / 1.029 GB, free: 9.195 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.461e-05/0.7359, allocations: 112.9 kB / 1.029 GB, free: 9.078 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.09e-05/0.7359, allocations: 104.1 kB / 1.03 GB, free: 8.969 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.754e-05/0.736, allocations: 184.2 kB / 1.03 GB, free: 8.781 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.467e-05/0.7361, allocations: 184.3 kB / 1.03 GB, free: 8.594 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.514e-05/0.7362, allocations: 180.2 kB / 1.03 GB, free: 8.41 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002356/0.7364, allocations: 401.2 kB / 1.031 GB, free: 7.961 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-05/0.7364, allocations: 112.9 kB / 1.031 GB, free: 7.844 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.667e-05/0.7365, allocations: 104.9 kB / 1.031 GB, free: 7.734 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.108e-05/0.7365, allocations: 184.5 kB / 1.031 GB, free: 7.547 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.952e-05/0.7366, allocations: 180.2 kB / 1.031 GB, free: 7.363 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.353e-05/0.7367, allocations: 184.3 kB / 1.031 GB, free: 7.176 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.346e-05/0.7368, allocations: 176.3 kB / 1.031 GB, free: 6.996 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001509/0.7369, allocations: 319.6 kB / 1.032 GB, free: 6.66 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.17e-05/0.737, allocations: 182 kB / 1.032 GB, free: 6.457 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.992e-05/0.7371, allocations: 184.3 kB / 1.032 GB, free: 6.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.574e-05/0.7372, allocations: 105.3 kB / 1.032 GB, free: 6.16 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.332e-05/0.7372, allocations: 184.2 kB / 1.032 GB, free: 5.973 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.912e-05/0.7373, allocations: 105 kB / 1.032 GB, free: 5.863 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.616e-05/0.7373, allocations: 83.28 kB / 1.033 GB, free: 5.781 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7373, allocations: 0 / 1.033 GB, free: 5.781 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003283/0.7377, allocations: 55.98 kB / 1.033 GB, free: 5.727 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.0005854/0.7383, allocations: 340.7 kB / 1.033 GB, free: 5.422 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.939e-05/0.7384, allocations: 11.94 kB / 1.033 GB, free: 5.41 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.7384, allocations: 192 / 1.033 GB, free: 5.41 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.923e-06/0.7384, allocations: 4 kB / 1.033 GB, free: 5.406 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003645/0.7387, allocations: 0.5302 MB / 1.033 GB, free: 4.871 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000244/0.739, allocations: 173.9 kB / 1.034 GB, free: 4.672 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002394/0.7393, allocations: 0.677 MB / 1.034 GB, free: 3.969 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.452e-05/0.7393, allocations: 0 / 1.034 GB, free: 3.969 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.687e-05/0.7393, allocations: 11.44 kB / 1.034 GB, free: 3.957 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.7393, allocations: 0 / 1.034 GB, free: 3.957 MB / 0.7794 GB Notification: Performance of Templates: time 0.004455/0.7438, allocations: 1.594 MB / 1.036 GB, free: 2.379 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