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.339/2.339, allocations: 390.5 MB / 398 MB, free: 10.94 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.002036/0.002036, allocations: 184.8 kB / 491.2 MB, free: 1.582 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.807/1.807, allocations: 221.5 MB / 0.7868 GB, free: 13.34 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.001015/0.001015, allocations: 105.8 kB / 0.9269 GB, free: 13.84 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.126e-05/2.128e-05, allocations: 4 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2763/0.2763, allocations: 143 MB / 1.212 GB, free: 39.55 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8799/1.156, allocations: 151.7 MB / 1.361 GB, free: 17.47 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002229/1.157, allocations: 86.62 kB / 1.361 GB, free: 17.47 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01546/1.172, allocations: 5.66 MB / 1.366 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.254e-06/1.172, allocations: 0 / 1.366 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.094e-05/1.172, allocations: 3.562 kB / 1.366 GB, free: 32.91 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.0004195/1.172, allocations: 371.4 kB / 1.366 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/1.173, allocations: 7.656 kB / 1.366 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.987e-05/1.173, allocations: 79.16 kB / 1.367 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001453/1.173, allocations: 241.2 kB / 1.367 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.25e-05/1.173, allocations: 154.6 kB / 1.367 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.457e-05/1.173, allocations: 155 kB / 1.367 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.188e-05/1.173, allocations: 158.5 kB / 1.367 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.811e-05/1.173, allocations: 101 kB / 1.367 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.419e-05/1.173, allocations: 78.78 kB / 1.367 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.075e-05/1.173, allocations: 150.6 kB / 1.368 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.892e-05/1.173, allocations: 150.6 kB / 1.368 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002616/1.173, allocations: 447.9 kB / 1.368 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.397e-05/1.173, allocations: 169 kB / 1.368 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.683e-05/1.174, allocations: 84.08 kB / 1.368 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.377e-05/1.174, allocations: 75.28 kB / 1.368 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.51e-05/1.174, allocations: 109.8 kB / 1.369 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 9.81e-07/1.174, allocations: 0 / 1.369 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 8.072e-05/1.174, allocations: 36.73 kB / 1.369 GB, free: 30.31 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.976e-05/1.174, allocations: 51.41 kB / 1.369 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.709e-05/1.174, allocations: 94.22 kB / 1.369 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.142e-05/1.174, allocations: 25.7 kB / 1.369 GB, free: 30.12 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.065e-05/1.174, allocations: 83.95 kB / 1.369 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.535e-06/1.174, allocations: 3.938 kB / 1.369 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.808e-06/1.174, allocations: 0 / 1.369 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001488/1.174, allocations: 321.2 kB / 1.369 GB, free: 29.72 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.071e-05/1.174, allocations: 3.719 kB / 1.369 GB, free: 29.72 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.819e-05/1.174, allocations: 22.36 kB / 1.369 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001972/1.174, allocations: 22.81 kB / 1.369 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/1.174, allocations: 0 / 1.369 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001981/1.175, allocations: 68.47 kB / 1.369 GB, free: 29.65 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/1.175, allocations: 7.688 kB / 1.369 GB, free: 29.65 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/1.175, allocations: 0 / 1.369 GB, free: 29.65 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/1.175, allocations: 0 / 1.369 GB, free: 29.65 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.219e-05/1.175, allocations: 6.438 kB / 1.369 GB, free: 29.65 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/1.175, allocations: 3.812 kB / 1.369 GB, free: 29.65 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.391e-05/1.175, allocations: 0 / 1.369 GB, free: 29.65 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.164e-05/1.175, allocations: 3.875 kB / 1.369 GB, free: 29.65 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.0001108/1.175, allocations: 182.4 kB / 1.369 GB, free: 29.47 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.617e-05/1.175, allocations: 108.9 kB / 1.37 GB, free: 29.36 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.476e-05/1.175, allocations: 115.4 kB / 1.37 GB, free: 29.24 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.271e-05/1.175, allocations: 176.4 kB / 1.37 GB, free: 29.06 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.069e-05/1.175, allocations: 187.8 kB / 1.37 GB, free: 28.88 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.755e-05/1.175, allocations: 184.2 kB / 1.37 GB, free: 28.69 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001963/1.175, allocations: 380.8 kB / 1.371 GB, free: 28.28 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.977e-05/1.176, allocations: 104.9 kB / 1.371 GB, free: 28.17 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.942e-05/1.176, allocations: 107.8 kB / 1.371 GB, free: 28.06 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.162e-05/1.176, allocations: 179.5 kB / 1.371 GB, free: 27.88 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.457e-05/1.176, allocations: 180.2 kB / 1.371 GB, free: 27.7 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.048e-05/1.176, allocations: 184 kB / 1.371 GB, free: 27.52 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.745e-05/1.176, allocations: 187.6 kB / 1.371 GB, free: 27.33 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001328/1.176, allocations: 307 kB / 1.372 GB, free: 27.01 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.419e-05/1.176, allocations: 180.8 kB / 1.372 GB, free: 26.81 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.235e-05/1.176, allocations: 180.3 kB / 1.372 GB, free: 26.63 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.245e-05/1.176, allocations: 120.6 kB / 1.372 GB, free: 26.51 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.87e-05/1.176, allocations: 180.2 kB / 1.372 GB, free: 26.33 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.76e-05/1.176, allocations: 101 kB / 1.372 GB, free: 26.22 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.794e-05/1.176, allocations: 82.38 kB / 1.373 GB, free: 26.15 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5.61e-07/1.176, allocations: 3.938 kB / 1.373 GB, free: 26.14 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003748/1.177, allocations: 67.7 kB / 1.373 GB, free: 26.12 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.0005827/1.177, allocations: 346 kB / 1.373 GB, free: 25.91 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.259e-05/1.177, allocations: 7.188 kB / 1.373 GB, free: 25.91 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/1.177, allocations: 0 / 1.373 GB, free: 25.91 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.655e-06/1.177, allocations: 3.938 kB / 1.373 GB, free: 25.91 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000349/1.178, allocations: 0.5264 MB / 1.373 GB, free: 25.38 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001985/1.178, allocations: 127 kB / 1.374 GB, free: 25.24 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002365/1.178, allocations: 0.6756 MB / 1.374 GB, free: 24.55 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.431e-05/1.178, allocations: 0 / 1.374 GB, free: 24.55 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.358e-05/1.178, allocations: 11.28 kB / 1.374 GB, free: 24.54 MB / 0.8386 GB Notification: Performance of SimCode: time 2.4e-07/1.178, allocations: 0 / 1.374 GB, free: 24.54 MB / 0.8386 GB Notification: Performance of Templates: time 0.003614/1.182, allocations: 1.473 MB / 1.376 GB, free: 24.34 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