Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001321/0.001321, allocations: 84.22 kB / 15.06 MB, free: 1.09 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.001641/0.001641, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.533/1.533, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.077/3.077, allocations: 462.6 MB / 0.736 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003448/0.0003449, allocations: 9.875 kB / 0.9021 GB, free: 36.7 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3507/0.351, allocations: 159.6 MB / 1.058 GB, free: 5.305 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.001713/0.3528, allocations: 0.9861 MB / 1.059 GB, free: 4.309 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002313/0.3551, allocations: 1.347 MB / 1.06 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.553e-05/0.3552, allocations: 4 kB / 1.06 GB, free: 2.949 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.128e-05/0.3552, allocations: 3.938 kB / 1.06 GB, free: 2.945 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002591/0.3555, allocations: 11.94 kB / 1.06 GB, free: 2.934 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007545/0.3563, allocations: 182.4 kB / 1.061 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.116e-05/0.3564, allocations: 23.91 kB / 1.061 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 6.527e-05/0.3564, allocations: 0 / 1.061 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001064/0.3565, allocations: 19.88 kB / 1.061 GB, free: 2.715 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001313/0.3567, allocations: 15.97 kB / 1.061 GB, free: 2.699 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 9.839e-06/0.3567, allocations: 0 / 1.061 GB, free: 2.699 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002451/0.357, allocations: 131.8 kB / 1.061 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.444e-05/0.357, allocations: 4 kB / 1.061 GB, free: 2.566 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.49e-05/0.357, allocations: 29.69 kB / 1.061 GB, free: 2.531 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001781/0.3572, allocations: 99.88 kB / 1.061 GB, free: 2.434 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.3572, allocations: 7.922 kB / 1.061 GB, free: 2.426 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.773e-06/0.3572, allocations: 0 / 1.061 GB, free: 2.426 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.3572, allocations: 0 / 1.061 GB, free: 2.426 MB / 0.8106 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.0003334/0.3576, allocations: 359.6 kB / 1.061 GB, free: 2.027 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.018e-05/0.3576, allocations: 8.031 kB / 1.061 GB, free: 2.02 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.379e-05/0.3577, allocations: 79.28 kB / 1.061 GB, free: 1.941 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001754/0.3579, allocations: 242.3 kB / 1.061 GB, free: 1.664 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.965e-05/0.358, allocations: 158.6 kB / 1.062 GB, free: 1.508 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.339e-05/0.358, allocations: 154.5 kB / 1.062 GB, free: 1.355 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.859e-05/0.3581, allocations: 105 kB / 1.062 GB, free: 1.246 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.675e-05/0.3581, allocations: 79.28 kB / 1.062 GB, free: 1.168 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.626e-05/0.3582, allocations: 150.6 kB / 1.062 GB, free: 1.02 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.048e-05/0.3583, allocations: 154.5 kB / 1.062 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.83e-05/0.3583, allocations: 158.5 kB / 1.062 GB, free: 0.7109 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003186/0.3587, allocations: 457.9 kB / 1.063 GB, free: 220 kB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 9.722e-05/0.3588, allocations: 165.1 kB / 1.063 GB, free: 44 kB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.727e-05/0.3588, allocations: 80.14 kB / 1.063 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.389e-05/0.3589, allocations: 83.23 kB / 1.063 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.179e-05/0.3589, allocations: 113.8 kB / 1.063 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.3589, allocations: 0 / 1.063 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 8.964e-05/0.359, allocations: 33.59 kB / 1.063 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.228e-05/0.3591, allocations: 134.6 kB / 1.063 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001116/0.3592, allocations: 105.8 kB / 1.064 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.554e-05/0.3593, allocations: 25.7 kB / 1.064 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.398e-05/0.3593, allocations: 88.14 kB / 1.064 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.464e-06/0.3593, allocations: 0 / 1.064 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.565e-06/0.3593, allocations: 0 / 1.064 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001156/0.3595, allocations: 314.8 kB / 1.064 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.235e-05/0.3595, allocations: 4 kB / 1.064 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.372e-05/0.3595, allocations: 26.5 kB / 1.064 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.525e-05/0.3595, allocations: 12 kB / 1.064 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3596, allocations: 0 / 1.064 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001233/0.3597, allocations: 45.62 kB / 1.064 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.3597, allocations: 11.95 kB / 1.064 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.3597, allocations: 0 / 1.064 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.3597, allocations: 3.938 kB / 1.064 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.47e-05/0.3598, allocations: 4 kB / 1.064 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.3598, allocations: 4 kB / 1.064 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001386/0.36, allocations: 16.08 kB / 1.064 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.688e-06/0.36, allocations: 0 / 1.064 GB, free: 14.88 MB / 0.8262 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001022/0.3601, allocations: 185.1 kB / 1.064 GB, free: 14.69 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.351e-05/0.3602, allocations: 108.8 kB / 1.064 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.372e-05/0.3602, allocations: 120 kB / 1.064 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.112e-05/0.3603, allocations: 176.3 kB / 1.065 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.619e-05/0.3604, allocations: 184.2 kB / 1.065 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-05/0.3604, allocations: 176.3 kB / 1.065 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000237/0.3607, allocations: 409.2 kB / 1.065 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-05/0.3607, allocations: 101 kB / 1.065 GB, free: 13.35 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.687e-05/0.3608, allocations: 105 kB / 1.066 GB, free: 13.24 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.069e-05/0.3608, allocations: 180.2 kB / 1.066 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.374e-05/0.3609, allocations: 184.3 kB / 1.066 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.995e-05/0.361, allocations: 188.2 kB / 1.066 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.433e-05/0.3611, allocations: 184.3 kB / 1.066 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001549/0.3612, allocations: 296 kB / 1.067 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.707e-05/0.3613, allocations: 198.1 kB / 1.067 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.744e-05/0.3614, allocations: 180.2 kB / 1.067 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.981e-05/0.3615, allocations: 104.9 kB / 1.067 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.643e-05/0.3616, allocations: 188.2 kB / 1.067 GB, free: 11.47 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.357e-05/0.3616, allocations: 105.2 kB / 1.067 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.408e-05/0.3617, allocations: 87.28 kB / 1.067 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3617, allocations: 4 kB / 1.067 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003542/0.3621, allocations: 55.92 kB / 1.067 GB, free: 11.22 MB / 0.8262 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005976/0.3627, allocations: 330.2 kB / 1.068 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 7.785e-05/0.3628, allocations: 7.938 kB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3628, allocations: 7.938 kB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.513e-06/0.3628, allocations: 0 / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003779/0.3632, allocations: 0.5226 MB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002431/0.3634, allocations: 173.9 kB / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002461/0.3637, allocations: 0.677 MB / 1.069 GB, free: 9.48 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.474e-05/0.3637, allocations: 0 / 1.069 GB, free: 9.48 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.707e-05/0.3637, allocations: 15.44 kB / 1.069 GB, free: 9.465 MB / 0.8262 GB Notification: Performance of SimCode: time 2.104e-06/0.3637, allocations: 0 / 1.069 GB, free: 9.465 MB / 0.8262 GB Notification: Performance of Templates: time 0.004604/0.3683, allocations: 1.551 MB / 1.071 GB, free: 7.93 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches