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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.304/2.304, allocations: 387.4 MB / 394.9 MB, free: 13.39 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001439/0.001439, allocations: 188 kB / 487.4 MB, free: 5.055 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.857/1.857, allocations: 221.5 MB / 0.7824 GB, free: 0.9531 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009897/0.0009896, allocations: 103.7 kB / 0.9219 GB, free: 2.18 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.989e-05/1.992e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2902/0.2903, allocations: 142.4 MB / 1.206 GB, free: 43.97 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8817/1.172, allocations: 150.9 MB / 1.353 GB, free: 18.28 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002387/1.172, allocations: 85.39 kB / 1.353 GB, free: 18.28 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01625/1.189, allocations: 5.674 MB / 1.359 GB, free: 33.71 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.423e-06/1.189, allocations: 0 / 1.359 GB, free: 33.71 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.262e-05/1.189, allocations: 3.844 kB / 1.359 GB, free: 33.71 MB / 0.8386 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.0004035/1.189, allocations: 359.8 kB / 1.359 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/1.189, allocations: 11.56 kB / 1.359 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.234e-05/1.189, allocations: 75.28 kB / 1.359 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000126/1.189, allocations: 247.4 kB / 1.36 GB, free: 32.99 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.136e-05/1.189, allocations: 150.6 kB / 1.36 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.98e-05/1.189, allocations: 157.8 kB / 1.36 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.652e-05/1.19, allocations: 150.6 kB / 1.36 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.82e-05/1.19, allocations: 104.8 kB / 1.36 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.968e-05/1.19, allocations: 81.16 kB / 1.36 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.717e-05/1.19, allocations: 150.6 kB / 1.36 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.728e-05/1.19, allocations: 150.6 kB / 1.361 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002528/1.19, allocations: 437.9 kB / 1.361 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.817e-05/1.19, allocations: 175.8 kB / 1.361 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.221e-05/1.19, allocations: 80.14 kB / 1.361 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.73e-05/1.19, allocations: 75.28 kB / 1.361 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.685e-05/1.19, allocations: 111.1 kB / 1.361 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/1.19, allocations: 0 / 1.361 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 6.645e-05/1.19, allocations: 29.61 kB / 1.361 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.871e-05/1.19, allocations: 52.72 kB / 1.361 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.042e-05/1.19, allocations: 105.5 kB / 1.362 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.017e-05/1.19, allocations: 25.7 kB / 1.362 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.131e-05/1.191, allocations: 88.36 kB / 1.362 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.734e-06/1.191, allocations: 0 / 1.362 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.325e-06/1.191, allocations: 0 / 1.362 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001044/1.191, allocations: 314.8 kB / 1.362 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.358e-06/1.191, allocations: 0 / 1.362 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.395e-05/1.191, allocations: 28.78 kB / 1.362 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001668/1.191, allocations: 17.34 kB / 1.362 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/1.191, allocations: 0 / 1.362 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001692/1.191, allocations: 68.22 kB / 1.362 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/1.191, allocations: 3.844 kB / 1.362 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/1.191, allocations: 3.938 kB / 1.362 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/1.191, allocations: 7.781 kB / 1.362 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.378e-05/1.191, allocations: 5.109 kB / 1.362 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/1.191, allocations: 4 kB / 1.362 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.615e-05/1.191, allocations: 5.438 kB / 1.362 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.818e-06/1.191, allocations: 0 / 1.362 GB, free: 30.45 MB / 0.8386 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 () * 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 9.153e-05/1.191, allocations: 185.5 kB / 1.362 GB, free: 30.27 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.108e-05/1.191, allocations: 114.1 kB / 1.362 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.46e-05/1.192, allocations: 110.1 kB / 1.363 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.31e-05/1.192, allocations: 184.3 kB / 1.363 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-05/1.192, allocations: 185.6 kB / 1.363 GB, free: 29.67 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.665e-05/1.192, allocations: 180.2 kB / 1.363 GB, free: 29.48 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001667/1.192, allocations: 384.2 kB / 1.363 GB, free: 29.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.723e-05/1.192, allocations: 104.9 kB / 1.363 GB, free: 28.96 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.69e-05/1.192, allocations: 102.3 kB / 1.364 GB, free: 28.86 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.163e-05/1.192, allocations: 184.1 kB / 1.364 GB, free: 28.68 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.357e-05/1.192, allocations: 181.4 kB / 1.364 GB, free: 28.49 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.991e-05/1.192, allocations: 185.4 kB / 1.364 GB, free: 28.31 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.469e-05/1.192, allocations: 176.3 kB / 1.364 GB, free: 28.13 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000111/1.192, allocations: 304.9 kB / 1.365 GB, free: 27.81 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.31e-05/1.192, allocations: 180.9 kB / 1.365 GB, free: 27.61 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.411e-05/1.192, allocations: 186.9 kB / 1.365 GB, free: 27.43 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.4e-05/1.193, allocations: 102.2 kB / 1.365 GB, free: 27.32 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.413e-05/1.193, allocations: 181.2 kB / 1.365 GB, free: 27.14 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-05/1.193, allocations: 106.3 kB / 1.365 GB, free: 27.03 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.679e-05/1.193, allocations: 86.81 kB / 1.365 GB, free: 26.95 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.6e-07/1.193, allocations: 3.844 kB / 1.365 GB, free: 26.95 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003787/1.193, allocations: 62.73 kB / 1.365 GB, free: 26.93 MB / 0.8386 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 () * 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.0005217/1.194, allocations: 348 kB / 1.366 GB, free: 26.72 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.815e-05/1.194, allocations: 17.12 kB / 1.366 GB, free: 26.71 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/1.194, allocations: 0 / 1.366 GB, free: 26.71 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.867e-06/1.194, allocations: 0 / 1.366 GB, free: 26.71 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003021/1.194, allocations: 0.5302 MB / 1.366 GB, free: 26.18 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001517/1.194, allocations: 120.7 kB / 1.366 GB, free: 26.05 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002327/1.194, allocations: 0.681 MB / 1.367 GB, free: 25.35 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.28e-05/1.194, allocations: 3.844 kB / 1.367 GB, free: 25.35 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.073e-05/1.194, allocations: 7.438 kB / 1.367 GB, free: 25.34 MB / 0.8386 GB Notification: Performance of SimCode: time 2.7e-07/1.194, allocations: 0 / 1.367 GB, free: 25.34 MB / 0.8386 GB Notification: Performance of Templates: time 0.003386/1.198, allocations: 1.472 MB / 1.369 GB, free: 25.15 MB / 0.8386 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","../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches