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.338/2.338, allocations: 387.1 MB / 399.7 MB, free: 9.477 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.001165/0.001165, allocations: 184.1 kB / 492.3 MB, free: 0.625 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.579/1.579, allocations: 221.3 MB / 0.7872 GB, free: 12.89 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.0009756/0.0009757, allocations: 91.89 kB / 0.9267 GB, free: 13.96 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.389e-05/2.41e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2355/0.2355, allocations: 142.3 MB / 1.212 GB, free: 38.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.832/1.068, allocations: 151.6 MB / 1.36 GB, free: 19.15 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002038/1.068, allocations: 86.89 kB / 1.361 GB, free: 19.15 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01515/1.083, allocations: 5.803 MB / 1.366 GB, free: 34.57 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.754e-06/1.083, allocations: 0 / 1.366 GB, free: 34.57 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.905e-06/1.083, allocations: 0 / 1.366 GB, free: 34.57 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.0003443/1.083, allocations: 366.2 kB / 1.367 GB, free: 34.2 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/1.083, allocations: 7.562 kB / 1.367 GB, free: 34.2 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.02e-05/1.083, allocations: 83.09 kB / 1.367 GB, free: 34.12 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000118/1.084, allocations: 241.3 kB / 1.367 GB, free: 33.85 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.901e-05/1.084, allocations: 154.3 kB / 1.367 GB, free: 33.7 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.002e-05/1.084, allocations: 153.6 kB / 1.367 GB, free: 33.55 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.711e-05/1.084, allocations: 101 kB / 1.367 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.866e-05/1.084, allocations: 79.16 kB / 1.367 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.563e-05/1.084, allocations: 154.6 kB / 1.367 GB, free: 33.22 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.126e-05/1.084, allocations: 150.6 kB / 1.368 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.99e-05/1.084, allocations: 154.5 kB / 1.368 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002397/1.084, allocations: 466.6 kB / 1.368 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.215e-05/1.084, allocations: 169.1 kB / 1.368 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.313e-05/1.084, allocations: 80.14 kB / 1.368 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.027e-05/1.084, allocations: 79.19 kB / 1.369 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.365e-05/1.084, allocations: 113.7 kB / 1.369 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/1.084, allocations: 0 / 1.369 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 6.764e-05/1.084, allocations: 32.61 kB / 1.369 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.163e-05/1.084, allocations: 134.5 kB / 1.369 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.646e-05/1.085, allocations: 92.47 kB / 1.369 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.919e-06/1.085, allocations: 25.7 kB / 1.369 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.498e-05/1.085, allocations: 86.91 kB / 1.369 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.185e-06/1.085, allocations: 0 / 1.369 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.925e-06/1.085, allocations: 2.375 kB / 1.369 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 7.786e-05/1.085, allocations: 310.8 kB / 1.369 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.117e-05/1.085, allocations: 3.875 kB / 1.369 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.783e-05/1.085, allocations: 32.16 kB / 1.369 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.923e-05/1.085, allocations: 8.75 kB / 1.369 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/1.085, allocations: 7.766 kB / 1.369 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001104/1.085, allocations: 47.52 kB / 1.369 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/1.085, allocations: 7.781 kB / 1.369 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/1.085, allocations: 7.938 kB / 1.369 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/1.085, allocations: 0 / 1.369 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.99e-05/1.085, allocations: 7.781 kB / 1.369 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.156e-06/1.085, allocations: 2.812 kB / 1.369 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.347e-05/1.085, allocations: 4.062 kB / 1.369 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/1.085, allocations: 3.906 kB / 1.369 GB, free: 31.21 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 8.07e-05/1.085, allocations: 179.1 kB / 1.37 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.411e-05/1.085, allocations: 123.6 kB / 1.37 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.843e-05/1.085, allocations: 111.9 kB / 1.37 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-05/1.085, allocations: 180.3 kB / 1.37 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.913e-05/1.085, allocations: 187.2 kB / 1.37 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.698e-05/1.085, allocations: 178.8 kB / 1.37 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001878/1.086, allocations: 406.9 kB / 1.371 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.448e-05/1.086, allocations: 105 kB / 1.371 GB, free: 29.69 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.668e-05/1.086, allocations: 104.9 kB / 1.371 GB, free: 29.58 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.832e-05/1.086, allocations: 183.3 kB / 1.371 GB, free: 29.4 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.501e-05/1.086, allocations: 180.2 kB / 1.371 GB, free: 29.22 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.187e-05/1.086, allocations: 183.6 kB / 1.371 GB, free: 29.04 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.893e-05/1.086, allocations: 176.3 kB / 1.372 GB, free: 28.86 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000117/1.086, allocations: 310 kB / 1.372 GB, free: 28.54 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.921e-05/1.086, allocations: 178.1 kB / 1.372 GB, free: 28.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.521e-05/1.086, allocations: 191 kB / 1.372 GB, free: 28.15 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.825e-05/1.086, allocations: 101.9 kB / 1.372 GB, free: 28.05 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.147e-05/1.086, allocations: 188.1 kB / 1.373 GB, free: 27.86 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.834e-05/1.086, allocations: 108.9 kB / 1.373 GB, free: 27.75 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.141e-05/1.087, allocations: 82.08 kB / 1.373 GB, free: 27.68 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.087, allocations: 0 / 1.373 GB, free: 27.68 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004031/1.087, allocations: 61.11 kB / 1.373 GB, free: 27.66 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.0005845/1.088, allocations: 350.6 kB / 1.373 GB, free: 27.45 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.519e-05/1.088, allocations: 11.5 kB / 1.373 GB, free: 27.44 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.616e-06/1.088, allocations: 0 / 1.373 GB, free: 27.44 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.423e-06/1.088, allocations: 11.72 kB / 1.373 GB, free: 27.43 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003032/1.088, allocations: 0.5177 MB / 1.374 GB, free: 26.91 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001637/1.088, allocations: 131.5 kB / 1.374 GB, free: 26.77 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002225/1.088, allocations: 0.6801 MB / 1.374 GB, free: 26.07 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.103e-05/1.088, allocations: 3.75 kB / 1.374 GB, free: 26.07 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.201e-05/1.088, allocations: 7.438 kB / 1.374 GB, free: 26.06 MB / 0.8386 GB Notification: Performance of SimCode: time 2.5e-07/1.088, allocations: 0 / 1.374 GB, free: 26.06 MB / 0.8386 GB Notification: Performance of Templates: time 0.003628/1.092, allocations: 1.489 MB / 1.376 GB, free: 25.9 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