Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.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.001827/0.001827, allocations: 114 kB / 17.08 MB, free: 5.988 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.002023/0.002023, allocations: 194.2 kB / 20.03 MB, free: 3.055 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.53/1.53, allocations: 222.9 MB / 245.7 MB, free: 4.227 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.11/3.11, allocations: 489.3 MB / 0.7687 GB, free: 3.73 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.GetTimeSpanTMY3LongHeader,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|timeSpan.2.|timeSpan.1.",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|timeSpan.2.|timeSpan.1.",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 67.89 kB / 1.103 GB, free: 0.7734 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.084/1.086, allocations: 163.8 MB / 1.263 GB, free: 7.98 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.002501/1.089, allocations: 1.243 MB / 1.264 GB, free: 7.125 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001131/1.09, allocations: 0.7155 MB / 1.264 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.986e-05/1.09, allocations: 0 / 1.264 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.197e-05/1.09, allocations: 0.5156 kB / 1.264 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002261/1.09, allocations: 19.94 kB / 1.265 GB, free: 6.598 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 8.002e-05/1.09, allocations: 7.031 kB / 1.265 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 6.243e-05/1.09, allocations: 8.297 kB / 1.265 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.982e-05/1.09, allocations: 2.766 kB / 1.265 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.403e-05/1.09, allocations: 3.719 kB / 1.265 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001634/1.091, allocations: 13.44 kB / 1.265 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.426e-05/1.091, allocations: 3.938 kB / 1.265 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.732e-05/1.091, allocations: 5.641 kB / 1.265 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.47e-05/1.091, allocations: 8.391 kB / 1.265 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.702e-05/1.091, allocations: 2.188 kB / 1.265 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 9.511e-05/1.091, allocations: 18.75 kB / 1.265 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/1.091, allocations: 0 / 1.265 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.104e-06/1.091, allocations: 0 / 1.265 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.77e-06/1.091, allocations: 0.8438 kB / 1.265 GB, free: 6.566 MB / 0.9981 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.0002799/1.091, allocations: 318.9 kB / 1.265 GB, free: 6.211 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/1.091, allocations: 13.78 kB / 1.265 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.731e-05/1.091, allocations: 77.66 kB / 1.265 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001274/1.091, allocations: 238.1 kB / 1.265 GB, free: 5.863 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.828e-05/1.091, allocations: 151.7 kB / 1.265 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.747e-05/1.091, allocations: 156.6 kB / 1.265 GB, free: 5.562 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.463e-05/1.091, allocations: 106.5 kB / 1.266 GB, free: 5.453 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.526e-05/1.091, allocations: 75.47 kB / 1.266 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.543e-05/1.091, allocations: 156 kB / 1.266 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.123e-05/1.092, allocations: 151.3 kB / 1.266 GB, free: 5.078 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.45e-05/1.092, allocations: 158.5 kB / 1.266 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002069/1.092, allocations: 446.5 kB / 1.267 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.427e-05/1.092, allocations: 166.5 kB / 1.267 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.152e-05/1.092, allocations: 85.11 kB / 1.267 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.441e-05/1.092, allocations: 75.28 kB / 1.267 GB, free: 4.109 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.471e-05/1.092, allocations: 107.2 kB / 1.267 GB, free: 3.996 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 2.845e-06/1.092, allocations: 4 kB / 1.267 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 8.212e-05/1.092, allocations: 36.09 kB / 1.267 GB, free: 3.953 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.441e-05/1.092, allocations: 127.3 kB / 1.267 GB, free: 3.816 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.743e-05/1.092, allocations: 95.2 kB / 1.267 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.177e-05/1.092, allocations: 30.83 kB / 1.267 GB, free: 3.684 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.313e-05/1.092, allocations: 80.8 kB / 1.267 GB, free: 3.602 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.483e-06/1.092, allocations: 0.6875 kB / 1.267 GB, free: 3.602 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.5e-05/1.092, allocations: 11.94 kB / 1.267 GB, free: 3.586 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.48e-05/1.092, allocations: 316.6 kB / 1.268 GB, free: 3.27 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.851e-06/1.092, allocations: 0 / 1.268 GB, free: 3.27 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.974e-05/1.092, allocations: 2.078 kB / 1.268 GB, free: 3.27 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.051e-05/1.092, allocations: 76.31 kB / 1.268 GB, free: 3.195 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-05/1.092, allocations: 75.28 kB / 1.268 GB, free: 3.121 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.536e-05/1.092, allocations: 32.83 kB / 1.268 GB, free: 3.086 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.333e-05/1.092, allocations: 87.44 kB / 1.268 GB, free: 3.008 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.158e-05/1.092, allocations: 84.73 kB / 1.268 GB, free: 2.926 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.213e-05/1.093, allocations: 161 kB / 1.268 GB, free: 2.77 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.208e-05/1.093, allocations: 76.12 kB / 1.268 GB, free: 2.695 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.872e-05/1.093, allocations: 160.1 kB / 1.268 GB, free: 2.539 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002126/1.093, allocations: 81.73 kB / 1.268 GB, free: 18.46 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.437e-05/1.093, allocations: 77.67 kB / 1.269 GB, free: 18.39 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (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 prepare postOptimizeDAE: time 0.0001324/1.093, allocations: 262.7 kB / 1.269 GB, free: 18.12 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.76e-05/1.093, allocations: 114.4 kB / 1.269 GB, free: 18 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.342e-05/1.093, allocations: 111 kB / 1.269 GB, free: 17.89 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.536e-05/1.093, allocations: 177.8 kB / 1.269 GB, free: 17.71 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-05/1.093, allocations: 181.4 kB / 1.269 GB, free: 17.53 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.703e-05/1.093, allocations: 182.2 kB / 1.269 GB, free: 17.35 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002392/1.094, allocations: 405.7 kB / 1.27 GB, free: 16.9 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.73e-05/1.094, allocations: 106.9 kB / 1.27 GB, free: 16.79 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.621e-05/1.094, allocations: 106.1 kB / 1.27 GB, free: 16.68 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.78e-05/1.094, allocations: 182.1 kB / 1.27 GB, free: 16.5 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.461e-05/1.094, allocations: 181.6 kB / 1.27 GB, free: 16.31 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.426e-05/1.094, allocations: 186.9 kB / 1.271 GB, free: 16.12 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.407e-05/1.094, allocations: 181.6 kB / 1.271 GB, free: 15.94 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001719/1.094, allocations: 304.8 kB / 1.271 GB, free: 15.62 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 9.989e-05/1.094, allocations: 180.2 kB / 1.271 GB, free: 15.43 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000116/1.094, allocations: 195.1 kB / 1.271 GB, free: 15.23 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.557e-05/1.095, allocations: 102.7 kB / 1.272 GB, free: 15.12 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.573e-05/1.095, allocations: 181.7 kB / 1.272 GB, free: 14.94 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.558e-05/1.095, allocations: 102.7 kB / 1.272 GB, free: 14.84 MB / 1.014 GB Notification: Performance of sorting global known variables: time 5.568e-05/1.095, allocations: 79.02 kB / 1.272 GB, free: 14.76 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.4e-07/1.095, allocations: 0 / 1.272 GB, free: 14.76 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003009/1.095, allocations: 5.375 kB / 1.272 GB, free: 14.76 MB / 1.014 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.0003442/1.095, allocations: 188.3 kB / 1.272 GB, free: 14.59 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 5.099e-05/1.096, allocations: 5.5 kB / 1.272 GB, free: 14.59 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/1.096, allocations: 0 / 1.272 GB, free: 14.59 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 2.765e-06/1.096, allocations: 5.328 kB / 1.272 GB, free: 14.59 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004696/1.096, allocations: 459.6 kB / 1.272 GB, free: 14.14 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002854/1.096, allocations: 195.4 kB / 1.273 GB, free: 13.93 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003306/1.097, allocations: 0.6757 MB / 1.273 GB, free: 13.23 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.678e-05/1.097, allocations: 8.938 kB / 1.273 GB, free: 13.22 MB / 1.014 GB Notification: Performance of SimCode: time 1.9e-07/1.097, allocations: 0 / 1.273 GB, free: 13.22 MB / 1.014 GB Notification: Performance of Templates: time 0.002225/1.099, allocations: 485.6 kB / 1.274 GB, free: 13.18 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.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: 11.836060573114082]