Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001657/0.001657, allocations: 110 kB / 18.93 MB, free: 2.945 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.001646/0.001646, allocations: 187.8 kB / 22.23 MB, free: 5.16 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.525/1.525, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.751/2.751, allocations: 443.4 MB / 0.7321 GB, free: 12.28 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.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_10_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_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002276/0.002276, allocations: 71.89 kB / 1.061 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.068/1.07, allocations: 160.8 MB / 1.218 GB, free: 3.703 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.003624/1.074, allocations: 1.272 MB / 1.22 GB, free: 2.703 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003822/1.078, allocations: 1.547 MB / 1.221 GB, free: 1.492 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.349e-05/1.078, allocations: 0 / 1.221 GB, free: 1.492 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.26e-05/1.078, allocations: 4.984 kB / 1.221 GB, free: 1.488 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.000246/1.078, allocations: 15.16 kB / 1.221 GB, free: 1.477 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009449/1.079, allocations: 217.4 kB / 1.221 GB, free: 1.344 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001208/1.079, allocations: 27.5 kB / 1.221 GB, free: 1.328 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.918e-05/1.079, allocations: 1.156 kB / 1.221 GB, free: 1.328 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001301/1.079, allocations: 18.08 kB / 1.222 GB, free: 1.32 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001446/1.079, allocations: 20.55 kB / 1.222 GB, free: 1.305 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.591e-05/1.079, allocations: 1.219 kB / 1.222 GB, free: 1.305 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004998/1.08, allocations: 166.6 kB / 1.222 GB, free: 1.223 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.006e-05/1.08, allocations: 5.047 kB / 1.222 GB, free: 1.219 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.48e-05/1.08, allocations: 12.19 kB / 1.222 GB, free: 1.211 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004219/1.08, allocations: 144.9 kB / 1.222 GB, free: 1.141 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/1.08, allocations: 7.938 kB / 1.222 GB, free: 1.133 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.764e-06/1.08, allocations: 0 / 1.222 GB, free: 1.133 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.063e-06/1.08, allocations: 1.156 kB / 1.222 GB, free: 1.133 MB / 0.92 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.0005617/1.081, allocations: 372.3 kB / 1.222 GB, free: 0.7422 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/1.081, allocations: 8.875 kB / 1.222 GB, free: 0.7422 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.235e-05/1.081, allocations: 82.31 kB / 1.222 GB, free: 0.6641 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002414/1.081, allocations: 244.8 kB / 1.223 GB, free: 396 kB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001008/1.081, allocations: 152.2 kB / 1.223 GB, free: 244 kB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001099/1.082, allocations: 162.2 kB / 1.223 GB, free: 84 kB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001385/1.082, allocations: 101 kB / 1.223 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.439e-05/1.082, allocations: 79.22 kB / 1.223 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.322e-05/1.082, allocations: 151.6 kB / 1.223 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.352e-05/1.082, allocations: 150.6 kB / 1.223 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.848e-05/1.082, allocations: 159.5 kB / 1.223 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004284/1.082, allocations: 454.3 kB / 1.224 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001204/1.083, allocations: 170.4 kB / 1.224 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.002e-05/1.083, allocations: 84.08 kB / 1.224 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 5.857e-05/1.083, allocations: 80.41 kB / 1.224 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.151e-05/1.083, allocations: 109.8 kB / 1.224 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 1.262e-06/1.083, allocations: 0.9375 kB / 1.224 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 0.0001042/1.083, allocations: 35.75 kB / 1.224 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001311/1.083, allocations: 126.7 kB / 1.224 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001305/1.083, allocations: 105.3 kB / 1.225 GB, free: 14.22 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.65e-05/1.083, allocations: 25.7 kB / 1.225 GB, free: 14.19 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.433e-05/1.083, allocations: 90.34 kB / 1.225 GB, free: 14.1 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.945e-06/1.083, allocations: 0 / 1.225 GB, free: 14.1 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.142e-05/1.083, allocations: 19.53 kB / 1.225 GB, free: 14.08 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001838/1.083, allocations: 315.9 kB / 1.225 GB, free: 13.76 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.024e-05/1.083, allocations: 2.438 kB / 1.225 GB, free: 13.76 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.732e-05/1.083, allocations: 33 kB / 1.225 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.853e-05/1.084, allocations: 27.36 kB / 1.225 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/1.084, allocations: 0 / 1.225 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001915/1.084, allocations: 51.62 kB / 1.225 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.473e-05/1.084, allocations: 7.812 kB / 1.225 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.936e-06/1.084, allocations: 1.094 kB / 1.225 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.043e-05/1.084, allocations: 1.125 kB / 1.225 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.143e-05/1.084, allocations: 4.844 kB / 1.225 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.633e-05/1.084, allocations: 13.11 kB / 1.225 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001716/1.084, allocations: 15.95 kB / 1.225 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.555e-05/1.084, allocations: 2.328 kB / 1.225 GB, free: 13.63 MB / 0.9356 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.0001622/1.084, allocations: 188.4 kB / 1.225 GB, free: 13.44 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.278e-05/1.084, allocations: 113.8 kB / 1.225 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.716e-05/1.084, allocations: 113.2 kB / 1.226 GB, free: 13.21 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001172/1.085, allocations: 189.4 kB / 1.226 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001113/1.085, allocations: 177.3 kB / 1.226 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001056/1.085, allocations: 185.2 kB / 1.226 GB, free: 12.65 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003749/1.085, allocations: 407.2 kB / 1.226 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.414e-05/1.085, allocations: 110.1 kB / 1.227 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.72e-05/1.085, allocations: 105.9 kB / 1.227 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001073/1.085, allocations: 181.4 kB / 1.227 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001181/1.085, allocations: 181.4 kB / 1.227 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001128/1.086, allocations: 181.3 kB / 1.227 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001101/1.086, allocations: 185.2 kB / 1.227 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001999/1.086, allocations: 303 kB / 1.228 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001252/1.086, allocations: 188 kB / 1.228 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001303/1.086, allocations: 181.2 kB / 1.228 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.698e-05/1.086, allocations: 105.9 kB / 1.228 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000112/1.086, allocations: 177.1 kB / 1.228 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.714e-05/1.086, allocations: 102.1 kB / 1.228 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.781e-05/1.087, allocations: 95.55 kB / 1.228 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7e-08/1.087, allocations: 0 / 1.228 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004973/1.087, allocations: 51.02 kB / 1.228 GB, free: 10.03 MB / 0.9356 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.0008453/1.088, allocations: 344.6 kB / 1.229 GB, free: 9.793 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001088/1.088, allocations: 6.188 kB / 1.229 GB, free: 9.793 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/1.088, allocations: 192 / 1.229 GB, free: 9.793 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 3.987e-06/1.088, allocations: 4.875 kB / 1.229 GB, free: 9.789 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004569/1.088, allocations: 464.7 kB / 1.229 GB, free: 9.332 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003423/1.089, allocations: 176.1 kB / 1.229 GB, free: 9.148 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004055/1.089, allocations: 0.6709 MB / 1.23 GB, free: 8.453 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.636e-05/1.089, allocations: 10.09 kB / 1.23 GB, free: 8.445 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.002e-05/1.089, allocations: 9.656 kB / 1.23 GB, free: 8.441 MB / 0.9356 GB Notification: Performance of SimCode: time 8.81e-07/1.089, allocations: 0 / 1.23 GB, free: 8.441 MB / 0.9356 GB Notification: Performance of Templates: time 0.005903/1.095, allocations: 1.613 MB / 1.232 GB, free: 7.594 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.makefile [Timeout 300] (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & ./Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 9.28535285871476]