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/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01085/0.01085, allocations: 102.1 kB / 15.73 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001814/0.001814, allocations: 191.7 kB / 16.67 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.516/1.516, allocations: 222.9 MB / 240.4 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.884/2.884, allocations: 461.9 MB / 0.7347 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 68.11 kB / 1.054 GB, free: 7.156 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3784/0.3797, allocations: 157.4 MB / 1.208 GB, free: 9.656 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002354/0.3821, allocations: 1.272 MB / 1.209 GB, free: 8.371 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002116/0.3842, allocations: 1.449 MB / 1.21 GB, free: 6.914 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.396e-05/0.3843, allocations: 0 / 1.21 GB, free: 6.914 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.709e-05/0.3843, allocations: 0 / 1.21 GB, free: 6.914 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001739/0.3845, allocations: 15.91 kB / 1.21 GB, free: 6.898 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007/0.3852, allocations: 222.7 kB / 1.211 GB, free: 6.684 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.302e-05/0.3853, allocations: 19.92 kB / 1.211 GB, free: 6.664 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.671e-05/0.3854, allocations: 0 / 1.211 GB, free: 6.664 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.8e-05/0.3855, allocations: 15.94 kB / 1.211 GB, free: 6.648 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001083/0.3856, allocations: 19.91 kB / 1.211 GB, free: 6.629 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.082e-05/0.3856, allocations: 0 / 1.211 GB, free: 6.629 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003568/0.3859, allocations: 167.8 kB / 1.211 GB, free: 6.465 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.661e-05/0.386, allocations: 7.984 kB / 1.211 GB, free: 6.457 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.716e-05/0.386, allocations: 15.94 kB / 1.211 GB, free: 6.441 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003331/0.3863, allocations: 147.7 kB / 1.211 GB, free: 6.297 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.3864, allocations: 0 / 1.211 GB, free: 6.297 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.012e-06/0.3864, allocations: 0 / 1.211 GB, free: 6.297 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.3864, allocations: 0 / 1.211 GB, free: 6.297 MB / 0.9669 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.0003635/0.3867, allocations: 371.4 kB / 1.211 GB, free: 5.887 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.214e-05/0.3868, allocations: 8.625 kB / 1.211 GB, free: 5.879 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.686e-05/0.3868, allocations: 76.22 kB / 1.211 GB, free: 5.805 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001559/0.387, allocations: 243.7 kB / 1.212 GB, free: 5.527 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.215e-05/0.3871, allocations: 158.9 kB / 1.212 GB, free: 5.371 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.199e-05/0.3872, allocations: 158.7 kB / 1.212 GB, free: 5.215 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.316e-05/0.3872, allocations: 108.9 kB / 1.212 GB, free: 5.102 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.787e-05/0.3873, allocations: 75.28 kB / 1.212 GB, free: 5.027 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.8e-05/0.3873, allocations: 150.6 kB / 1.212 GB, free: 4.879 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-05/0.3874, allocations: 154.6 kB / 1.212 GB, free: 4.727 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.659e-05/0.3874, allocations: 158.6 kB / 1.213 GB, free: 4.57 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002941/0.3877, allocations: 453.9 kB / 1.213 GB, free: 4.078 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 7.635e-05/0.3878, allocations: 169.1 kB / 1.213 GB, free: 3.902 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.444e-05/0.3879, allocations: 92.06 kB / 1.213 GB, free: 3.809 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.667e-05/0.3879, allocations: 75.28 kB / 1.213 GB, free: 3.734 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.96e-05/0.3879, allocations: 109.8 kB / 1.213 GB, free: 3.617 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 1.363e-06/0.388, allocations: 0 / 1.213 GB, free: 3.617 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 8.26e-05/0.388, allocations: 29.7 kB / 1.213 GB, free: 3.582 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.951e-05/0.3881, allocations: 126.7 kB / 1.214 GB, free: 3.445 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.95e-05/0.3882, allocations: 113.8 kB / 1.214 GB, free: 3.324 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.638e-05/0.3882, allocations: 29.7 kB / 1.214 GB, free: 3.289 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.77e-05/0.3883, allocations: 84.05 kB / 1.214 GB, free: 3.203 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.294e-06/0.3883, allocations: 0 / 1.214 GB, free: 3.203 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.332e-05/0.3883, allocations: 21.72 kB / 1.214 GB, free: 3.176 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.3885, allocations: 314.8 kB / 1.214 GB, free: 2.859 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.607e-05/0.3885, allocations: 4 kB / 1.214 GB, free: 2.855 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.487e-05/0.3885, allocations: 26.58 kB / 1.214 GB, free: 2.82 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.392e-05/0.3886, allocations: 30.5 kB / 1.214 GB, free: 2.781 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3886, allocations: 0 / 1.214 GB, free: 2.781 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001373/0.3887, allocations: 49.58 kB / 1.214 GB, free: 2.727 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.3887, allocations: 4 kB / 1.214 GB, free: 2.723 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.3888, allocations: 7.984 kB / 1.214 GB, free: 2.715 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.3888, allocations: 4.094 kB / 1.214 GB, free: 2.711 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.367e-05/0.3888, allocations: 4 kB / 1.214 GB, free: 2.707 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.3889, allocations: 0 / 1.214 GB, free: 2.707 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001428/0.389, allocations: 4 kB / 1.214 GB, free: 2.703 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.609e-05/0.389, allocations: 11.98 kB / 1.214 GB, free: 2.691 MB / 0.9669 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.945e-05/0.3891, allocations: 185.1 kB / 1.214 GB, free: 2.5 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.699e-05/0.3892, allocations: 112.8 kB / 1.215 GB, free: 2.383 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.549e-05/0.3892, allocations: 108.1 kB / 1.215 GB, free: 2.273 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.386e-05/0.3893, allocations: 184.3 kB / 1.215 GB, free: 2.086 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.363e-05/0.3893, allocations: 188.1 kB / 1.215 GB, free: 1.895 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.542e-05/0.3894, allocations: 176.3 kB / 1.215 GB, free: 1.715 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002052/0.3896, allocations: 417.1 kB / 1.216 GB, free: 1.25 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.062e-05/0.3897, allocations: 105 kB / 1.216 GB, free: 1.141 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.517e-05/0.3897, allocations: 101 kB / 1.216 GB, free: 1.035 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.532e-05/0.3898, allocations: 180.2 kB / 1.216 GB, free: 0.8516 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.558e-05/0.3898, allocations: 180.3 kB / 1.216 GB, free: 0.668 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.276e-05/0.3899, allocations: 180.2 kB / 1.216 GB, free: 496 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-05/0.3899, allocations: 180.5 kB / 1.216 GB, free: 308 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001287/0.3901, allocations: 311.7 kB / 1.217 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.984e-05/0.3901, allocations: 182 kB / 1.217 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.634e-05/0.3902, allocations: 192.2 kB / 1.217 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.361e-05/0.3903, allocations: 105 kB / 1.217 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.237e-05/0.3904, allocations: 180.3 kB / 1.217 GB, free: 15.28 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.075e-05/0.3904, allocations: 104.9 kB / 1.217 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.407e-05/0.3905, allocations: 87.27 kB / 1.218 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3905, allocations: 0 / 1.218 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003188/0.3908, allocations: 51.94 kB / 1.218 GB, free: 15.04 MB / 0.9825 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005522/0.3913, allocations: 336 kB / 1.218 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.47e-05/0.3914, allocations: 15.92 kB / 1.218 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3914, allocations: 0 / 1.218 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.674e-06/0.3915, allocations: 0 / 1.218 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003246/0.3918, allocations: 466.1 kB / 1.218 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002552/0.392, allocations: 173.3 kB / 1.219 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002273/0.3923, allocations: 0.677 MB / 1.219 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.268e-05/0.3923, allocations: 3.938 kB / 1.219 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.82e-05/0.3923, allocations: 7.438 kB / 1.219 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of SimCode: time 2.01e-07/0.3923, allocations: 0 / 1.219 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of Templates: time 0.004008/0.3964, allocations: 1.635 MB / 1.221 GB, free: 11.73 MB / 0.9825 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches