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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001327/0.001327, 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.001339/0.001339, allocations: 193.2 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.367/1.367, 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 12.0.0-master/package.mo): time 2.884/2.884, allocations: 472.6 MB / 0.7447 GB, free: 4.992 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002377/0.002378, allocations: 65.94 kB / 0.9114 GB, free: 33.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3409/0.3433, allocations: 159.9 MB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002473/0.3458, allocations: 1.337 MB / 1.069 GB, free: 9.574 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002259/0.3481, allocations: 1.434 MB / 1.07 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.967e-05/0.3481, allocations: 0 / 1.07 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.125e-05/0.3482, allocations: 0 / 1.07 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001882/0.3484, allocations: 19.86 kB / 1.07 GB, free: 8.113 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005252/0.3489, allocations: 191.1 kB / 1.07 GB, free: 7.93 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.902e-05/0.3489, allocations: 15.94 kB / 1.07 GB, free: 7.914 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.328e-05/0.349, allocations: 7.984 kB / 1.07 GB, free: 7.906 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.759e-05/0.3491, allocations: 19.94 kB / 1.07 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001101/0.3492, allocations: 15.91 kB / 1.07 GB, free: 7.871 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.315e-05/0.3492, allocations: 0 / 1.07 GB, free: 7.871 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002458/0.3495, allocations: 147.8 kB / 1.071 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.404e-05/0.3495, allocations: 3.984 kB / 1.071 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.329e-05/0.3495, allocations: 19.92 kB / 1.071 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002697/0.3498, allocations: 139.8 kB / 1.071 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3498, allocations: 0 / 1.071 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.202e-06/0.3498, allocations: 0 / 1.071 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5e-06/0.3498, allocations: 0 / 1.071 GB, free: 7.566 MB / 0.8262 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.0004211/0.3503, allocations: 371.8 kB / 1.071 GB, free: 7.156 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.3503, allocations: 8.031 kB / 1.071 GB, free: 7.148 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.529e-05/0.3504, allocations: 84.12 kB / 1.071 GB, free: 7.066 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001724/0.3506, allocations: 239.7 kB / 1.071 GB, free: 6.793 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.807e-05/0.3507, allocations: 154.9 kB / 1.072 GB, free: 6.641 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.901e-05/0.3507, allocations: 162.7 kB / 1.072 GB, free: 6.48 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.843e-05/0.3508, allocations: 108.9 kB / 1.072 GB, free: 6.367 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.044e-05/0.3508, allocations: 75.28 kB / 1.072 GB, free: 6.293 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.044e-05/0.3509, allocations: 150.6 kB / 1.072 GB, free: 6.145 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.396e-05/0.351, allocations: 158.6 kB / 1.072 GB, free: 5.988 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.002e-05/0.351, allocations: 150.6 kB / 1.072 GB, free: 5.84 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003029/0.3513, allocations: 449.9 kB / 1.073 GB, free: 5.352 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.027e-05/0.3514, allocations: 169.1 kB / 1.073 GB, free: 5.176 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.853e-05/0.3515, allocations: 92.08 kB / 1.073 GB, free: 5.082 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.095e-05/0.3515, allocations: 75.28 kB / 1.073 GB, free: 5.008 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.02e-05/0.3516, allocations: 109.8 kB / 1.073 GB, free: 4.891 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 9.91e-07/0.3516, allocations: 0 / 1.073 GB, free: 4.891 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 8.822e-05/0.3517, allocations: 29.69 kB / 1.073 GB, free: 4.855 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.365e-05/0.3517, allocations: 126.7 kB / 1.073 GB, free: 4.719 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001024/0.3518, allocations: 105.9 kB / 1.073 GB, free: 4.605 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.986e-05/0.3519, allocations: 25.7 kB / 1.074 GB, free: 4.574 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.174e-05/0.3519, allocations: 100 kB / 1.074 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.853e-06/0.3519, allocations: 0 / 1.074 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.854e-05/0.352, allocations: 13.72 kB / 1.074 GB, free: 4.453 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.3521, allocations: 314.8 kB / 1.074 GB, free: 4.137 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.312e-05/0.3521, allocations: 7.984 kB / 1.074 GB, free: 4.129 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.814e-05/0.3522, allocations: 22.58 kB / 1.074 GB, free: 4.098 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.877e-05/0.3522, allocations: 30.52 kB / 1.074 GB, free: 4.059 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.3522, allocations: 3.938 kB / 1.074 GB, free: 4.055 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001523/0.3524, allocations: 57.72 kB / 1.074 GB, free: 3.992 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.3524, allocations: 4 kB / 1.074 GB, free: 3.988 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.3524, allocations: 4.094 kB / 1.074 GB, free: 3.984 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.3525, allocations: 8 kB / 1.074 GB, free: 3.977 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.312e-05/0.3525, allocations: 7.984 kB / 1.074 GB, free: 3.969 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.3526, allocations: 3.938 kB / 1.074 GB, free: 3.965 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001635/0.3527, allocations: 4 kB / 1.074 GB, free: 3.961 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.48e-05/0.3527, allocations: 4 kB / 1.074 GB, free: 3.957 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000118/0.3529, allocations: 193.1 kB / 1.074 GB, free: 3.758 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.843e-05/0.3529, allocations: 108.9 kB / 1.074 GB, free: 3.645 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.036e-05/0.353, allocations: 111.9 kB / 1.074 GB, free: 3.527 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.374e-05/0.3531, allocations: 180.3 kB / 1.075 GB, free: 3.344 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-05/0.3532, allocations: 180.2 kB / 1.075 GB, free: 3.16 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.117e-05/0.3533, allocations: 180.2 kB / 1.075 GB, free: 2.977 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000282/0.3536, allocations: 409.1 kB / 1.075 GB, free: 2.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.778e-05/0.3536, allocations: 105 kB / 1.075 GB, free: 2.41 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.758e-05/0.3537, allocations: 105 kB / 1.076 GB, free: 2.301 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.694e-05/0.3538, allocations: 192.4 kB / 1.076 GB, free: 2.105 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001001/0.3539, allocations: 176.3 kB / 1.076 GB, free: 1.926 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.744e-05/0.3539, allocations: 180.2 kB / 1.076 GB, free: 1.742 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.289e-05/0.354, allocations: 176.3 kB / 1.076 GB, free: 1.562 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001501/0.3542, allocations: 323.9 kB / 1.077 GB, free: 1.223 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.996e-05/0.3543, allocations: 182.1 kB / 1.077 GB, free: 1.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.954e-05/0.3544, allocations: 180.2 kB / 1.077 GB, free: 0.8359 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.435e-05/0.3545, allocations: 105 kB / 1.077 GB, free: 0.7266 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.563e-05/0.3545, allocations: 180.3 kB / 1.077 GB, free: 0.543 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.498e-05/0.3546, allocations: 108.9 kB / 1.077 GB, free: 440 kB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.324e-05/0.3546, allocations: 83.28 kB / 1.077 GB, free: 356 kB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3546, allocations: 0 / 1.077 GB, free: 356 kB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003613/0.355, allocations: 55.92 kB / 1.077 GB, free: 300 kB / 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 (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.000633/0.3556, allocations: 348.5 kB / 1.078 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 8.748e-05/0.3557, allocations: 15.94 kB / 1.078 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3558, allocations: 0 / 1.078 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 4.519e-06/0.3558, allocations: 7.984 kB / 1.078 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003746/0.3561, allocations: 0.5205 MB / 1.078 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000262/0.3564, allocations: 175.2 kB / 1.078 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002652/0.3567, allocations: 0.6809 MB / 1.079 GB, free: 14.53 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 2.626e-05/0.3567, allocations: 0 / 1.079 GB, free: 14.53 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.95e-05/0.3567, allocations: 11.44 kB / 1.079 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of SimCode: time 5.41e-07/0.3567, allocations: 0 / 1.079 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of Templates: time 0.004376/0.3611, allocations: 1.594 MB / 1.081 GB, free: 12.94 MB / 0.8419 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