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.001572/0.001572, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001756/0.001756, allocations: 193.5 kB / 16.25 MB, free: 6.629 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.479/1.479, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.993/2.993, allocations: 482.4 MB / 0.7543 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001937/0.001937, allocations: 71.27 kB / 0.9233 GB, free: 29.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.366/0.368, allocations: 162.2 MB / 1.082 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002654/0.3707, allocations: 1.332 MB / 1.083 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002325/0.373, allocations: 1.413 MB / 1.084 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.383e-05/0.3731, allocations: 0 / 1.084 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.133e-05/0.3731, allocations: 3.984 kB / 1.084 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0002054/0.3734, allocations: 11.98 kB / 1.084 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006255/0.374, allocations: 201.3 kB / 1.085 GB, free: 10.67 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 6.31e-05/0.3741, allocations: 23.94 kB / 1.085 GB, free: 10.65 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.731e-05/0.3741, allocations: 3.984 kB / 1.085 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 9.475e-05/0.3742, allocations: 19.94 kB / 1.085 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001128/0.3743, allocations: 9.875 kB / 1.085 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.174e-05/0.3744, allocations: 0 / 1.085 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002789/0.3746, allocations: 151.8 kB / 1.085 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.209e-05/0.3747, allocations: 3.984 kB / 1.085 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.478e-05/0.3747, allocations: 11.92 kB / 1.085 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002532/0.3749, allocations: 151.7 kB / 1.085 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.375, allocations: 0 / 1.085 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.863e-06/0.375, allocations: 4 kB / 1.085 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 9.198e-06/0.375, allocations: 0 / 1.085 GB, free: 10.3 MB / 0.8419 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.0004246/0.3754, allocations: 371.7 kB / 1.085 GB, free: 9.891 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.3755, allocations: 11.97 kB / 1.085 GB, free: 9.879 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.292e-05/0.3755, allocations: 80.22 kB / 1.085 GB, free: 9.801 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002019/0.3757, allocations: 239.6 kB / 1.086 GB, free: 9.527 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.228e-05/0.3758, allocations: 154.9 kB / 1.086 GB, free: 9.375 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.035e-05/0.3759, allocations: 158.7 kB / 1.086 GB, free: 9.219 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.895e-05/0.376, allocations: 109 kB / 1.086 GB, free: 9.105 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.682e-05/0.376, allocations: 75.28 kB / 1.086 GB, free: 9.031 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.671e-05/0.3761, allocations: 158.6 kB / 1.086 GB, free: 8.875 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.719e-05/0.3762, allocations: 154.5 kB / 1.086 GB, free: 8.723 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.019e-05/0.3762, allocations: 150.6 kB / 1.087 GB, free: 8.574 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000337/0.3766, allocations: 457.9 kB / 1.087 GB, free: 8.078 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 9.101e-05/0.3767, allocations: 165.1 kB / 1.087 GB, free: 7.906 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.208e-05/0.3767, allocations: 84.08 kB / 1.087 GB, free: 7.82 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.431e-05/0.3768, allocations: 79.28 kB / 1.087 GB, free: 7.742 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.845e-05/0.3768, allocations: 117.8 kB / 1.087 GB, free: 7.617 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.3768, allocations: 0 / 1.087 GB, free: 7.617 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0): time 8.466e-05/0.3769, allocations: 25.7 kB / 1.087 GB, free: 7.586 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.837e-05/0.377, allocations: 126.7 kB / 1.088 GB, free: 7.449 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001161/0.3771, allocations: 105.8 kB / 1.088 GB, free: 7.336 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.3771, allocations: 25.7 kB / 1.088 GB, free: 7.305 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.383e-05/0.3772, allocations: 92.05 kB / 1.088 GB, free: 7.211 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.647e-06/0.3772, allocations: 7.984 kB / 1.088 GB, free: 7.203 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-05/0.3773, allocations: 17.7 kB / 1.088 GB, free: 7.18 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.3774, allocations: 314.8 kB / 1.088 GB, free: 6.863 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.165e-05/0.3774, allocations: 4 kB / 1.088 GB, free: 6.859 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.885e-05/0.3775, allocations: 30.5 kB / 1.088 GB, free: 6.82 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.609e-05/0.3775, allocations: 26.58 kB / 1.088 GB, free: 6.785 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.3775, allocations: 0 / 1.088 GB, free: 6.785 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001349/0.3777, allocations: 53.56 kB / 1.088 GB, free: 6.727 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.3777, allocations: 8 kB / 1.088 GB, free: 6.719 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.3777, allocations: 0 / 1.088 GB, free: 6.719 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.3777, allocations: 0 / 1.088 GB, free: 6.719 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.7e-05/0.3778, allocations: 7.938 kB / 1.088 GB, free: 6.711 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.408e-06/0.3778, allocations: 7.984 kB / 1.088 GB, free: 6.703 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001425/0.378, allocations: 8.094 kB / 1.088 GB, free: 6.695 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.427e-06/0.378, allocations: 0 / 1.088 GB, free: 6.695 MB / 0.8419 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.0001197/0.3781, allocations: 189.1 kB / 1.088 GB, free: 6.5 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.546e-05/0.3782, allocations: 112.8 kB / 1.089 GB, free: 6.383 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.548e-05/0.3782, allocations: 115.8 kB / 1.089 GB, free: 6.266 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.788e-05/0.3783, allocations: 176.3 kB / 1.089 GB, free: 6.086 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.685e-05/0.3784, allocations: 180.3 kB / 1.089 GB, free: 5.902 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.957e-05/0.3785, allocations: 180.3 kB / 1.089 GB, free: 5.719 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002555/0.3788, allocations: 413.1 kB / 1.09 GB, free: 5.258 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-05/0.3788, allocations: 104.9 kB / 1.09 GB, free: 5.148 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.385e-05/0.3789, allocations: 109 kB / 1.09 GB, free: 5.035 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.984e-05/0.3789, allocations: 188.3 kB / 1.09 GB, free: 4.844 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.114e-05/0.379, allocations: 184.2 kB / 1.09 GB, free: 4.656 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.939e-05/0.3791, allocations: 176.5 kB / 1.09 GB, free: 4.477 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.598e-05/0.3792, allocations: 180.2 kB / 1.09 GB, free: 4.293 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001782/0.3794, allocations: 319.7 kB / 1.091 GB, free: 3.957 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.928e-05/0.3795, allocations: 186 kB / 1.091 GB, free: 3.75 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.377e-05/0.3796, allocations: 176.5 kB / 1.091 GB, free: 3.57 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.25e-05/0.3796, allocations: 108.9 kB / 1.091 GB, free: 3.457 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.037e-05/0.3797, allocations: 180.2 kB / 1.091 GB, free: 3.273 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.878e-05/0.3798, allocations: 108.9 kB / 1.092 GB, free: 3.16 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.996e-05/0.3798, allocations: 87.28 kB / 1.092 GB, free: 3.074 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1e-07/0.3799, allocations: 0 / 1.092 GB, free: 3.074 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003559/0.3802, allocations: 55.92 kB / 1.092 GB, free: 3.02 MB / 0.8419 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.0006612/0.3809, allocations: 328.1 kB / 1.092 GB, free: 2.723 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 9.374e-05/0.381, allocations: 12 kB / 1.092 GB, free: 2.711 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.381, allocations: 0 / 1.092 GB, free: 2.711 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.453e-06/0.381, allocations: 0 / 1.092 GB, free: 2.711 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003846/0.3814, allocations: 470 kB / 1.092 GB, free: 2.25 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002699/0.3817, allocations: 171.7 kB / 1.093 GB, free: 2.055 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002866/0.382, allocations: 0.6729 MB / 1.093 GB, free: 1.355 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 2.755e-05/0.382, allocations: 7.938 kB / 1.093 GB, free: 1.348 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.4e-05/0.382, allocations: 11.44 kB / 1.093 GB, free: 1.336 MB / 0.8419 GB Notification: Performance of SimCode: time 2.3e-07/0.382, allocations: 0 / 1.093 GB, free: 1.336 MB / 0.8419 GB Notification: Performance of Templates: time 0.004555/0.3866, allocations: 1.612 MB / 1.095 GB, free: 15.74 MB / 0.8575 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=400 -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