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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.00168/0.00168, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002098/0.002098, allocations: 194.3 kB / 16.14 MB, free: 6.652 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.378/1.378, allocations: 222.9 MB / 239.8 MB, free: 4.496 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.633/2.633, allocations: 437 MB / 0.7099 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 63.89 kB / 0.8685 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7758/0.7772, allocations: 151.6 MB / 1.017 GB, free: 2.953 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002661/0.7799, allocations: 1.334 MB / 1.018 GB, free: 1.609 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002237/0.7821, allocations: 1.436 MB / 1.019 GB, free: 168 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.087e-05/0.7822, allocations: 4 kB / 1.019 GB, free: 164 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.746e-05/0.7822, allocations: 0 / 1.019 GB, free: 164 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001765/0.7824, allocations: 0 / 1.019 GB, free: 164 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006337/0.7831, allocations: 194.9 kB / 1.02 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.266e-05/0.7831, allocations: 27.86 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.787e-05/0.7832, allocations: 0 / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.747e-05/0.7832, allocations: 19.98 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001098/0.7834, allocations: 15.92 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.379e-05/0.7834, allocations: 0 / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002827/0.7837, allocations: 147.8 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.525e-05/0.7837, allocations: 4 kB / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.57e-05/0.7837, allocations: 11.92 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002751/0.784, allocations: 151.7 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.784, allocations: 0 / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of FrontEnd: time 9.22e-07/0.784, allocations: 0 / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.765e-06/0.784, allocations: 0 / 1.02 GB, free: 15.6 MB / 0.7794 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.0003687/0.7844, allocations: 367.9 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.7845, allocations: 12.03 kB / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.975e-05/0.7845, allocations: 76.22 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001798/0.7847, allocations: 243.7 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.586e-05/0.7848, allocations: 154.9 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.44e-05/0.7849, allocations: 154.7 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.975e-05/0.7849, allocations: 109 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.374e-05/0.785, allocations: 75.28 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.004e-05/0.785, allocations: 154.5 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.039e-05/0.7851, allocations: 158.5 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.35e-05/0.7851, allocations: 154.5 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003314/0.7855, allocations: 461.8 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.662e-05/0.7856, allocations: 165.1 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.179e-05/0.7856, allocations: 88.08 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.582e-05/0.7856, allocations: 75.28 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.392e-05/0.7857, allocations: 117.8 kB / 1.022 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 8.61e-07/0.7857, allocations: 0 / 1.022 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 9.015e-05/0.7858, allocations: 25.7 kB / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.413e-05/0.7859, allocations: 130.7 kB / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000116/0.786, allocations: 101.9 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.517e-05/0.786, allocations: 29.7 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.83e-05/0.786, allocations: 80.14 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.454e-06/0.7861, allocations: 0 / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.168e-05/0.7861, allocations: 25.7 kB / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.7862, allocations: 318.8 kB / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.442e-05/0.7862, allocations: 4 kB / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.778e-05/0.7863, allocations: 30.5 kB / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.363e-05/0.7864, allocations: 22.58 kB / 1.023 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.7864, allocations: 4 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001211/0.7865, allocations: 57.56 kB / 1.023 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.7865, allocations: 7.938 kB / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/0.7865, allocations: 0 / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.708e-06/0.7865, allocations: 0 / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.042e-05/0.7866, allocations: 11.94 kB / 1.023 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.7866, allocations: 0 / 1.023 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001548/0.7868, allocations: 7.984 kB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-06/0.7868, allocations: 4.094 kB / 1.023 GB, free: 12 MB / 0.7794 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 9.499e-05/0.7869, allocations: 185.7 kB / 1.023 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.545e-05/0.787, allocations: 112.8 kB / 1.023 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.442e-05/0.787, allocations: 116 kB / 1.024 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.008e-05/0.7871, allocations: 176.3 kB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.692e-05/0.7871, allocations: 176.3 kB / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.322e-05/0.7872, allocations: 188.2 kB / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002056/0.7874, allocations: 405.2 kB / 1.024 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.12e-05/0.7875, allocations: 104.9 kB / 1.025 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.078e-05/0.7875, allocations: 109.2 kB / 1.025 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.823e-05/0.7876, allocations: 180.2 kB / 1.025 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.478e-05/0.7876, allocations: 188.2 kB / 1.025 GB, free: 9.969 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.025e-05/0.7877, allocations: 180.3 kB / 1.025 GB, free: 9.785 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.163e-05/0.7878, allocations: 184.2 kB / 1.025 GB, free: 9.598 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000127/0.7879, allocations: 307.7 kB / 1.026 GB, free: 9.273 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.162e-05/0.788, allocations: 186.2 kB / 1.026 GB, free: 9.066 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.012e-05/0.788, allocations: 184.2 kB / 1.026 GB, free: 8.879 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.721e-05/0.7881, allocations: 104.9 kB / 1.026 GB, free: 8.77 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.904e-05/0.7882, allocations: 180.6 kB / 1.026 GB, free: 8.586 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-05/0.7882, allocations: 108.9 kB / 1.026 GB, free: 8.473 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.294e-05/0.7883, allocations: 83.28 kB / 1.026 GB, free: 8.391 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7883, allocations: 0 / 1.026 GB, free: 8.391 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003266/0.7886, allocations: 59.98 kB / 1.026 GB, free: 8.332 MB / 0.7794 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.0005622/0.7892, allocations: 346.7 kB / 1.027 GB, free: 8.023 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.254e-05/0.7893, allocations: 8 kB / 1.027 GB, free: 8.016 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.7893, allocations: 0 / 1.027 GB, free: 8.016 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.697e-06/0.7893, allocations: 4 kB / 1.027 GB, free: 8.012 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003857/0.7897, allocations: 0.5309 MB / 1.027 GB, free: 7.477 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002321/0.7899, allocations: 175.1 kB / 1.028 GB, free: 7.277 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002442/0.7902, allocations: 0.677 MB / 1.028 GB, free: 6.574 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.299e-05/0.7902, allocations: 0 / 1.028 GB, free: 6.574 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.603e-05/0.7902, allocations: 7.438 kB / 1.028 GB, free: 6.566 MB / 0.7794 GB Notification: Performance of SimCode: time 2.51e-07/0.7902, allocations: 4 kB / 1.028 GB, free: 6.562 MB / 0.7794 GB Notification: Performance of Templates: time 0.004144/0.7944, allocations: 1.592 MB / 1.03 GB, free: 4.984 MB / 0.7794 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 -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/jenkins/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