Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.427/2.427, allocations: 390.3 MB / 402.8 MB, free: 6.723 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.001884/0.001884, allocations: 180.9 kB / 496.1 MB, free: 12.91 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.679/1.679, allocations: 221.3 MB / 0.7915 GB, free: 5.402 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001429/0.001429, allocations: 95.95 kB / 0.9317 GB, free: 5.707 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.544e-05/4.546e-05, allocations: 4 kB / 1.079 GB, free: 140.6 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2719/0.272, allocations: 143 MB / 1.219 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9496/1.222, allocations: 152.4 MB / 1.368 GB, free: 1.633 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002488/1.222, allocations: 80.58 kB / 1.368 GB, free: 1.59 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01629/1.238, allocations: 5.801 MB / 1.373 GB, free: 12.93 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.452e-06/1.238, allocations: 0 / 1.373 GB, free: 12.93 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.153e-05/1.238, allocations: 0 / 1.373 GB, free: 12.93 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.0004066/1.239, allocations: 366 kB / 1.374 GB, free: 12.54 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/1.239, allocations: 16.03 kB / 1.374 GB, free: 12.52 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.221e-05/1.239, allocations: 78.22 kB / 1.374 GB, free: 12.45 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001967/1.239, allocations: 242.3 kB / 1.374 GB, free: 12.17 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.604e-05/1.239, allocations: 154.6 kB / 1.374 GB, free: 12.02 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.47e-05/1.239, allocations: 157.4 kB / 1.374 GB, free: 11.86 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.466e-05/1.239, allocations: 101 kB / 1.374 GB, free: 11.76 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.389e-05/1.239, allocations: 79.28 kB / 1.374 GB, free: 11.68 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.212e-05/1.239, allocations: 154.5 kB / 1.375 GB, free: 11.53 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.273e-05/1.239, allocations: 150.6 kB / 1.375 GB, free: 11.38 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.197e-05/1.239, allocations: 150.6 kB / 1.375 GB, free: 11.23 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003237/1.24, allocations: 459.8 kB / 1.375 GB, free: 10.74 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.715e-05/1.24, allocations: 173.1 kB / 1.376 GB, free: 10.56 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.639e-05/1.24, allocations: 80.14 kB / 1.376 GB, free: 10.48 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.084e-05/1.24, allocations: 82.66 kB / 1.376 GB, free: 10.4 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.266e-05/1.24, allocations: 105.8 kB / 1.376 GB, free: 10.29 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.233e-06/1.24, allocations: 0 / 1.376 GB, free: 10.29 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 8.277e-05/1.24, allocations: 38.22 kB / 1.376 GB, free: 10.24 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.648e-05/1.24, allocations: 130.7 kB / 1.376 GB, free: 10.1 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.389e-05/1.24, allocations: 92.25 kB / 1.376 GB, free: 10.01 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.011e-05/1.24, allocations: 29.7 kB / 1.376 GB, free: 9.973 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.295e-05/1.24, allocations: 87.45 kB / 1.376 GB, free: 9.887 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.845e-06/1.24, allocations: 0 / 1.376 GB, free: 9.887 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.485e-06/1.24, allocations: 0 / 1.376 GB, free: 9.887 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001213/1.241, allocations: 318.8 kB / 1.376 GB, free: 9.566 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.681e-05/1.241, allocations: 8 kB / 1.376 GB, free: 9.559 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.184e-05/1.241, allocations: 29.58 kB / 1.376 GB, free: 9.523 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.055e-05/1.241, allocations: 0 / 1.376 GB, free: 9.523 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/1.241, allocations: 4 kB / 1.376 GB, free: 9.52 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001323/1.241, allocations: 48.88 kB / 1.377 GB, free: 9.469 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/1.241, allocations: 4.094 kB / 1.377 GB, free: 9.465 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/1.241, allocations: 4 kB / 1.377 GB, free: 9.461 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/1.241, allocations: 4 kB / 1.377 GB, free: 9.457 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.581e-05/1.241, allocations: 4 kB / 1.377 GB, free: 9.453 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/1.241, allocations: 0 / 1.377 GB, free: 9.453 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.527e-05/1.241, allocations: 7.984 kB / 1.377 GB, free: 9.445 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.229e-05/1.241, allocations: 3.375 kB / 1.377 GB, free: 9.445 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 0.0001003/1.241, allocations: 184.9 kB / 1.377 GB, free: 9.258 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.932e-05/1.241, allocations: 108.9 kB / 1.377 GB, free: 9.145 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.227e-05/1.241, allocations: 119.9 kB / 1.377 GB, free: 9.023 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.327e-05/1.241, allocations: 187.9 kB / 1.377 GB, free: 8.836 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.19e-05/1.241, allocations: 176.4 kB / 1.377 GB, free: 8.656 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.199e-05/1.242, allocations: 184.2 kB / 1.377 GB, free: 8.469 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002353/1.242, allocations: 411.9 kB / 1.378 GB, free: 8.012 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-05/1.242, allocations: 105 kB / 1.378 GB, free: 7.902 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.451e-05/1.242, allocations: 108.9 kB / 1.378 GB, free: 7.789 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.57e-05/1.242, allocations: 176.3 kB / 1.378 GB, free: 7.609 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-05/1.242, allocations: 183.7 kB / 1.378 GB, free: 7.426 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.438e-05/1.242, allocations: 180.2 kB / 1.379 GB, free: 7.242 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.742e-05/1.242, allocations: 184.2 kB / 1.379 GB, free: 7.055 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001579/1.242, allocations: 311.3 kB / 1.379 GB, free: 6.73 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001106/1.242, allocations: 186 kB / 1.379 GB, free: 6.523 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.316e-05/1.243, allocations: 180.2 kB / 1.379 GB, free: 6.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.441e-05/1.243, allocations: 101.9 kB / 1.38 GB, free: 6.234 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.404e-05/1.243, allocations: 188.2 kB / 1.38 GB, free: 6.043 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.91e-05/1.243, allocations: 108.5 kB / 1.38 GB, free: 5.934 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.775e-05/1.243, allocations: 83.27 kB / 1.38 GB, free: 5.852 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.243, allocations: 3.938 kB / 1.38 GB, free: 5.848 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004089/1.243, allocations: 63.28 kB / 1.38 GB, free: 5.789 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.0006772/1.244, allocations: 350 kB / 1.38 GB, free: 5.477 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.962e-05/1.244, allocations: 11.98 kB / 1.38 GB, free: 5.465 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/1.244, allocations: 0 / 1.38 GB, free: 5.465 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.034e-06/1.244, allocations: 0 / 1.38 GB, free: 5.465 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003395/1.244, allocations: 0.5265 MB / 1.381 GB, free: 4.938 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000211/1.245, allocations: 128.5 kB / 1.381 GB, free: 4.789 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003207/1.245, allocations: 0.677 MB / 1.382 GB, free: 4.086 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.569e-05/1.245, allocations: 3.938 kB / 1.382 GB, free: 4.082 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.787e-05/1.245, allocations: 11.44 kB / 1.382 GB, free: 4.07 MB / 0.8386 GB Notification: Performance of SimCode: time 3.11e-07/1.245, allocations: 0 / 1.382 GB, free: 4.07 MB / 0.8386 GB Notification: Performance of Templates: time 0.004002/1.249, allocations: 1.492 MB / 1.383 GB, free: 2.605 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.csv","../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches