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.00557/0.00557, allocations: 101.3 kB / 15.73 MB, free: 6.043 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.001228/0.001228, allocations: 184.9 kB / 16.67 MB, free: 5.977 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.466/1.466, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.892/2.892, allocations: 461.9 MB / 0.7348 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 63.91 kB / 1.054 GB, free: 7.145 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.344/0.3453, allocations: 157.4 MB / 1.208 GB, free: 9.625 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002276/0.3476, allocations: 1.262 MB / 1.209 GB, free: 8.348 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002158/0.3498, allocations: 1.441 MB / 1.21 GB, free: 6.898 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.193e-05/0.3498, allocations: 0 / 1.21 GB, free: 6.898 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.182e-05/0.3499, allocations: 3.938 kB / 1.21 GB, free: 6.895 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002011/0.3501, allocations: 19.91 kB / 1.21 GB, free: 6.875 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005874/0.3507, allocations: 219.6 kB / 1.211 GB, free: 6.664 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.532e-05/0.3507, allocations: 23.92 kB / 1.211 GB, free: 6.641 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.277e-05/0.3508, allocations: 0 / 1.211 GB, free: 6.641 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.602e-05/0.3509, allocations: 19.97 kB / 1.211 GB, free: 6.621 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001073/0.351, allocations: 18 kB / 1.211 GB, free: 6.605 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.189e-05/0.351, allocations: 0 / 1.211 GB, free: 6.605 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002725/0.3513, allocations: 171.8 kB / 1.211 GB, free: 6.438 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.262e-05/0.3513, allocations: 3.938 kB / 1.211 GB, free: 6.434 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.919e-05/0.3514, allocations: 19.92 kB / 1.211 GB, free: 6.414 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002543/0.3516, allocations: 147.7 kB / 1.211 GB, free: 6.27 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.3516, allocations: 0 / 1.211 GB, free: 6.27 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3516, allocations: 0 / 1.211 GB, free: 6.27 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.3516, allocations: 0 / 1.211 GB, free: 6.27 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.0003942/0.352, allocations: 375.4 kB / 1.211 GB, free: 5.855 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.3521, allocations: 8.625 kB / 1.211 GB, free: 5.848 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.399e-05/0.3522, allocations: 76.22 kB / 1.211 GB, free: 5.773 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001476/0.3523, allocations: 239.7 kB / 1.212 GB, free: 5.5 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.667e-05/0.3524, allocations: 150.9 kB / 1.212 GB, free: 5.352 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.952e-05/0.3524, allocations: 158.7 kB / 1.212 GB, free: 5.195 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.523e-05/0.3525, allocations: 108.9 kB / 1.212 GB, free: 5.082 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.251e-05/0.3525, allocations: 79.28 kB / 1.212 GB, free: 5.004 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.101e-05/0.3526, allocations: 154.5 kB / 1.212 GB, free: 4.852 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.523e-05/0.3526, allocations: 150.6 kB / 1.212 GB, free: 4.703 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.738e-05/0.3527, allocations: 154.6 kB / 1.213 GB, free: 4.551 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002711/0.353, allocations: 453.9 kB / 1.213 GB, free: 4.059 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 6.821e-05/0.353, allocations: 173.1 kB / 1.213 GB, free: 3.879 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.747e-05/0.3531, allocations: 88.02 kB / 1.213 GB, free: 3.789 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.174e-05/0.3531, allocations: 75.28 kB / 1.213 GB, free: 3.715 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.707e-05/0.3531, allocations: 105.8 kB / 1.213 GB, free: 3.602 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.3532, allocations: 0 / 1.213 GB, free: 3.602 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 7.739e-05/0.3532, allocations: 37.69 kB / 1.213 GB, free: 3.559 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.904e-05/0.3533, allocations: 126.7 kB / 1.214 GB, free: 3.422 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/0.3534, allocations: 105.8 kB / 1.214 GB, free: 3.309 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.38e-05/0.3534, allocations: 25.7 kB / 1.214 GB, free: 3.277 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.692e-05/0.3535, allocations: 88.05 kB / 1.214 GB, free: 3.188 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.064e-06/0.3535, allocations: 0 / 1.214 GB, free: 3.188 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.654e-05/0.3535, allocations: 21.7 kB / 1.214 GB, free: 3.16 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.3536, allocations: 318.8 kB / 1.214 GB, free: 2.84 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.49e-05/0.3537, allocations: 7.938 kB / 1.214 GB, free: 2.832 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.191e-05/0.3537, allocations: 22.56 kB / 1.214 GB, free: 2.801 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.562e-05/0.3538, allocations: 26.58 kB / 1.214 GB, free: 2.766 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.3538, allocations: 0 / 1.214 GB, free: 2.766 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001269/0.3539, allocations: 57.56 kB / 1.214 GB, free: 2.703 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.3539, allocations: 4 kB / 1.214 GB, free: 2.699 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.3539, allocations: 4 kB / 1.214 GB, free: 2.695 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.354, allocations: 0 / 1.214 GB, free: 2.695 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.747e-05/0.354, allocations: 7.938 kB / 1.214 GB, free: 2.688 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.354, allocations: 0 / 1.214 GB, free: 2.688 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000145/0.3542, allocations: 12.17 kB / 1.214 GB, free: 2.676 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.198e-05/0.3542, allocations: 4 kB / 1.214 GB, free: 2.672 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 9.33e-05/0.3543, allocations: 193.2 kB / 1.214 GB, free: 2.473 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.616e-05/0.3544, allocations: 104.9 kB / 1.215 GB, free: 2.363 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.369e-05/0.3544, allocations: 116 kB / 1.215 GB, free: 2.246 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-05/0.3545, allocations: 180.3 kB / 1.215 GB, free: 2.062 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.513e-05/0.3545, allocations: 184.1 kB / 1.215 GB, free: 1.875 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.106e-05/0.3546, allocations: 184.3 kB / 1.215 GB, free: 1.688 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002024/0.3548, allocations: 409.2 kB / 1.216 GB, free: 1.23 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.588e-05/0.3548, allocations: 104.9 kB / 1.216 GB, free: 1.121 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.392e-05/0.3549, allocations: 101 kB / 1.216 GB, free: 1.016 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.165e-05/0.3549, allocations: 184.2 kB / 1.216 GB, free: 0.8281 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.383e-05/0.355, allocations: 184.2 kB / 1.216 GB, free: 0.6406 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.507e-05/0.3551, allocations: 180.3 kB / 1.216 GB, free: 468 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.128e-05/0.3551, allocations: 180.2 kB / 1.216 GB, free: 280 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001358/0.3553, allocations: 307.7 kB / 1.217 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.203e-05/0.3553, allocations: 186 kB / 1.217 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.778e-05/0.3554, allocations: 184.3 kB / 1.217 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.197e-05/0.3555, allocations: 104.9 kB / 1.217 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.895e-05/0.3556, allocations: 176.3 kB / 1.217 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.209e-05/0.3556, allocations: 112.9 kB / 1.217 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.143e-05/0.3556, allocations: 83.27 kB / 1.218 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3557, allocations: 0 / 1.218 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003114/0.356, allocations: 55.92 kB / 1.218 GB, free: 15.01 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.0005724/0.3565, allocations: 348.4 kB / 1.218 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.407e-05/0.3566, allocations: 8 kB / 1.218 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.3567, allocations: 0 / 1.218 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.056e-06/0.3567, allocations: 3.938 kB / 1.218 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003424/0.357, allocations: 467.8 kB / 1.218 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00025/0.3573, allocations: 181.3 kB / 1.219 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002158/0.3575, allocations: 0.6729 MB / 1.219 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.663e-05/0.3575, allocations: 3.984 kB / 1.219 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.445e-05/0.3575, allocations: 7.438 kB / 1.219 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of SimCode: time 2.3e-07/0.3576, allocations: 4 kB / 1.219 GB, free: 13.31 MB / 0.9825 GB Notification: Performance of Templates: time 0.004097/0.3617, allocations: 1.597 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