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.001624/0.001624, allocations: 112.6 kB / 16.37 MB, free: 6 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.001546/0.001546, allocations: 196 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.405/1.405, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.553/2.553, allocations: 442.6 MB / 0.7165 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001493/0.001494, allocations: 68.73 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3405/0.342, allocations: 153 MB / 1.027 GB, free: 2.059 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.00239/0.3445, allocations: 1.268 MB / 1.028 GB, free: 0.7812 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002045/0.3465, allocations: 1.45 MB / 1.029 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.185e-05/0.3466, allocations: 0 / 1.029 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.983e-05/0.3466, allocations: 7.938 kB / 1.029 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001897/0.3468, allocations: 7.938 kB / 1.029 GB, free: 15.31 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005998/0.3474, allocations: 222.8 kB / 1.03 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.108e-05/0.3475, allocations: 19.88 kB / 1.03 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.345e-05/0.3476, allocations: 3.984 kB / 1.03 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.761e-05/0.3476, allocations: 23.98 kB / 1.03 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001113/0.3478, allocations: 11.98 kB / 1.03 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.182e-05/0.3478, allocations: 0 / 1.03 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002723/0.3481, allocations: 167.8 kB / 1.03 GB, free: 14.87 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.506e-05/0.3481, allocations: 7.938 kB / 1.03 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.6e-05/0.3481, allocations: 11.97 kB / 1.03 GB, free: 14.85 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000252/0.3484, allocations: 151.7 kB / 1.03 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.3484, allocations: 0 / 1.03 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.023e-06/0.3484, allocations: 0 / 1.03 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.439e-06/0.3484, allocations: 0 / 1.03 GB, free: 14.7 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.0003652/0.3488, allocations: 371.4 kB / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.3488, allocations: 8.031 kB / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.611e-05/0.3489, allocations: 80.22 kB / 1.03 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001597/0.3491, allocations: 239.6 kB / 1.031 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.389e-05/0.3491, allocations: 154.9 kB / 1.031 GB, free: 13.78 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.285e-05/0.3492, allocations: 158.7 kB / 1.031 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.401e-05/0.3493, allocations: 109 kB / 1.031 GB, free: 13.51 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.51e-05/0.3493, allocations: 75.28 kB / 1.031 GB, free: 13.44 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.258e-05/0.3494, allocations: 154.5 kB / 1.031 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.67e-05/0.3494, allocations: 154.6 kB / 1.031 GB, free: 13.13 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.878e-05/0.3495, allocations: 150.6 kB / 1.032 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002991/0.3498, allocations: 457.9 kB / 1.032 GB, free: 12.49 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.741e-05/0.3499, allocations: 169.1 kB / 1.032 GB, free: 12.31 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.4e-05/0.3499, allocations: 88.08 kB / 1.032 GB, free: 12.22 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.719e-05/0.3499, allocations: 79.22 kB / 1.032 GB, free: 12.14 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.186e-05/0.35, allocations: 109.8 kB / 1.032 GB, free: 12.03 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 1.273e-06/0.35, allocations: 4 kB / 1.032 GB, free: 12.02 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 7.388e-05/0.3501, allocations: 25.7 kB / 1.032 GB, free: 11.99 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.668e-05/0.3502, allocations: 130.7 kB / 1.033 GB, free: 11.85 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.473e-05/0.3503, allocations: 105.9 kB / 1.033 GB, free: 11.74 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.517e-05/0.3503, allocations: 25.7 kB / 1.033 GB, free: 11.71 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.84e-05/0.3503, allocations: 84.14 kB / 1.033 GB, free: 11.62 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 5.51e-06/0.3503, allocations: 0 / 1.033 GB, free: 11.62 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.603e-05/0.3504, allocations: 25.64 kB / 1.033 GB, free: 11.59 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.3505, allocations: 314.8 kB / 1.033 GB, free: 11.27 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.446e-05/0.3505, allocations: 4 kB / 1.033 GB, free: 11.27 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.455e-05/0.3506, allocations: 30.5 kB / 1.033 GB, free: 11.23 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.893e-05/0.3506, allocations: 22.83 kB / 1.033 GB, free: 11.2 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3506, allocations: 4 kB / 1.033 GB, free: 11.2 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001421/0.3508, allocations: 57.56 kB / 1.033 GB, free: 11.13 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.3508, allocations: 8 kB / 1.033 GB, free: 11.12 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.3508, allocations: 0 / 1.033 GB, free: 11.12 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.3508, allocations: 0 / 1.033 GB, free: 11.12 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.716e-05/0.3509, allocations: 7.938 kB / 1.033 GB, free: 11.12 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.3509, allocations: 3.984 kB / 1.033 GB, free: 11.11 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001474/0.3511, allocations: 7.906 kB / 1.033 GB, free: 11.11 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.332e-05/0.3511, allocations: 12.09 kB / 1.033 GB, free: 11.09 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 0.0001086/0.3512, allocations: 185.1 kB / 1.033 GB, free: 10.9 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.064e-05/0.3513, allocations: 108.9 kB / 1.034 GB, free: 10.79 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.978e-05/0.3513, allocations: 108.2 kB / 1.034 GB, free: 10.67 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.168e-05/0.3514, allocations: 188.2 kB / 1.034 GB, free: 10.48 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.32e-05/0.3515, allocations: 180.2 kB / 1.034 GB, free: 10.3 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-05/0.3515, allocations: 180.3 kB / 1.034 GB, free: 10.11 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002444/0.3518, allocations: 409.2 kB / 1.035 GB, free: 9.656 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.804e-05/0.3518, allocations: 105 kB / 1.035 GB, free: 9.547 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.475e-05/0.3519, allocations: 109 kB / 1.035 GB, free: 9.434 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.333e-05/0.352, allocations: 184.2 kB / 1.035 GB, free: 9.246 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.631e-05/0.352, allocations: 180.3 kB / 1.035 GB, free: 9.062 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.573e-05/0.3521, allocations: 176.3 kB / 1.035 GB, free: 8.883 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.216e-05/0.3522, allocations: 180.2 kB / 1.035 GB, free: 8.699 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000142/0.3523, allocations: 311.7 kB / 1.036 GB, free: 8.371 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 7.84e-05/0.3524, allocations: 182.1 kB / 1.036 GB, free: 8.168 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.781e-05/0.3525, allocations: 184.3 kB / 1.036 GB, free: 7.98 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.706e-05/0.3526, allocations: 104.9 kB / 1.036 GB, free: 7.871 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.708e-05/0.3527, allocations: 184.2 kB / 1.036 GB, free: 7.684 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.575e-05/0.3527, allocations: 108.9 kB / 1.036 GB, free: 7.57 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.076e-05/0.3527, allocations: 79.28 kB / 1.037 GB, free: 7.492 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3528, allocations: 0 / 1.037 GB, free: 7.492 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003078/0.3531, allocations: 59.86 kB / 1.037 GB, free: 7.434 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.0005707/0.3536, allocations: 342.5 kB / 1.037 GB, free: 7.129 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 8.109e-05/0.3537, allocations: 4 kB / 1.037 GB, free: 7.125 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.3537, allocations: 4 kB / 1.037 GB, free: 7.121 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.496e-06/0.3538, allocations: 3.938 kB / 1.037 GB, free: 7.117 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003519/0.3541, allocations: 471.7 kB / 1.037 GB, free: 6.652 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002637/0.3544, allocations: 165.5 kB / 1.038 GB, free: 6.465 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003283/0.3547, allocations: 0.6806 MB / 1.038 GB, free: 5.758 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.392e-05/0.3548, allocations: 0 / 1.038 GB, free: 5.758 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.677e-05/0.3548, allocations: 11.44 kB / 1.038 GB, free: 5.746 MB / 0.8106 GB Notification: Performance of SimCode: time 2.274e-06/0.3548, allocations: 0 / 1.038 GB, free: 5.746 MB / 0.8106 GB Notification: Performance of Templates: time 0.004244/0.359, allocations: 1.617 MB / 1.04 GB, free: 4.148 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 cvode -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