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.545/2.545, allocations: 393.5 MB / 408.4 MB, free: 11.06 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.001129/0.001129, allocations: 190.3 kB / 0.4902 GB, free: 2.285 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.472/1.472, allocations: 223.1 MB / 0.7992 GB, free: 14.76 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.0009019/0.000902, allocations: 98.97 kB / 0.9396 GB, free: 1.891 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000418/0.0004182, allocations: 10.44 kB / 1.09 GB, free: 216.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2802/0.2806, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1914/0.4721, allocations: 152.5 MB / 1.378 GB, free: 1.059 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004117/0.4726, allocations: 91.94 kB / 1.378 GB, free: 0.9688 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.0188/0.4914, allocations: 5.98 MB / 1.384 GB, free: 10.98 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.146e-06/0.4915, allocations: 0 / 1.384 GB, free: 10.98 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 8.667e-06/0.4915, allocations: 0 / 1.384 GB, free: 10.98 MB / 0.8855 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.0004724/0.492, allocations: 383.3 kB / 1.384 GB, free: 10.56 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.4921, allocations: 8.562 kB / 1.384 GB, free: 10.55 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.692e-05/0.4921, allocations: 79.28 kB / 1.384 GB, free: 10.47 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001582/0.4923, allocations: 242.3 kB / 1.385 GB, free: 10.2 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.935e-05/0.4924, allocations: 150.6 kB / 1.385 GB, free: 10.05 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.02e-05/0.4924, allocations: 154.6 kB / 1.385 GB, free: 9.895 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.709e-05/0.4925, allocations: 109 kB / 1.385 GB, free: 9.781 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.829e-05/0.4925, allocations: 79.27 kB / 1.385 GB, free: 9.703 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.384e-05/0.4926, allocations: 150.6 kB / 1.385 GB, free: 9.555 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.441e-05/0.4927, allocations: 154.5 kB / 1.385 GB, free: 9.402 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.312e-05/0.4927, allocations: 150.6 kB / 1.386 GB, free: 9.254 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002885/0.493, allocations: 469.8 kB / 1.386 GB, free: 8.746 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 7.919e-05/0.4931, allocations: 165.1 kB / 1.386 GB, free: 8.574 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.141e-05/0.4931, allocations: 79.28 kB / 1.386 GB, free: 8.496 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.693e-05/0.4932, allocations: 109.8 kB / 1.386 GB, free: 8.379 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.4932, allocations: 0 / 1.386 GB, free: 8.379 MB / 0.8855 GB Notification: Performance of matching and sorting (n=0): time 8.346e-05/0.4933, allocations: 33.75 kB / 1.386 GB, free: 8.34 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.805e-05/0.4934, allocations: 130.7 kB / 1.387 GB, free: 8.199 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.92e-05/0.4935, allocations: 96.98 kB / 1.387 GB, free: 8.098 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.935e-05/0.4935, allocations: 29.7 kB / 1.387 GB, free: 8.062 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 4.341e-05/0.4935, allocations: 80.14 kB / 1.387 GB, free: 7.98 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.675e-06/0.4936, allocations: 3.938 kB / 1.387 GB, free: 7.977 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.454e-06/0.4936, allocations: 0 / 1.387 GB, free: 7.977 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.4937, allocations: 314.8 kB / 1.387 GB, free: 7.66 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.292e-05/0.4937, allocations: 8 kB / 1.387 GB, free: 7.652 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.774e-05/0.4937, allocations: 22.56 kB / 1.387 GB, free: 7.621 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.828e-05/0.4938, allocations: 15.89 kB / 1.387 GB, free: 7.605 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.4938, allocations: 0 / 1.387 GB, free: 7.605 MB / 0.8855 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001292/0.4939, allocations: 49.62 kB / 1.387 GB, free: 7.551 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.4939, allocations: 8.094 kB / 1.387 GB, free: 7.543 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.902e-06/0.494, allocations: 0 / 1.387 GB, free: 7.543 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.494, allocations: 0 / 1.387 GB, free: 7.543 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.46e-05/0.4941, allocations: 12 kB / 1.387 GB, free: 7.531 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.4941, allocations: 0 / 1.387 GB, free: 7.531 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.176e-05/0.4942, allocations: 7.984 kB / 1.387 GB, free: 7.523 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.4942, allocations: 3.938 kB / 1.387 GB, free: 7.52 MB / 0.8855 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 0.0001125/0.4943, allocations: 189.1 kB / 1.387 GB, free: 7.324 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.25e-05/0.4944, allocations: 112.8 kB / 1.387 GB, free: 7.207 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.798e-05/0.4944, allocations: 119.9 kB / 1.388 GB, free: 7.086 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.853e-05/0.4945, allocations: 176.3 kB / 1.388 GB, free: 6.906 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.785e-05/0.4945, allocations: 180.2 kB / 1.388 GB, free: 6.723 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.398e-05/0.4946, allocations: 176.3 kB / 1.388 GB, free: 6.543 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002357/0.4948, allocations: 409.2 kB / 1.388 GB, free: 6.086 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.855e-05/0.4949, allocations: 108.9 kB / 1.389 GB, free: 5.973 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.998e-05/0.4949, allocations: 101 kB / 1.389 GB, free: 5.867 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.736e-05/0.495, allocations: 184.2 kB / 1.389 GB, free: 5.68 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.065e-05/0.4951, allocations: 180.5 kB / 1.389 GB, free: 5.496 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.369e-05/0.4951, allocations: 180.2 kB / 1.389 GB, free: 5.312 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.151e-05/0.4952, allocations: 188.3 kB / 1.389 GB, free: 5.121 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001177/0.4953, allocations: 299.8 kB / 1.39 GB, free: 4.805 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 7.844e-05/0.4954, allocations: 194 kB / 1.39 GB, free: 4.59 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.082e-05/0.4955, allocations: 184.2 kB / 1.39 GB, free: 4.402 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.022e-05/0.4956, allocations: 101 kB / 1.39 GB, free: 4.297 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.819e-05/0.4956, allocations: 188.5 kB / 1.39 GB, free: 4.105 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.613e-05/0.4957, allocations: 105 kB / 1.39 GB, free: 3.996 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 3.866e-05/0.4957, allocations: 83.28 kB / 1.39 GB, free: 3.914 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.914e-06/0.4957, allocations: 0 / 1.39 GB, free: 3.914 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.00036/0.4961, allocations: 63.91 kB / 1.391 GB, free: 3.852 MB / 0.8855 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.0005965/0.4967, allocations: 360 kB / 1.391 GB, free: 3.531 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 7.618e-05/0.4968, allocations: 15.94 kB / 1.391 GB, free: 3.516 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.4968, allocations: 0 / 1.391 GB, free: 3.516 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 1.263e-06/0.4968, allocations: 0 / 1.391 GB, free: 3.516 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002676/0.4971, allocations: 0.5185 MB / 1.391 GB, free: 2.992 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000247/0.4973, allocations: 182.1 kB / 1.392 GB, free: 2.785 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002362/0.4976, allocations: 0.677 MB / 1.392 GB, free: 2.082 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 2.907e-05/0.4976, allocations: 3.984 kB / 1.392 GB, free: 2.078 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.547e-05/0.4976, allocations: 15.38 kB / 1.392 GB, free: 2.062 MB / 0.8855 GB Notification: Performance of SimCode: time 1.563e-06/0.4976, allocations: 0 / 1.392 GB, free: 2.062 MB / 0.8855 GB Notification: Performance of Templates: time 0.003734/0.5014, allocations: 1.473 MB / 1.394 GB, free: 0.6055 MB / 0.8855 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