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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001272/0.001272, allocations: 86.64 kB / 15.06 MB, free: 1.09 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.001773/0.001773, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.535/1.535, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.56/2.56, allocations: 390.9 MB / 0.666 GB, free: 2.465 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004631/0.0004633, allocations: 12 kB / 0.8154 GB, free: 13.65 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8385/0.839, allocations: 142.4 MB / 0.9544 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.001121/0.8402, allocations: 0.9954 MB / 0.9554 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00166/0.8419, allocations: 1.345 MB / 0.9567 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.065e-05/0.8419, allocations: 5.438 kB / 0.9567 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 8.717e-06/0.8419, allocations: 0 / 0.9567 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001165/0.842, allocations: 6.656 kB / 0.9567 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004431/0.8425, allocations: 187 kB / 0.9569 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.955e-05/0.8426, allocations: 24.81 kB / 0.9569 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 2.963e-05/0.8426, allocations: 1.031 kB / 0.9569 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.672e-05/0.8427, allocations: 16 kB / 0.957 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.642e-05/0.8427, allocations: 13.28 kB / 0.957 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.668e-06/0.8428, allocations: 1.031 kB / 0.957 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000188/0.8429, allocations: 132.2 kB / 0.9571 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.256e-05/0.843, allocations: 13.75 kB / 0.9571 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.78e-05/0.843, allocations: 33.23 kB / 0.9571 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001346/0.8431, allocations: 101.5 kB / 0.9572 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.8431, allocations: 1.344 kB / 0.9572 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.983e-06/0.8432, allocations: 0 / 0.9572 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.396e-06/0.8432, allocations: 0 / 0.9572 GB, free: 5.613 MB / 0.7169 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.0002413/0.8434, allocations: 366.4 kB / 0.9576 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.232e-05/0.8434, allocations: 8.969 kB / 0.9576 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.87e-05/0.8435, allocations: 81.45 kB / 0.9577 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.806e-05/0.8436, allocations: 240.2 kB / 0.9579 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.61e-05/0.8436, allocations: 155.4 kB / 0.958 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.208e-05/0.8437, allocations: 153.8 kB / 0.9582 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.35e-05/0.8437, allocations: 105 kB / 0.9583 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.8437, allocations: 76.62 kB / 0.9584 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.24e-05/0.8437, allocations: 154.5 kB / 0.9585 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.345e-05/0.8438, allocations: 150.6 kB / 0.9587 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.071e-05/0.8438, allocations: 159.5 kB / 0.9588 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001787/0.844, allocations: 454.3 kB / 0.9592 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.398e-05/0.844, allocations: 166.2 kB / 0.9594 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.433e-05/0.8441, allocations: 84.14 kB / 0.9595 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.364e-05/0.8441, allocations: 84.44 kB / 0.9596 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.017e-05/0.8441, allocations: 109.8 kB / 0.9597 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.8441, allocations: 1.781 kB / 0.9597 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 7.918e-05/0.8442, allocations: 26.67 kB / 0.9597 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.59e-05/0.8442, allocations: 127.8 kB / 0.9598 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.753e-05/0.8443, allocations: 111.7 kB / 0.9599 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.067e-06/0.8443, allocations: 30.39 kB / 0.96 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.052e-05/0.8443, allocations: 86.7 kB / 0.96 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.433e-06/0.8443, allocations: 3.938 kB / 0.96 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.673e-06/0.8443, allocations: 0 / 0.96 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.383e-05/0.8444, allocations: 316.2 kB / 0.9603 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.327e-06/0.8444, allocations: 1.031 kB / 0.9603 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.27e-05/0.8444, allocations: 33.25 kB / 0.9604 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.025e-05/0.8445, allocations: 8.156 kB / 0.9604 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.8445, allocations: 0 / 0.9604 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001032/0.8446, allocations: 50.5 kB / 0.9604 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.8446, allocations: 5.062 kB / 0.9604 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.8446, allocations: 1.281 kB / 0.9604 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.968e-06/0.8446, allocations: 1.406 kB / 0.9604 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.198e-05/0.8447, allocations: 4.125 kB / 0.9604 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.8447, allocations: 1.125 kB / 0.9604 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001286/0.8448, allocations: 16.58 kB / 0.9605 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/0.8448, allocations: 2.469 kB / 0.9605 GB, free: 2.172 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.488e-05/0.8449, allocations: 191.7 kB / 0.9606 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.05e-05/0.8449, allocations: 110.3 kB / 0.9607 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.646e-05/0.845, allocations: 113.2 kB / 0.9609 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.502e-05/0.845, allocations: 181.4 kB / 0.961 GB, free: 1.562 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.604e-05/0.845, allocations: 180.3 kB / 0.9612 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.393e-05/0.8451, allocations: 177.2 kB / 0.9614 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001314/0.8452, allocations: 413.1 kB / 0.9618 GB, free: 0.7422 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.948e-05/0.8452, allocations: 101 kB / 0.9619 GB, free: 0.6367 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.77e-05/0.8453, allocations: 106.2 kB / 0.962 GB, free: 0.5273 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.139e-05/0.8453, allocations: 185.4 kB / 0.9621 GB, free: 348 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.246e-05/0.8453, allocations: 181.2 kB / 0.9623 GB, free: 160 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.251e-05/0.8454, allocations: 181.4 kB / 0.9625 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.581e-05/0.8454, allocations: 177.6 kB / 0.9627 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001228/0.8456, allocations: 314.3 kB / 0.963 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.74e-05/0.8457, allocations: 187.3 kB / 0.9631 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.5e-05/0.8457, allocations: 182.6 kB / 0.9633 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.59e-05/0.8458, allocations: 105 kB / 0.9634 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.103e-05/0.8459, allocations: 181.8 kB / 0.9636 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.552e-05/0.8459, allocations: 110.3 kB / 0.9637 GB, free: 14.67 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.904e-05/0.846, allocations: 83.62 kB / 0.9638 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.846, allocations: 0 / 0.9638 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003193/0.8463, allocations: 51.02 kB / 0.9638 GB, free: 14.57 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005583/0.8469, allocations: 354.2 kB / 0.9642 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 8.133e-05/0.847, allocations: 13.91 kB / 0.9642 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.847, allocations: 0 / 0.9642 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.443e-06/0.847, allocations: 0 / 0.9642 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003989/0.8474, allocations: 0.5272 MB / 0.9647 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002172/0.8476, allocations: 175 kB / 0.9648 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002303/0.8478, allocations: 0.6801 MB / 0.9655 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.494e-05/0.8479, allocations: 5.875 kB / 0.9655 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.177e-05/0.8479, allocations: 9.312 kB / 0.9655 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of SimCode: time 2.11e-07/0.8479, allocations: 0 / 0.9655 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of Templates: time 0.003732/0.8516, allocations: 1.534 MB / 0.967 GB, free: 12.09 MB / 0.7325 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