Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00134/0.00134, allocations: 107.7 kB / 18.88 MB, free: 3.051 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001444/0.001444, allocations: 200.3 kB / 22.17 MB, free: 5.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.787/2.787, allocations: 476.7 MB / 0.7645 GB, free: 10.05 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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=2500,variableFilter="time|latitude|longitude|timeZone",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|latitude|longitude|timeZone",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001993/0.001993, allocations: 64.81 kB / 1.109 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.34/0.342, allocations: 168.7 MB / 1.274 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002377/0.3444, allocations: 1.274 MB / 1.275 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002387/0.3468, allocations: 1.544 MB / 1.277 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.412e-05/0.3468, allocations: 0 / 1.277 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.184e-05/0.3468, allocations: 0 / 1.277 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001724/0.347, allocations: 15.92 kB / 1.277 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007624/0.3478, allocations: 218.6 kB / 1.277 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.073e-05/0.3479, allocations: 23.88 kB / 1.277 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.589e-05/0.3479, allocations: 8 kB / 1.277 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.602e-05/0.348, allocations: 15.97 kB / 1.277 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001081/0.3481, allocations: 15.92 kB / 1.277 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.014e-05/0.3481, allocations: 0 / 1.277 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002978/0.3484, allocations: 167.8 kB / 1.277 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.214e-05/0.3484, allocations: 4 kB / 1.277 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.797e-05/0.3484, allocations: 11.92 kB / 1.277 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000267/0.3487, allocations: 151.6 kB / 1.277 GB, free: 7.758 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.686e-06/0.3487, allocations: 0 / 1.277 GB, free: 7.758 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.333e-06/0.3487, allocations: 0 / 1.277 GB, free: 7.758 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.237e-06/0.3487, allocations: 8 kB / 1.277 GB, free: 7.75 MB / 0.9825 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.0004217/0.3491, allocations: 363.1 kB / 1.278 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.3492, allocations: 12.03 kB / 1.278 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.019e-05/0.3492, allocations: 76.22 kB / 1.278 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002006/0.3494, allocations: 255.5 kB / 1.278 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.028e-05/0.3495, allocations: 150.9 kB / 1.278 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.88e-05/0.3496, allocations: 162.7 kB / 1.278 GB, free: 6.664 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.15e-05/0.3497, allocations: 108.9 kB / 1.279 GB, free: 6.551 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.717e-05/0.3497, allocations: 75.28 kB / 1.279 GB, free: 6.477 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.211e-05/0.3498, allocations: 150.6 kB / 1.279 GB, free: 6.328 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.36e-05/0.3498, allocations: 154.6 kB / 1.279 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.148e-05/0.3499, allocations: 150.6 kB / 1.279 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003738/0.3503, allocations: 461.8 kB / 1.279 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001008/0.3504, allocations: 169.1 kB / 1.28 GB, free: 5.352 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.268e-05/0.3504, allocations: 88.08 kB / 1.28 GB, free: 5.262 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.056e-05/0.3505, allocations: 75.28 kB / 1.28 GB, free: 5.188 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.725e-05/0.3505, allocations: 113.8 kB / 1.28 GB, free: 5.066 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.3505, allocations: 0 / 1.28 GB, free: 5.066 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 9.855e-05/0.3506, allocations: 37.62 kB / 1.28 GB, free: 5.023 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.019e-05/0.3507, allocations: 130.7 kB / 1.28 GB, free: 4.883 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/0.3508, allocations: 97.86 kB / 1.28 GB, free: 4.777 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.726e-05/0.3509, allocations: 29.7 kB / 1.28 GB, free: 4.742 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.145e-05/0.3509, allocations: 84.12 kB / 1.28 GB, free: 4.656 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.843e-06/0.3509, allocations: 0 / 1.28 GB, free: 4.656 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.25e-05/0.3509, allocations: 25.72 kB / 1.28 GB, free: 4.625 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001524/0.3511, allocations: 314.8 kB / 1.281 GB, free: 4.309 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.341e-05/0.3511, allocations: 0 / 1.281 GB, free: 4.309 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.619e-05/0.3512, allocations: 26.56 kB / 1.281 GB, free: 4.273 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.914e-05/0.3512, allocations: 34.45 kB / 1.281 GB, free: 4.23 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.3512, allocations: 0 / 1.281 GB, free: 4.23 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000136/0.3514, allocations: 57.56 kB / 1.281 GB, free: 4.168 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.3514, allocations: 4 kB / 1.281 GB, free: 4.164 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.3514, allocations: 0 / 1.281 GB, free: 4.164 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.3514, allocations: 0 / 1.281 GB, free: 4.164 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.611e-05/0.3515, allocations: 11.98 kB / 1.281 GB, free: 4.152 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.3515, allocations: 0 / 1.281 GB, free: 4.152 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001579/0.3516, allocations: 8.047 kB / 1.281 GB, free: 4.145 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.155e-05/0.3516, allocations: 8 kB / 1.281 GB, free: 4.137 MB / 0.9825 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 0.0001196/0.3518, allocations: 185.1 kB / 1.281 GB, free: 3.945 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.009e-05/0.3518, allocations: 116.9 kB / 1.281 GB, free: 3.824 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.879e-05/0.3519, allocations: 104.1 kB / 1.281 GB, free: 3.719 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.464e-05/0.352, allocations: 180.2 kB / 1.281 GB, free: 3.535 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.941e-05/0.3521, allocations: 188.2 kB / 1.281 GB, free: 3.344 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.657e-05/0.3521, allocations: 184.2 kB / 1.282 GB, free: 3.156 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002986/0.3524, allocations: 405.2 kB / 1.282 GB, free: 2.703 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.537e-05/0.3525, allocations: 105.2 kB / 1.282 GB, free: 2.594 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.112e-05/0.3526, allocations: 108.9 kB / 1.282 GB, free: 2.48 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.437e-05/0.3526, allocations: 180.3 kB / 1.282 GB, free: 2.297 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.697e-05/0.3527, allocations: 184.2 kB / 1.283 GB, free: 2.109 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.728e-05/0.3528, allocations: 184.3 kB / 1.283 GB, free: 1.922 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.564e-05/0.3529, allocations: 176.3 kB / 1.283 GB, free: 1.742 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000172/0.3531, allocations: 311.7 kB / 1.283 GB, free: 1.414 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001005/0.3532, allocations: 186 kB / 1.283 GB, free: 1.207 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.215e-05/0.3533, allocations: 176.3 kB / 1.284 GB, free: 1.027 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.94e-05/0.3533, allocations: 109 kB / 1.284 GB, free: 0.9141 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.405e-05/0.3534, allocations: 180.2 kB / 1.284 GB, free: 0.7305 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.538e-05/0.3535, allocations: 101 kB / 1.284 GB, free: 0.625 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.96e-05/0.3535, allocations: 83.28 kB / 1.284 GB, free: 0.543 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3535, allocations: 4 kB / 1.284 GB, free: 0.5391 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003259/0.3539, allocations: 55.8 kB / 1.284 GB, free: 496 kB / 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.0006783/0.3545, allocations: 347.5 kB / 1.284 GB, free: 184 kB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.734e-05/0.3546, allocations: 15.94 kB / 1.284 GB, free: 168 kB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.3546, allocations: 4 kB / 1.284 GB, free: 164 kB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.473e-06/0.3546, allocations: 0 / 1.284 GB, free: 164 kB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000421/0.3551, allocations: 467.8 kB / 1.285 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002565/0.3553, allocations: 181.2 kB / 1.285 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003167/0.3556, allocations: 0.6768 MB / 1.286 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.074e-05/0.3557, allocations: 0 / 1.286 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.742e-05/0.3557, allocations: 11.44 kB / 1.286 GB, free: 14.78 MB / 0.9981 GB Notification: Performance of SimCode: time 4.51e-07/0.3557, allocations: 0 / 1.286 GB, free: 14.78 MB / 0.9981 GB Notification: Performance of Templates: time 0.004582/0.3603, allocations: 1.613 MB / 1.287 GB, free: 13.19 MB / 0.9981 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.makefile [Timeout 300] (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & ./Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.560725902672857]