Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001691/0.001691, allocations: 113 kB / 16.46 MB, free: 6.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001962/0.001962, allocations: 213.7 kB / 19.43 MB, free: 3.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.584/1.584, allocations: 230.6 MB / 252.8 MB, free: 8.973 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.386/3.386, allocations: 0.49 GB / 0.7916 GB, free: 33.47 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|timeSpan.1.|timeSpan.2.",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|timeSpan.1.|timeSpan.2.",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002091/0.002091, allocations: 70.98 kB / 1.149 GB, free: 26.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4028/0.4049, allocations: 176.1 MB / 1.321 GB, free: 2.852 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.00261/0.4076, allocations: 1.277 MB / 1.322 GB, free: 1.562 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001215/0.4088, allocations: 0.747 MB / 1.323 GB, free: 0.8125 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.924e-05/0.4088, allocations: 0 / 1.323 GB, free: 0.8125 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.317e-05/0.4088, allocations: 0 / 1.323 GB, free: 0.8125 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0002484/0.4091, allocations: 15.92 kB / 1.323 GB, free: 0.7969 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.000231/0.4093, allocations: 47.86 kB / 1.323 GB, free: 0.75 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 9.47e-05/0.4094, allocations: 23.92 kB / 1.323 GB, free: 0.7266 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.105e-05/0.4095, allocations: 7.984 kB / 1.323 GB, free: 0.7188 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 6.906e-05/0.4095, allocations: 15.94 kB / 1.323 GB, free: 0.7031 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001378/0.4097, allocations: 7.984 kB / 1.323 GB, free: 0.6953 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.486e-05/0.4097, allocations: 0 / 1.323 GB, free: 0.6953 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 4.665e-05/0.4097, allocations: 7.984 kB / 1.323 GB, free: 0.6875 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 5.142e-05/0.4098, allocations: 8 kB / 1.323 GB, free: 0.6797 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.38e-05/0.4098, allocations: 11.92 kB / 1.323 GB, free: 0.668 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001021/0.4099, allocations: 19.86 kB / 1.323 GB, free: 0.6484 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.273e-06/0.4099, allocations: 3.984 kB / 1.323 GB, free: 0.6445 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.924e-06/0.4099, allocations: 4 kB / 1.323 GB, free: 0.6406 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.6e-06/0.4099, allocations: 0 / 1.323 GB, free: 0.6406 MB / 1.014 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.000414/0.4103, allocations: 335.4 kB / 1.324 GB, free: 268 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.4104, allocations: 11.98 kB / 1.324 GB, free: 256 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.795e-05/0.4105, allocations: 76.22 kB / 1.324 GB, free: 180 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002167/0.4107, allocations: 251.5 kB / 1.324 GB, free: 15.89 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.996e-05/0.4108, allocations: 150.9 kB / 1.324 GB, free: 15.74 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.917e-05/0.4108, allocations: 154.9 kB / 1.324 GB, free: 15.59 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.747e-05/0.4109, allocations: 113.5 kB / 1.324 GB, free: 15.47 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.318e-05/0.411, allocations: 75.47 kB / 1.325 GB, free: 15.4 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.622e-05/0.411, allocations: 158.4 kB / 1.325 GB, free: 15.24 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.748e-05/0.4111, allocations: 150.6 kB / 1.325 GB, free: 15.09 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.133e-05/0.4112, allocations: 154.5 kB / 1.325 GB, free: 14.94 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004434/0.4117, allocations: 453.9 kB / 1.325 GB, free: 14.45 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001527/0.4118, allocations: 165.1 kB / 1.326 GB, free: 14.28 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.248e-05/0.4119, allocations: 84.12 kB / 1.326 GB, free: 14.19 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.033e-05/0.4119, allocations: 75.28 kB / 1.326 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.988e-05/0.412, allocations: 117.8 kB / 1.326 GB, free: 13.99 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.412, allocations: 4 kB / 1.326 GB, free: 13.99 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 9.015e-05/0.4121, allocations: 29.64 kB / 1.326 GB, free: 13.95 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.738e-05/0.4121, allocations: 126.7 kB / 1.326 GB, free: 13.82 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001421/0.4123, allocations: 105.8 kB / 1.326 GB, free: 13.7 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.282e-05/0.4123, allocations: 25.7 kB / 1.326 GB, free: 13.67 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.929e-05/0.4124, allocations: 84.14 kB / 1.326 GB, free: 13.59 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.224e-06/0.4124, allocations: 0 / 1.326 GB, free: 13.59 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.021e-05/0.4124, allocations: 17.7 kB / 1.326 GB, free: 13.56 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001633/0.4126, allocations: 318.8 kB / 1.326 GB, free: 13.24 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.379e-05/0.4126, allocations: 4 kB / 1.326 GB, free: 13.24 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.781e-05/0.4126, allocations: 7.984 kB / 1.326 GB, free: 13.23 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.014e-05/0.4127, allocations: 16.8 kB / 1.327 GB, free: 13.21 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.4127, allocations: 0 / 1.327 GB, free: 13.21 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000136/0.4128, allocations: 45.69 kB / 1.327 GB, free: 13.16 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.4128, allocations: 4 kB / 1.327 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/0.4128, allocations: 11.88 kB / 1.327 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.4129, allocations: 4.125 kB / 1.327 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.42e-07/0.4129, allocations: 0 / 1.327 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.4129, allocations: 0 / 1.327 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.684e-05/0.413, allocations: 3.953 kB / 1.327 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.717e-05/0.413, allocations: 4 kB / 1.327 GB, free: 13.13 MB / 1.029 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 (1): * Single equations (assignments): 0 * Array equations: 1 * 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.0001275/0.4131, allocations: 181.1 kB / 1.327 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.179e-05/0.4132, allocations: 117 kB / 1.327 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.838e-05/0.4133, allocations: 116.5 kB / 1.327 GB, free: 12.7 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.945e-05/0.4134, allocations: 176.3 kB / 1.327 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001031/0.4135, allocations: 180.2 kB / 1.327 GB, free: 12.33 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.971e-05/0.4135, allocations: 180.3 kB / 1.327 GB, free: 12.15 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003076/0.4139, allocations: 405.4 kB / 1.328 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.493e-05/0.4139, allocations: 109 kB / 1.328 GB, free: 11.58 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.461e-05/0.414, allocations: 109 kB / 1.328 GB, free: 11.47 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.61e-05/0.4141, allocations: 180.4 kB / 1.328 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.267e-05/0.4141, allocations: 184.2 kB / 1.328 GB, free: 11.1 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.888e-05/0.4142, allocations: 184.2 kB / 1.329 GB, free: 10.91 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.925e-05/0.4143, allocations: 184.2 kB / 1.329 GB, free: 10.72 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002311/0.4146, allocations: 311.7 kB / 1.329 GB, free: 10.39 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001056/0.4147, allocations: 178.1 kB / 1.329 GB, free: 10.2 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001165/0.4148, allocations: 192.1 kB / 1.329 GB, free: 10 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001226/0.4149, allocations: 109 kB / 1.33 GB, free: 9.887 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.615e-05/0.415, allocations: 180.2 kB / 1.33 GB, free: 9.703 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.099e-05/0.415, allocations: 105 kB / 1.33 GB, free: 9.594 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.77e-05/0.4151, allocations: 87.28 kB / 1.33 GB, free: 9.508 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4151, allocations: 0 / 1.33 GB, free: 9.508 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002596/0.4154, allocations: 4 kB / 1.33 GB, free: 9.504 MB / 1.029 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.000356/0.4157, allocations: 195.8 kB / 1.33 GB, free: 9.309 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 7.782e-05/0.4158, allocations: 8 kB / 1.33 GB, free: 9.301 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.4158, allocations: 0 / 1.33 GB, free: 9.301 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.148e-06/0.4158, allocations: 3.938 kB / 1.33 GB, free: 9.297 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003906/0.4162, allocations: 457.8 kB / 1.331 GB, free: 8.848 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003045/0.4165, allocations: 171.6 kB / 1.331 GB, free: 8.656 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003473/0.4168, allocations: 0.6923 MB / 1.331 GB, free: 7.938 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.709e-05/0.4169, allocations: 0 / 1.331 GB, free: 7.938 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.553e-05/0.4169, allocations: 7.438 kB / 1.331 GB, free: 7.93 MB / 1.029 GB Notification: Performance of SimCode: time 3e-07/0.4169, allocations: 4 kB / 1.331 GB, free: 7.926 MB / 1.029 GB Notification: Performance of Templates: time 0.002976/0.4198, allocations: 427.8 kB / 1.332 GB, free: 7.52 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.sim & ./Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.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.511501125060022]