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.001176/0.001176, allocations: 119.2 kB / 16.37 MB, free: 6.016 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.001188/0.001188, allocations: 193 kB / 17.31 MB, free: 5.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.325/1.325, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.455/2.455, allocations: 442.6 MB / 0.7165 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 64.75 kB / 0.8773 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2891/0.2904, allocations: 153 MB / 1.027 GB, free: 2.094 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002421/0.2928, allocations: 1.279 MB / 1.028 GB, free: 0.8047 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001904/0.2948, allocations: 1.442 MB / 1.029 GB, free: 15.36 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.522e-05/0.2948, allocations: 0 / 1.029 GB, free: 15.36 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.393e-05/0.2948, allocations: 0 / 1.029 GB, free: 15.36 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001747/0.295, allocations: 19.92 kB / 1.029 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000568/0.2956, allocations: 209.4 kB / 1.03 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.749e-05/0.2957, allocations: 35.86 kB / 1.03 GB, free: 15.1 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.37e-05/0.2957, allocations: 0 / 1.03 GB, free: 15.1 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.339e-05/0.2958, allocations: 19.91 kB / 1.03 GB, free: 15.08 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001042/0.2959, allocations: 12 kB / 1.03 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.249e-05/0.2959, allocations: 4 kB / 1.03 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002587/0.2962, allocations: 163.8 kB / 1.03 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.581e-05/0.2962, allocations: 11.94 kB / 1.03 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.953e-05/0.2963, allocations: 11.97 kB / 1.03 GB, free: 14.88 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002292/0.2965, allocations: 143.8 kB / 1.03 GB, free: 14.74 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.2965, allocations: 4 kB / 1.03 GB, free: 14.74 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.272e-06/0.2965, allocations: 4 kB / 1.03 GB, free: 14.73 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.2965, allocations: 0 / 1.03 GB, free: 14.73 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.0003232/0.2968, allocations: 363.4 kB / 1.03 GB, free: 14.33 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.036e-05/0.2969, allocations: 12.03 kB / 1.03 GB, free: 14.32 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.605e-05/0.2969, allocations: 76.22 kB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001466/0.2971, allocations: 247.6 kB / 1.031 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.087e-05/0.2972, allocations: 158.9 kB / 1.031 GB, free: 13.81 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.759e-05/0.2972, allocations: 162.7 kB / 1.031 GB, free: 13.65 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.984e-05/0.2973, allocations: 101 kB / 1.031 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.397e-05/0.2973, allocations: 79.22 kB / 1.031 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.129e-05/0.2974, allocations: 154.5 kB / 1.031 GB, free: 13.31 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.788e-05/0.2974, allocations: 150.6 kB / 1.031 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.428e-05/0.2975, allocations: 154.6 kB / 1.032 GB, free: 13.01 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002801/0.2978, allocations: 453.9 kB / 1.032 GB, free: 12.52 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.5e-05/0.2978, allocations: 173.1 kB / 1.032 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.941e-05/0.2979, allocations: 88.08 kB / 1.032 GB, free: 12.25 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.42e-05/0.2979, allocations: 75.28 kB / 1.032 GB, free: 12.18 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.419e-05/0.298, allocations: 109.8 kB / 1.032 GB, free: 12.06 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.298, allocations: 0 / 1.032 GB, free: 12.06 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 7.536e-05/0.2981, allocations: 37.64 kB / 1.032 GB, free: 12.02 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.045e-05/0.2981, allocations: 126.7 kB / 1.033 GB, free: 11.88 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.969e-05/0.2982, allocations: 105.8 kB / 1.033 GB, free: 11.77 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.529e-05/0.2983, allocations: 25.7 kB / 1.033 GB, free: 11.73 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.935e-05/0.2983, allocations: 80.14 kB / 1.033 GB, free: 11.65 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.434e-06/0.2983, allocations: 4 kB / 1.033 GB, free: 11.65 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.761e-05/0.2984, allocations: 25.7 kB / 1.033 GB, free: 11.62 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000101/0.2985, allocations: 310.8 kB / 1.033 GB, free: 11.3 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.086e-05/0.2985, allocations: 4.188 kB / 1.033 GB, free: 11.3 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.759e-05/0.2985, allocations: 30.56 kB / 1.033 GB, free: 11.26 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.638e-05/0.2986, allocations: 34.52 kB / 1.033 GB, free: 11.22 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.2986, allocations: 0 / 1.033 GB, free: 11.22 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001143/0.2987, allocations: 53.56 kB / 1.033 GB, free: 11.16 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.055e-05/0.2987, allocations: 4 kB / 1.033 GB, free: 11.16 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.2987, allocations: 0 / 1.033 GB, free: 11.16 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.2988, allocations: 4 kB / 1.033 GB, free: 11.15 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.592e-05/0.2988, allocations: 4 kB / 1.033 GB, free: 11.15 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.2988, allocations: 0 / 1.033 GB, free: 11.15 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001456/0.299, allocations: 19.98 kB / 1.033 GB, free: 11.13 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.299, allocations: 4 kB / 1.033 GB, free: 11.12 MB / 0.8106 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 9.066e-05/0.2991, allocations: 181.1 kB / 1.033 GB, free: 10.94 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.925e-05/0.2992, allocations: 112.9 kB / 1.034 GB, free: 10.82 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.547e-05/0.2992, allocations: 112.1 kB / 1.034 GB, free: 10.7 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.677e-05/0.2993, allocations: 180.2 kB / 1.034 GB, free: 10.52 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.575e-05/0.2993, allocations: 184.3 kB / 1.034 GB, free: 10.33 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.178e-05/0.2994, allocations: 176.3 kB / 1.034 GB, free: 10.15 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002241/0.2996, allocations: 409.1 kB / 1.035 GB, free: 9.691 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.761e-05/0.2997, allocations: 105 kB / 1.035 GB, free: 9.582 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.178e-05/0.2997, allocations: 108.9 kB / 1.035 GB, free: 9.469 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.938e-05/0.2998, allocations: 184.2 kB / 1.035 GB, free: 9.281 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.142e-05/0.2999, allocations: 176.3 kB / 1.035 GB, free: 9.102 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.682e-05/0.2999, allocations: 184.2 kB / 1.035 GB, free: 8.914 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.953e-05/0.3, allocations: 184.2 kB / 1.035 GB, free: 8.727 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001256/0.3001, allocations: 311.7 kB / 1.036 GB, free: 8.398 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 7.173e-05/0.3002, allocations: 178.1 kB / 1.036 GB, free: 8.199 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.075e-05/0.3003, allocations: 188.2 kB / 1.036 GB, free: 8.008 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.677e-05/0.3004, allocations: 101 kB / 1.036 GB, free: 7.902 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.044e-05/0.3004, allocations: 184.2 kB / 1.036 GB, free: 7.715 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.846e-05/0.3005, allocations: 101 kB / 1.036 GB, free: 7.609 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.348e-05/0.3005, allocations: 87.28 kB / 1.037 GB, free: 7.523 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3005, allocations: 0 / 1.037 GB, free: 7.523 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003112/0.3008, allocations: 55.86 kB / 1.037 GB, free: 7.469 MB / 0.8106 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.0005182/0.3014, allocations: 344.2 kB / 1.037 GB, free: 7.164 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 7.779e-05/0.3015, allocations: 11.94 kB / 1.037 GB, free: 7.152 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3015, allocations: 0 / 1.037 GB, free: 7.152 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.303e-06/0.3015, allocations: 192 / 1.037 GB, free: 7.152 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000348/0.3018, allocations: 467.6 kB / 1.037 GB, free: 6.691 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002204/0.302, allocations: 173.4 kB / 1.038 GB, free: 6.496 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002415/0.3023, allocations: 0.6805 MB / 1.038 GB, free: 5.789 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.517e-05/0.3023, allocations: 4 kB / 1.038 GB, free: 5.785 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.196e-05/0.3023, allocations: 11.44 kB / 1.038 GB, free: 5.773 MB / 0.8106 GB Notification: Performance of SimCode: time 2.51e-07/0.3024, allocations: 0 / 1.038 GB, free: 5.773 MB / 0.8106 GB Notification: Performance of Templates: time 0.003949/0.3063, allocations: 1.606 MB / 1.04 GB, free: 4.184 MB / 0.8106 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 -s gbode -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/jenkins1/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