Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.008088/0.008088, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001768/0.001768, allocations: 196.1 kB / 16.67 MB, free: 5.977 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.462/1.462, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.511/2.511, allocations: 390.2 MB / 0.6648 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 63.22 kB / 0.9508 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3031/0.3043, allocations: 140.4 MB / 1.088 GB, free: 1.496 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.003212/0.3075, allocations: 1.254 MB / 1.089 GB, free: 236 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002533/0.3101, allocations: 1.442 MB / 1.091 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.07e-05/0.3102, allocations: 0 / 1.091 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.219e-05/0.3103, allocations: 0 / 1.091 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000267/0.3105, allocations: 15.91 kB / 1.091 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008961/0.3114, allocations: 227.5 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001007/0.3116, allocations: 19.92 kB / 1.091 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.846e-05/0.3116, allocations: 4 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001151/0.3117, allocations: 27.84 kB / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001272/0.3119, allocations: 8 kB / 1.091 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.348e-05/0.3119, allocations: 0 / 1.091 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000362/0.3123, allocations: 171.8 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.625e-05/0.3123, allocations: 4 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.37e-05/0.3123, allocations: 7.938 kB / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003938/0.3127, allocations: 155.7 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.3128, allocations: 0 / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.733e-06/0.3128, allocations: 0 / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.3128, allocations: 0 / 1.091 GB, free: 14.16 MB / 0.8575 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.000447/0.3132, allocations: 371.4 kB / 1.092 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.3133, allocations: 8.031 kB / 1.092 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.827e-05/0.3134, allocations: 80.22 kB / 1.092 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001933/0.3136, allocations: 239.6 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.359e-05/0.3136, allocations: 154.9 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.684e-05/0.3137, allocations: 162.6 kB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.328e-05/0.3138, allocations: 105 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.927e-05/0.3138, allocations: 75.28 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.191e-05/0.3139, allocations: 150.6 kB / 1.092 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.258e-05/0.314, allocations: 154.6 kB / 1.093 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.438e-05/0.314, allocations: 150.6 kB / 1.093 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003417/0.3144, allocations: 461.9 kB / 1.093 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000106/0.3145, allocations: 177.1 kB / 1.093 GB, free: 11.76 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.118e-05/0.3145, allocations: 84.08 kB / 1.093 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.904e-05/0.3146, allocations: 75.28 kB / 1.094 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.417e-05/0.3146, allocations: 113.8 kB / 1.094 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.222e-06/0.3146, allocations: 4 kB / 1.094 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 0.0001021/0.3148, allocations: 29.64 kB / 1.094 GB, free: 11.44 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.98e-05/0.3148, allocations: 130.7 kB / 1.094 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001117/0.3149, allocations: 105.8 kB / 1.094 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.315, allocations: 25.7 kB / 1.094 GB, free: 11.15 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.036e-05/0.315, allocations: 84.14 kB / 1.094 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.364e-06/0.315, allocations: 0 / 1.094 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.272e-05/0.3151, allocations: 21.7 kB / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.3152, allocations: 314.8 kB / 1.094 GB, free: 10.72 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.748e-05/0.3152, allocations: 4 kB / 1.094 GB, free: 10.72 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.74e-05/0.3153, allocations: 26.56 kB / 1.094 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.803e-05/0.3153, allocations: 30.52 kB / 1.094 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.3154, allocations: 4 kB / 1.094 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001298/0.3155, allocations: 49.56 kB / 1.094 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.3155, allocations: 4 kB / 1.094 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.3155, allocations: 4 kB / 1.094 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.3155, allocations: 3.938 kB / 1.094 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.91e-05/0.3156, allocations: 4 kB / 1.094 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.3156, allocations: 0 / 1.094 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000154/0.3158, allocations: 19.83 kB / 1.094 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.187e-05/0.3158, allocations: 8.344 kB / 1.094 GB, free: 10.54 MB / 0.8575 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.0001126/0.3159, allocations: 185.1 kB / 1.095 GB, free: 10.35 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.007e-05/0.316, allocations: 108.9 kB / 1.095 GB, free: 10.24 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.47e-05/0.3161, allocations: 112.1 kB / 1.095 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.604e-05/0.3161, allocations: 184.2 kB / 1.095 GB, free: 9.934 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.795e-05/0.3162, allocations: 180.3 kB / 1.095 GB, free: 9.75 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.348e-05/0.3163, allocations: 180.3 kB / 1.095 GB, free: 9.566 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002449/0.3165, allocations: 413.1 kB / 1.096 GB, free: 9.105 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.031e-05/0.3166, allocations: 101 kB / 1.096 GB, free: 9 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.434e-05/0.3166, allocations: 105.1 kB / 1.096 GB, free: 8.891 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.574e-05/0.3167, allocations: 180.3 kB / 1.096 GB, free: 8.707 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.557e-05/0.3168, allocations: 188.2 kB / 1.096 GB, free: 8.516 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.731e-05/0.3168, allocations: 180.2 kB / 1.096 GB, free: 8.332 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.001e-05/0.3169, allocations: 184.3 kB / 1.097 GB, free: 8.145 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001402/0.3171, allocations: 303.7 kB / 1.097 GB, free: 7.824 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 8.495e-05/0.3171, allocations: 186.1 kB / 1.097 GB, free: 7.617 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.006e-05/0.3172, allocations: 188.2 kB / 1.097 GB, free: 7.426 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.269e-05/0.3173, allocations: 101 kB / 1.097 GB, free: 7.32 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.272e-05/0.3174, allocations: 180.2 kB / 1.098 GB, free: 7.137 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.57e-05/0.3174, allocations: 105 kB / 1.098 GB, free: 7.027 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.83e-05/0.3175, allocations: 87.27 kB / 1.098 GB, free: 6.941 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3175, allocations: 3.938 kB / 1.098 GB, free: 6.938 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003272/0.3178, allocations: 47.98 kB / 1.098 GB, free: 6.891 MB / 0.8575 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.000705/0.3185, allocations: 352.3 kB / 1.098 GB, free: 6.578 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001144/0.3187, allocations: 7.938 kB / 1.098 GB, free: 6.57 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3187, allocations: 4 kB / 1.098 GB, free: 6.566 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 2.384e-06/0.3187, allocations: 0 / 1.098 GB, free: 6.566 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000425/0.3191, allocations: 463.8 kB / 1.099 GB, free: 6.109 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003852/0.3195, allocations: 169.4 kB / 1.099 GB, free: 5.918 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003126/0.3198, allocations: 0.6729 MB / 1.099 GB, free: 5.219 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.335e-05/0.3199, allocations: 7.922 kB / 1.099 GB, free: 5.211 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.998e-05/0.3199, allocations: 11.44 kB / 1.099 GB, free: 5.199 MB / 0.8575 GB Notification: Performance of SimCode: time 2.9e-07/0.3199, allocations: 0 / 1.099 GB, free: 5.199 MB / 0.8575 GB Notification: Performance of Templates: time 0.004432/0.3243, allocations: 1.606 MB / 1.101 GB, free: 3.605 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches