Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001183/0.001183, allocations: 102 kB / 16.35 MB, free: 5.875 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.00121/0.00121, allocations: 196 kB / 17.3 MB, free: 5.516 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.329/1.329, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.517/2.517, allocations: 437.1 MB / 0.7112 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 72.06 kB / 0.8707 GB, free: 1.422 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3171/0.3184, allocations: 151.6 MB / 1.019 GB, free: 9.844 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002321/0.3208, allocations: 1.276 MB / 1.02 GB, free: 8.555 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002246/0.323, allocations: 1.446 MB / 1.021 GB, free: 7.102 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.291e-05/0.3231, allocations: 0 / 1.021 GB, free: 7.102 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.072e-05/0.3231, allocations: 3.984 kB / 1.021 GB, free: 7.098 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0002308/0.3234, allocations: 7.938 kB / 1.021 GB, free: 7.09 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007421/0.3241, allocations: 212.3 kB / 1.022 GB, free: 6.887 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 8.837e-05/0.3242, allocations: 27.91 kB / 1.022 GB, free: 6.859 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 5.234e-05/0.3243, allocations: 7.938 kB / 1.022 GB, free: 6.852 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001106/0.3244, allocations: 23.86 kB / 1.022 GB, free: 6.828 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001226/0.3245, allocations: 11.98 kB / 1.022 GB, free: 6.816 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.555e-05/0.3245, allocations: 0 / 1.022 GB, free: 6.816 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000325/0.3249, allocations: 167.8 kB / 1.022 GB, free: 6.652 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.736e-05/0.3249, allocations: 7.984 kB / 1.022 GB, free: 6.645 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.35e-05/0.3249, allocations: 15.92 kB / 1.022 GB, free: 6.629 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002903/0.3252, allocations: 143.8 kB / 1.022 GB, free: 6.488 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/0.3253, allocations: 0 / 1.022 GB, free: 6.488 MB / 0.795 GB Notification: Performance of FrontEnd: time 3.437e-06/0.3253, allocations: 0 / 1.022 GB, free: 6.488 MB / 0.795 GB Notification: Performance of Transformations before backend: time 8.336e-06/0.3253, allocations: 0 / 1.022 GB, free: 6.488 MB / 0.795 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.0004693/0.3258, allocations: 367.5 kB / 1.022 GB, free: 6.082 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.793e-05/0.3258, allocations: 8.922 kB / 1.022 GB, free: 6.074 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.843e-05/0.3259, allocations: 80.22 kB / 1.022 GB, free: 5.996 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002295/0.3262, allocations: 243.6 kB / 1.023 GB, free: 5.719 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001024/0.3263, allocations: 158.9 kB / 1.023 GB, free: 5.562 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.226e-05/0.3264, allocations: 158.6 kB / 1.023 GB, free: 5.406 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.067e-05/0.3265, allocations: 109 kB / 1.023 GB, free: 5.293 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.81e-05/0.3265, allocations: 79.28 kB / 1.023 GB, free: 5.215 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.473e-05/0.3266, allocations: 150.6 kB / 1.023 GB, free: 5.066 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.083e-05/0.3267, allocations: 158.5 kB / 1.023 GB, free: 4.91 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.527e-05/0.3267, allocations: 150.6 kB / 1.024 GB, free: 4.762 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000375/0.3271, allocations: 453.9 kB / 1.024 GB, free: 4.27 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001002/0.3272, allocations: 165.1 kB / 1.024 GB, free: 4.098 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.62e-05/0.3273, allocations: 100.1 kB / 1.024 GB, free: 3.996 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 4.481e-05/0.3273, allocations: 75.28 kB / 1.024 GB, free: 3.922 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.407e-05/0.3274, allocations: 109.8 kB / 1.024 GB, free: 3.805 MB / 0.795 GB Notification: Performance of pre-optimization done (n=0): time 1.112e-06/0.3274, allocations: 0 / 1.024 GB, free: 3.805 MB / 0.795 GB Notification: Performance of matching and sorting (n=0): time 8.658e-05/0.3275, allocations: 29.64 kB / 1.025 GB, free: 3.77 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.926e-05/0.3276, allocations: 126.7 kB / 1.025 GB, free: 3.633 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.3277, allocations: 109.8 kB / 1.025 GB, free: 3.516 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.452e-05/0.3277, allocations: 25.7 kB / 1.025 GB, free: 3.484 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.778e-05/0.3278, allocations: 88.14 kB / 1.025 GB, free: 3.395 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.485e-06/0.3278, allocations: 0 / 1.025 GB, free: 3.395 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.806e-05/0.3278, allocations: 17.7 kB / 1.025 GB, free: 3.371 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001273/0.3279, allocations: 318.8 kB / 1.025 GB, free: 3.051 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.427e-05/0.328, allocations: 0 / 1.025 GB, free: 3.051 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.522e-05/0.328, allocations: 30.56 kB / 1.025 GB, free: 3.012 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.55e-05/0.3281, allocations: 26.52 kB / 1.025 GB, free: 2.977 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.3281, allocations: 0 / 1.025 GB, free: 2.977 MB / 0.795 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000129/0.3282, allocations: 57.5 kB / 1.025 GB, free: 2.914 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.3282, allocations: 8 kB / 1.025 GB, free: 2.906 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.3282, allocations: 96 / 1.025 GB, free: 2.906 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.3283, allocations: 4 kB / 1.025 GB, free: 2.902 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.028e-05/0.3283, allocations: 4 kB / 1.025 GB, free: 2.898 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.3284, allocations: 4 kB / 1.025 GB, free: 2.895 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001459/0.3285, allocations: 11.89 kB / 1.025 GB, free: 2.883 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/0.3285, allocations: 0 / 1.025 GB, free: 2.883 MB / 0.795 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.00012/0.3286, allocations: 189.1 kB / 1.025 GB, free: 2.688 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.535e-05/0.3287, allocations: 108.9 kB / 1.026 GB, free: 2.574 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.801e-05/0.3288, allocations: 116.1 kB / 1.026 GB, free: 2.453 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.938e-05/0.3289, allocations: 184.1 kB / 1.026 GB, free: 2.266 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.265e-05/0.3289, allocations: 176.3 kB / 1.026 GB, free: 2.086 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.195e-05/0.329, allocations: 180.3 kB / 1.026 GB, free: 1.902 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002392/0.3292, allocations: 409.1 kB / 1.027 GB, free: 1.445 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.699e-05/0.3293, allocations: 105 kB / 1.027 GB, free: 1.336 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.105e-05/0.3293, allocations: 112.9 kB / 1.027 GB, free: 1.219 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.136e-05/0.3294, allocations: 184.2 kB / 1.027 GB, free: 1.031 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.419e-05/0.3295, allocations: 176.3 kB / 1.027 GB, free: 0.8516 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.842e-05/0.3296, allocations: 180.2 kB / 1.027 GB, free: 0.668 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.082e-05/0.3297, allocations: 180.3 kB / 1.028 GB, free: 496 kB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000143/0.3298, allocations: 311.7 kB / 1.028 GB, free: 160 kB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 9.1e-05/0.3299, allocations: 186 kB / 1.028 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.859e-05/0.33, allocations: 176.5 kB / 1.028 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.818e-05/0.3301, allocations: 105 kB / 1.028 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.579e-05/0.3302, allocations: 188.2 kB / 1.028 GB, free: 15.47 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.314e-05/0.3302, allocations: 109 kB / 1.029 GB, free: 15.36 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.922e-05/0.3303, allocations: 79.28 kB / 1.029 GB, free: 15.28 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3303, allocations: 0 / 1.029 GB, free: 15.28 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003261/0.3306, allocations: 55.92 kB / 1.029 GB, free: 15.22 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.000604/0.3312, allocations: 345.7 kB / 1.029 GB, free: 14.92 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 9.191e-05/0.3313, allocations: 19.94 kB / 1.029 GB, free: 14.9 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.3313, allocations: 0 / 1.029 GB, free: 14.9 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.243e-06/0.3313, allocations: 0 / 1.029 GB, free: 14.9 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003614/0.3317, allocations: 459.6 kB / 1.029 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002729/0.332, allocations: 181.6 kB / 1.03 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002488/0.3323, allocations: 0.6807 MB / 1.03 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.416e-05/0.3323, allocations: 0 / 1.03 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.624e-05/0.3323, allocations: 11.44 kB / 1.03 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of SimCode: time 2.1e-07/0.3323, allocations: 0 / 1.03 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of Templates: time 0.004194/0.3365, allocations: 1.602 MB / 1.032 GB, free: 11.94 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & ./Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches