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.001626/0.001626, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001586/0.001586, allocations: 194.1 kB / 16.53 MB, free: 6.391 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.372/1.372, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.729/2.729, allocations: 472.7 MB / 0.7452 GB, free: 4.625 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 67.08 kB / 0.9121 GB, free: 33.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3747/0.376, allocations: 159.9 MB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002967/0.379, allocations: 1.27 MB / 1.069 GB, free: 9.094 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002544/0.3816, allocations: 1.431 MB / 1.071 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.585e-05/0.3816, allocations: 4 kB / 1.071 GB, free: 7.652 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.939e-05/0.3817, allocations: 0 / 1.071 GB, free: 7.652 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002266/0.3819, allocations: 15.94 kB / 1.071 GB, free: 7.637 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007714/0.3827, allocations: 218.5 kB / 1.071 GB, free: 7.426 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.723e-05/0.3828, allocations: 27.92 kB / 1.071 GB, free: 7.398 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.116e-05/0.3829, allocations: 3.984 kB / 1.071 GB, free: 7.395 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.148e-05/0.383, allocations: 15.88 kB / 1.071 GB, free: 7.379 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001402/0.3831, allocations: 19.97 kB / 1.071 GB, free: 7.359 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.553e-05/0.3831, allocations: 0 / 1.071 GB, free: 7.359 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003523/0.3835, allocations: 143.8 kB / 1.071 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.755e-05/0.3835, allocations: 7.984 kB / 1.071 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.827e-05/0.3835, allocations: 11.92 kB / 1.071 GB, free: 7.199 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003199/0.3839, allocations: 147.7 kB / 1.071 GB, free: 7.055 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.3839, allocations: 4 kB / 1.071 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.754e-06/0.3839, allocations: 0 / 1.071 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.077e-06/0.3839, allocations: 0 / 1.071 GB, free: 7.051 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.0004321/0.3843, allocations: 367.8 kB / 1.072 GB, free: 6.645 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.3844, allocations: 8.031 kB / 1.072 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.603e-05/0.3845, allocations: 80.12 kB / 1.072 GB, free: 6.559 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001627/0.3847, allocations: 239.7 kB / 1.072 GB, free: 6.285 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.304e-05/0.3847, allocations: 174.8 kB / 1.072 GB, free: 6.113 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.404e-05/0.3848, allocations: 162.7 kB / 1.072 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.603e-05/0.3849, allocations: 101 kB / 1.073 GB, free: 5.848 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.985e-05/0.3849, allocations: 75.28 kB / 1.073 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.337e-05/0.385, allocations: 150.6 kB / 1.073 GB, free: 5.625 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.299e-05/0.385, allocations: 150.6 kB / 1.073 GB, free: 5.477 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.586e-05/0.3851, allocations: 158.6 kB / 1.073 GB, free: 5.32 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003263/0.3854, allocations: 457.9 kB / 1.073 GB, free: 4.824 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.32e-05/0.3855, allocations: 165.1 kB / 1.074 GB, free: 4.652 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.122e-05/0.3856, allocations: 88.08 kB / 1.074 GB, free: 4.562 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.731e-05/0.3856, allocations: 79.28 kB / 1.074 GB, free: 4.484 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.442e-05/0.3857, allocations: 105.8 kB / 1.074 GB, free: 4.371 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 1.222e-06/0.3857, allocations: 0 / 1.074 GB, free: 4.371 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 9.268e-05/0.3858, allocations: 37.62 kB / 1.074 GB, free: 4.328 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.533e-05/0.3858, allocations: 126.7 kB / 1.074 GB, free: 4.191 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001138/0.386, allocations: 101.9 kB / 1.074 GB, free: 4.082 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.055e-05/0.386, allocations: 33.7 kB / 1.074 GB, free: 4.043 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.197e-05/0.386, allocations: 84.12 kB / 1.074 GB, free: 3.957 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.225e-06/0.386, allocations: 0 / 1.074 GB, free: 3.957 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.383e-05/0.3861, allocations: 21.72 kB / 1.074 GB, free: 3.93 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.3862, allocations: 310.8 kB / 1.075 GB, free: 3.617 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.205e-05/0.3862, allocations: 7.984 kB / 1.075 GB, free: 3.609 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.949e-05/0.3863, allocations: 22.58 kB / 1.075 GB, free: 3.578 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.951e-05/0.3864, allocations: 30.52 kB / 1.075 GB, free: 3.539 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.3864, allocations: 0 / 1.075 GB, free: 3.539 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001412/0.3865, allocations: 57.47 kB / 1.075 GB, free: 3.477 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.3865, allocations: 4 kB / 1.075 GB, free: 3.473 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.3865, allocations: 4 kB / 1.075 GB, free: 3.469 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.3866, allocations: 0 / 1.075 GB, free: 3.469 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.932e-05/0.3866, allocations: 12.08 kB / 1.075 GB, free: 3.457 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.3866, allocations: 0 / 1.075 GB, free: 3.457 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001516/0.3868, allocations: 4 kB / 1.075 GB, free: 3.453 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.651e-05/0.3868, allocations: 8 kB / 1.075 GB, free: 3.445 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.0001109/0.3869, allocations: 190.9 kB / 1.075 GB, free: 3.25 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.83e-05/0.387, allocations: 112.8 kB / 1.075 GB, free: 3.133 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.996e-05/0.3871, allocations: 111.8 kB / 1.075 GB, free: 3.016 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.615e-05/0.3872, allocations: 188.2 kB / 1.075 GB, free: 2.824 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.694e-05/0.3873, allocations: 180.4 kB / 1.075 GB, free: 2.641 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-05/0.3873, allocations: 184.2 kB / 1.076 GB, free: 2.453 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002387/0.3876, allocations: 409.1 kB / 1.076 GB, free: 1.996 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.236e-05/0.3876, allocations: 101 kB / 1.076 GB, free: 1.891 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.041e-05/0.3877, allocations: 112.9 kB / 1.076 GB, free: 1.773 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.912e-05/0.3877, allocations: 180.3 kB / 1.076 GB, free: 1.59 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.301e-05/0.3878, allocations: 180.5 kB / 1.077 GB, free: 1.406 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.414e-05/0.3879, allocations: 184.2 kB / 1.077 GB, free: 1.219 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.706e-05/0.388, allocations: 176.3 kB / 1.077 GB, free: 1.039 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001578/0.3881, allocations: 315.7 kB / 1.077 GB, free: 0.707 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.474e-05/0.3882, allocations: 182 kB / 1.077 GB, free: 0.5039 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.313e-05/0.3883, allocations: 180.3 kB / 1.078 GB, free: 328 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.114e-05/0.3884, allocations: 109 kB / 1.078 GB, free: 212 kB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.647e-05/0.3885, allocations: 180.2 kB / 1.078 GB, free: 24 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.117e-05/0.3885, allocations: 105 kB / 1.078 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.199e-05/0.3886, allocations: 83.28 kB / 1.078 GB, free: 15.83 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3886, allocations: 0 / 1.078 GB, free: 15.83 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003492/0.3889, allocations: 51.92 kB / 1.078 GB, free: 15.78 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.0006613/0.3896, allocations: 342.7 kB / 1.078 GB, free: 15.47 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 9.239e-05/0.3897, allocations: 11.92 kB / 1.078 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.3897, allocations: 4.188 kB / 1.078 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.553e-06/0.3897, allocations: 0 / 1.078 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003928/0.3901, allocations: 464.6 kB / 1.079 GB, free: 15 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003008/0.3904, allocations: 169.2 kB / 1.079 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002747/0.3907, allocations: 0.6845 MB / 1.08 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 2.801e-05/0.3908, allocations: 3.938 kB / 1.08 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.934e-05/0.3908, allocations: 7.438 kB / 1.08 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of SimCode: time 4e-07/0.3908, allocations: 0 / 1.08 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of Templates: time 0.004789/0.3956, allocations: 1.618 MB / 1.081 GB, free: 12.49 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